aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
AgeCommit message (Collapse)AuthorFilesLines
2001-06-07* gdb.base/return2.exp (main): Use values to test float and doubleJim Blandy1-2/+21
returns that are not NaN's, to avoid being confused by IEEE comparison rules.
2001-06-06* gdb.base/return2.exp (main): Use values to test float and doubleJim Blandy1-0/+6
returns that are not NaN's, to avoid being confused by IEEE comparison rules.
2001-06-062001-06-04 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+12
* gdb.threads/pthreads.exp (check_control_c): Return 0 for success, non-zero if control_c fails. Terminate the test on failure, rather than wait for 12 more tests to time out.
2001-06-06* gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):Jim Blandy2-2/+5
Don't forget to match the GDB prompt.
2001-06-06* gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.Jim Blandy3-6/+10
2001-06-05* gdb.base/help.exp: Update pattern to exclue `print-load-map'Jim Blandy2-1/+6
command.
2001-06-01 * gdb.base/annota1.exp (info break): Match four or more spacesKevin Buettner2-1/+6
after "Address".
2001-05-312001-05-31 Michael Chastain <chastain@redhat.com>Michael Chastain2-4/+11
* gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast. (dm_type_int_star): Likewise. (dm_type_long_star): Likewise. (dm_type_void_star): Likewise.
2001-05-30 * gdb.base/completion.exp (INPUTRC): Set this environment variableKevin Buettner2-14/+26
to a known value in order to get consistent results regardless of the setting of INPUTRC or the presence or contents of .inputrc.
2001-05-252001-05-24 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+29
* gdb.threads/linux-dp.exp: Remove assumptions about thread ordering. Don't require that the main thread and the manager thread are the first in the list.
2001-05-252001-05-24 Michael Snyder <msnyder@redhat.com>Michael Snyder2-4/+7
* gdb.threads/pthreads.exp (test_startup): Relax test for thread debugging. If test fails, issue an "unsupported" not a "fail".
2001-05-25Don't assume that short is shorter than int.Jim Blandy2-3/+15
* gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't assume that shorts are smaller than ints. On a 16-bit machine, this isn't true. ("print unsigned char == (~0)"): Add test that verifies that ~0, an int, is not equal to ~0 stored in an unsigned char. This tests the same thing that the previous test meant to, but works on 16-bit machines, too. ("print unsigned char != (~0)"): Same test, complemented.
2001-05-242001-05-24 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+11
* gdb.threads/pthreads.exp (all_threads_running): Add an explicit test for (full_coverage == 0). This makes the test run faster, and prevents dejagnu getting out of step.
2001-05-242001-05-21 Michael Snyder <msnyder@redhat.com>Michael Snyder2-7/+31
* gdb.base/long_long.exp: Allow for targets with 4-byte short.
2001-05-24 * gdb.base/finish.exp (finish_void): Revise pattern forKevin Buettner2-1/+7
stopping on the call statement to not permit stopping at the start of the instructions comprising the call sequence.
2001-05-232001-05-19 Michael Chastain <chastain@redhat.com>Michael Chastain9-47/+54
* gdb.base/callfuncs.exp: Make all test names unique. * gdb.base/commands.exp: Make all test names unique. * gdb.base/condbreak.exp: Make all test names unique. * gdb.base/dbx.exp: Make all test names unique. * gdb.base/default.exp: Make all test names unique. * gdb.base/define.exp: Make all test names unique. Conform some FAIL and TIMEOUT messages to their corresponding PASS message. * gdb.base/ending-run.exp: Make all test names unique. * gdb.base/long_long.exp: Remove duplicate test.
2001-05-22 * gdb.base/finish.exp (finish_void): Allow "finish" command toKevin Buettner2-0/+13
stop on the call statement as well as the statement after the call.
2001-05-12Add missing entry for change committed on 2001-01-28.Michael Chastain1-0/+22
2001-05-112001-05-10 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-19/+13
* gdb.base/completion.exp: Revamp test. Make it execute on all platforms.
2001-05-11 2001-05-10 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-1/+5
* gdb.base/completion.exp: Revamp test. Make it execute on all platforms.
2001-05-112001-05-11 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2-16/+57
* mi-var-child.exp: Adjust for the fact that now (char *) can be dereferenced.
2001-05-10Fix ChangeLog cut-n-paste error!Elena Zannoni1-2/+6
2001-05-102001-04-12 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-3/+46
* config/gdbserver.exp (gdb_load): Handle the case in which the arguments to gdbserver are given in the baseboard configuration file. Also handle the case in which the server needs to do a load.
2001-05-07 * lib/gdb.exp (gdbtk_initialize_display): New proc which willKeith Seitz2-18/+210
set up the display for testing. (gdbtk_start): Convert all paths to paths that tcl will like. Export target information to environment. (_gdbtk_xvfb_init): New proc to start Xvfb if available and necessary. (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary. (to_tcl_path): New proc to convert a given pathname into a path acceptible as an argument to a tcl command. (_gdbtk_export_target_info): New proc to export target info into the environment for gdbtk testing. (gdbtk_done): New proc to signal end-of-test.
2001-05-07ChangeLog cleanup: move all references to gdbtk stuff to gdb.gdbtk/ChangeLog ↵Keith Seitz1-70/+1
(which has been merged with gdb.gdbtk/ChangeLog-gdbtk).
2001-05-07* restore.c: Make the code of caller0 correspond to its comment.Jim Blandy2-8/+12
2001-05-042001-05-03 Michael Snyder <msnyder@redhat.com>Michael Snyder2-4/+26
* config/sid.exp (gdb_target_sid): Check for error messages. On error or timeout, don't make expect exit (which will terminate all subsequent tests); instead just make gdb exit. (gdb_load): Check for error messages. On error or timeout, return a negative value.
2001-05-042001-01-26 Felix Lee <flee@redhat.com>Michael Snyder2-11/+41
* sid.exp (sid_exit): Pass host, not target, to remote_close. 2001-01-25 matthew green <mrg@redhat.com> * config/sid.exp (sid_start): Call `remote_push_conn' after firing up sid. (sid_exit): Call `remote_pop_conn' after GDB is gone. 2001-01-25 matthew green <mrg@redhat.com> * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.' Deprecate $sid_spawn_id. (sid_exit): Remove code necessary only for `spawn.' 2001-01-25 matthew green <mrg@redhat.com> * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
2001-04-24* gdb.c++/templates.exp: If we see the prompt for the overloadJim Blandy2-0/+5
list, but we haven't recognized any of the longer patterns, arrange for this test to fail, not hang.
2001-04-24* gdb.c++/classes.exp (ptype class A): Tolerate whitespaceJim Blandy2-1/+6
variations.
2001-04-232001-04-22 Michael Chastain <chastain@redhat.com>Michael Chastain4-54/+26
* gdb.c++/local.exp: Use the 'runto' library function. * gdb.c++/namespace.exp: Likewise. * gdb.c++/overload.exp: Likewise.
2001-04-172001-04-17 Michael Snyder <msnyder@redhat.com>Michael Snyder4-17/+17
* breakpoint.c (print_one_breakpoint): Handle 64-bit addresses. * tracepoint.c (tracepoints_info): Handle 64-bit addresses. * testsuite/gdb.trace/deltrace.exp: Allow for 64-bit addresses. * testsuite/gdb.trace/infotrace.exp: Ditto. * testsuite/gdb.trace/passcount.exp: Ditto. * testsuite/gdb.trace/while-stepping.exp: Ditto.
2001-03-27Add new step-line test.Kevin Buettner5-1/+231
2001-03-21* gdb/linespec.c (find_methods): Whitespace differences aren'tJim Blandy2-0/+9
significant in *un*mangled method names. Use strcmp_iw to compare them, not STREQ. (Fix from Daniel Berlin.) * gdb/testsuite/gdb.c++/userdef.exp: Check that GDB tolerates whitespace in unmangled operator names.
2001-03-20* gdb.threads/linux-dp.exp: Recognize an additional messageJim Blandy2-1/+7
generated by GDB when it doesn't understand how to debug threads on the target system.
2001-03-19Document a native system printing output outside of the MI as a knownAndrew Cagney2-1/+16
bug.
2001-03-162001-03-12 Michael Chastain <chastain@redhat.com>Michael Chastain2-20/+11
* gdb.c++/derivation.exp: Use the 'runto' library function.
2001-03-162001-03-12 Michael Chastain <chastain@redhat.com>Michael Chastain2-2/+6
* gdb.c++/annota2.exp: Fix regular expression for "post-query".
2001-03-162001-02-24 Michael Chastain <chastain@redhat.com>Michael Chastain2-77/+39
* gdb.c++/ref-types.exp: Change handwritten code to library function 'runto'.
2001-03-162001-03-16 Orjan Friberg <orjanf@axis.com>Orjan Friberg1-0/+4
* gdb.base/signals.exp: Set count to 0 explicitly.
2001-03-162001-03-16 Orjan Friberg <orjanf@axis.com>Orjan Friberg1-0/+3
* gdb.base/signals.exp: Set count to 0 explicitly.
2001-03-15*** empty log message ***Mark Salter1-0/+2
2001-03-15(gdb_load): Add support for additional target_info: gdb_download_sizeMark Salter1-1/+18
and gdb_load_timeout.
2001-03-15*** empty log message ***Mark Salter1-0/+5
2001-03-15(gdb_target_cmd): Add explicit error return.Mark Salter1-1/+2
(gdb_target_monitor): Add check of gdb_target_cmd return value.
2001-03-08 * gdb.base/annota1.exp: Move test of isnative to earlier in theDavid Taylor6-16/+37
file -- to prevent failing when the compile fails but we have no intention of running the tests anyway. * gdb.base/long_long.exp: Test target_info for no_long_long, skip tests if set. * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte integers. * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true. * gdb.c++/namespace.exp: Ditto. Fix PR gdb/16.
2001-03-072001-03-07 Orjan Friberg <orjanf@axis.com>Orjan Friberg1-0/+5
* gdb.base/pointers.c: Don't assume doubles are >= 8 bytes. * gdb.base/pointers.exp: Relax pattern match of decimals.
2001-03-072001-02-26 Orjan Friberg <orjanf@axis.com>Orjan Friberg2-2/+2
* gdb.base/pointers.c: Don't assume doubles are >= 8 bytes. * gdb.base/pointers.exp: Relax pattern match of decimals.
2001-03-06Update/correct copyright notices.Kevin Buettner205-203/+322
2001-03-05Reverted revision 1.2.Michael Chastain1-23/+1