aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
AgeCommit message (Collapse)AuthorFilesLines
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
2001-03-05Revert revisions 1.81, 1.82, 1.83, 1.84, and 1.85.Michael Chastain1-173/+6
2001-03-04Obvious fix: in an entry for 1997-02-01, expand wildcard to explicitMichael Chastain1-1/+49
list of files actually modified.
2001-03-04Obvioux fix: in an entry for 1997-06-29, expand wildcard to explicitMichael Chastain1-1/+40
list of files actually modified.
2001-03-04Obvious fix: in an entry for 1997-09-10, expand wildcard to explicitMichael Chastain1-1/+23
list of files actually modified.
2001-03-04Obvious fix. Add missing ChangeLog entry for gdb.c++/ovldbreak.expMichael Chastain1-0/+22
change on 2001-01-28. Embarrassing!
2001-03-04Obvious fix: in an entry for 2001-02-11, change "gdb.base/cplusfuncs.exp"Michael Chastain1-1/+1
to "gdb.c++/cplusfuncs.exp".
2001-03-04Obvious fix: in an entry for 1997-02-23, expand wildcard to explicitMichael Chastain1-3/+61
list of files actually modified.
2001-03-01[fix my email address in changelog entries]Michael Snyder1-39/+39
2001-02-282001-02-27 Michael Snyder <msnyder@mvstp600e.cygnus.com>Michael Snyder2-1/+6
* gdb.base/varargs.c (find_max_double): Fix printf format string: first arg is int not float.
2001-02-232001-02-22 Michael Snyder <msnyder@mvstp600e.cygnus.com>Michael Snyder2-10/+22
* gdb.base/reread.exp: Unsupported for non-native targets; doesn't work for remote debugging.
2001-02-192001-02-19 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2-1/+10
From Drew Moseley <dmoseley@redhat.com> * gdb.base/ending-run.exp: Properly handle the BSP state when stepping past the end of main.
2001-02-192001-02-19 John Moore <jmoore@redhat.com>Michael Chastain2-18/+12
* gdb.base/commands.exp (infrun_breakpoint_command_test): Converted HPUX fix for non-expected items following multiple step commands into general solution for all platforms.
2001-02-182001-02-18 Michael Chastain <chastain@redhat.com>Michael Chastain3-5/+13
* gdb.c++/classes.exp (do_tests): Change runto statements from "runto 'foo(void)'" to "runto 'foo'". This makes the statements demangler agnostic. * gdb.c++/virtfunc.exp (do_tests): Likewise. (gdb_virtfunc_restart): Likewise.
2001-02-182001-02-14 Michael Chastain <chastain@redhat.com>Michael Chastain2-3/+9
* gdb.c++/inherit.exp (do_tests): Change runto statements from "runto 'foo(void)'" to "runto 'foo'". This makes the statements demangler agnostic.
2001-02-15Make thread messages more consistent in pass/fail cases.Andrew Cagney2-6/+19
2001-02-142001-02-11 Michael Chastain <chastain@redhat.com>Michael Chastain3-161/+428
* gdb.c++/cplusfuncs.cc (dm_type_char_star): New function. Helps the test script figure out which demangler is in use. (dm_type_foo_ref): Ditto. (dm_type_int_star): Ditto. (dm_type_long_star): Ditto. (dm_type_unsigned_int): Ditto. (dm_type_void): Ditto. (dm_type_void_star): Ditto. * gdb.base/cplusfuncs.exp (probe_demangler): New function. Probe the gdb demangler and set variables to accommodate formatting differences. (info_func_regexp): New function. Same as info_func, but matches against a regexp. (info_func): Match against a literal string. (print_addr_2): New function. Match against a literal string, which can be different from the input to gdb. (print_addr): Simply call print_addr_2 with the same argument twice. (test_lookup_operator_functions): Use demangler formatting variables. Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort the tests in the same order as the C++ class declaration. (test_paddr_operator_functions): Ditto. (test_paddr_overloaded_functions): Ditto. (test_paddr_hairy_functions): Use demangler formatting variables. Add reference to gdb/19 for related tests. (do_tests): Call probe_demangler.
2001-01-30Replace blanked lines from earlier commit with comment stating thatKevin Buettner1-3/+3
the reason why the space is empty.
2001-01-30Remove unused printf() definition.Kevin Buettner2-4/+8
2001-01-30Removed files structs3.c structs3.exp.Michael Chastain2-112/+0
These were added by accident. Whoops!
2001-01-302001-01-29 Michael Chastain <chastain@redhat.com>Michael Chastain2-0/+112
* symtab.c (block_lookup_symbol): Use 'namespace' parameter in symbol comparisons in binary search.
2001-01-282001-01-28 Michael Chastain <chastain@redhat.com>Michael Chastain1-428/+194
* gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc to call when tests fail. It takes gdb out of the overloaded function choice menu back to the main prompt, so that the test program stays synchronized. (set_bp_overloaded): New proc to collect all the common code for setting a breakpoint on an overloaded name. Calls take_gdb_out_of_choice_menu when needed. (menu_overload1arg): New variable to collect the repeated instances of the expected menu for an overloaded name. Change the regular expression to handle changes in g++ type encoding: "void" can be either "void" or "", and "unsigned int" can be either "unsigned int" or "unsigned". (continue_to_bp_overloaded): Change regular expressions to handle changes in g++ type encoding. (no proc): Call take_gdb_out_of_choice_menu when needed. Remove redundant calls to "info break". Accept either "canceled" or "cancelled". Change regular expressions in "info break" calls to handle changes in g++ type encoding. Give all tests unique strings.
2001-01-21* mi-support.exp (mi_gdb_start): Skip mi tests if -i flag isMark Kettenis2-0/+11
recognized (i.e. if GDB was compiled with UI_OUT, but the mi interpreter wasn't recognized (because it wasn't compiled in).
2001-01-162001-01-17 Ben Elliston <bje@redhat.com>Ben Elliston2-0/+192
* config/sid.exp: New file.
2001-01-12Restore missing space lost when switching to UI_OUT.Andrew Cagney2-1/+5
2000-12-222000-12-21 Michael Snyder <msnyder@mvstp600e.cygnus.com>Michael Snyder2-2/+14
* gdb.base/finish.exp: Accept '1' instead of \001 from char_func. Add a RE to accept a non-ascii char if one is ever presented.
2000-12-20Fix typo on last entry.Fernando Nasser1-2/+1
2000-12-202000-12-20 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2-1/+6
* Makefile.in (UIOUT_CFLAGS): New macro. CFLAGS needed for uiout code to be compiled. Defines UI_OUT. (SUBDIR_MI_CFLAGS): Defines MI_OUT, not UI_OUT. (INTERNAL_WARN_CFLAGS): Also include UIOUT_CFLAGS. * configure.in (UIOUT_CFLAGS): New configuration variable. (--with-uiout): New configuration option. Causes uiout code to be compiled, instead of the old *printf one. * configure: Regenerate. * top.c (print_gdb_version): Test for and print MI_OUT, not UI_OUT. * testsuite/lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
2000-12-202000-12-18 Michael Snyder <msnyder@mvstp600e.cygnus.com>Michael Snyder2-24/+29
* gdb.base/setvar.exp: Use double '\\' to quote curly braces in regexp. One '\' does not suffice on Linux.