summaryrefslogtreecommitdiff
path: root/gdb/testsuite
Commit message (Collapse)AuthorAgeFilesLines
* * gdb.base/annota1.exp: Move test of isnative to earlier in theDavid Taylor2001-03-086-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-07 Orjan Friberg <orjanf@axis.com>Orjan Friberg2001-03-071-0/+5
| | | | | * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes. * gdb.base/pointers.exp: Relax pattern match of decimals.
* 2001-02-26 Orjan Friberg <orjanf@axis.com>Orjan Friberg2001-03-072-2/+2
| | | | | * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes. * gdb.base/pointers.exp: Relax pattern match of decimals.
* Update/correct copyright notices.Kevin Buettner2001-03-06205-203/+322
|
* Reverted revision 1.2.Michael Chastain2001-03-051-23/+1
|
* Revert revisions 1.81, 1.82, 1.83, 1.84, and 1.85.Michael Chastain2001-03-051-173/+6
|
* Obvious fix: in an entry for 1997-02-01, expand wildcard to explicitMichael Chastain2001-03-041-1/+49
| | | | list of files actually modified.
* Obvioux fix: in an entry for 1997-06-29, expand wildcard to explicitMichael Chastain2001-03-041-1/+40
| | | | list of files actually modified.
* Obvious fix: in an entry for 1997-09-10, expand wildcard to explicitMichael Chastain2001-03-041-1/+23
| | | | list of files actually modified.
* Obvious fix. Add missing ChangeLog entry for gdb.c++/ovldbreak.expMichael Chastain2001-03-041-0/+22
| | | | change on 2001-01-28. Embarrassing!
* Obvious fix: in an entry for 2001-02-11, change "gdb.base/cplusfuncs.exp"Michael Chastain2001-03-041-1/+1
| | | | to "gdb.c++/cplusfuncs.exp".
* Obvious fix: in an entry for 1997-02-23, expand wildcard to explicitMichael Chastain2001-03-041-3/+61
| | | | list of files actually modified.
* [fix my email address in changelog entries]Michael Snyder2001-03-011-39/+39
|
* 2001-02-27 Michael Snyder <msnyder@mvstp600e.cygnus.com>Michael Snyder2001-02-282-1/+6
| | | | | * gdb.base/varargs.c (find_max_double): Fix printf format string: first arg is int not float.
* 2001-02-22 Michael Snyder <msnyder@mvstp600e.cygnus.com>Michael Snyder2001-02-232-10/+22
| | | | | * gdb.base/reread.exp: Unsupported for non-native targets; doesn't work for remote debugging.
* 2001-02-19 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2001-02-192-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-19 John Moore <jmoore@redhat.com>Michael Chastain2001-02-192-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-18 Michael Chastain <chastain@redhat.com>Michael Chastain2001-02-183-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-14 Michael Chastain <chastain@redhat.com>Michael Chastain2001-02-182-3/+9
| | | | | | * gdb.c++/inherit.exp (do_tests): Change runto statements from "runto 'foo(void)'" to "runto 'foo'". This makes the statements demangler agnostic.
* Make thread messages more consistent in pass/fail cases.Andrew Cagney2001-02-152-6/+19
|
* 2001-02-11 Michael Chastain <chastain@redhat.com>Michael Chastain2001-02-143-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.
* Replace blanked lines from earlier commit with comment stating thatKevin Buettner2001-01-301-3/+3
| | | | the reason why the space is empty.
* Remove unused printf() definition.Kevin Buettner2001-01-302-4/+8
|
* Removed files structs3.c structs3.exp.Michael Chastain2001-01-302-112/+0
| | | | These were added by accident. Whoops!
* 2001-01-29 Michael Chastain <chastain@redhat.com>Michael Chastain2001-01-302-0/+112
| | | | | * symtab.c (block_lookup_symbol): Use 'namespace' parameter in symbol comparisons in binary search.
* 2001-01-28 Michael Chastain <chastain@redhat.com>Michael Chastain2001-01-281-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.
* * mi-support.exp (mi_gdb_start): Skip mi tests if -i flag isMark Kettenis2001-01-212-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-17 Ben Elliston <bje@redhat.com>Ben Elliston2001-01-162-0/+192
| | | | * config/sid.exp: New file.
* Restore missing space lost when switching to UI_OUT.Andrew Cagney2001-01-122-1/+5
|
* 2000-12-21 Michael Snyder <msnyder@mvstp600e.cygnus.com>Michael Snyder2000-12-222-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.
* Fix typo on last entry.Fernando Nasser2000-12-201-2/+1
|
* 2000-12-20 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2000-12-202-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-18 Michael Snyder <msnyder@mvstp600e.cygnus.com>Michael Snyder2000-12-202-24/+29
| | | | | * gdb.base/setvar.exp: Use double '\\' to quote curly braces in regexp. One '\' does not suffice on Linux.
* 2000-12-09 Michael Chastain <chastain@redhat.com>Michael Chastain2000-12-092-10/+18
| | | | | | | | | * gdb.base/break.exp (test_clear_command): Use a marker function rather than 'main' for the test function. Also move this test to an execution point where the marker function names are guaranteed to be bound to functions. (Executing tests after a 'finish' from main runs into name conflicts with local names in __libc_start_main).
* 2000-12-07 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2000-12-084-0/+333
| | | | | | * gdb.base/finish.exp: New test for gdb's "finish" command. * gdb.base/return2.exp: New test for gdb's "return" command. * gdb.base/return2.c: New source file for above.
* 2000-12-05 Michael Snyder <msnyder@mvstp600e.cygnus.com>Michael Snyder2000-12-059-13/+50
| | | | | | | | | | | * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds. * gdb.base/miscexprs.exp: Ditto. * gdb.base/pointers.exp: Ditto. * gdb.c++/derivation.exp: Ditto. * gdb.c++/local.exp: Ditto. * gdb.c++/namespace.exp: Ditto. * gdb.c++/overload.exp: Ditto. * gdb.c++/ref-types.exp: Ditto.
* 2000-12-05 Michael Snyder <msnyder@mvstp600e.cygnus.com>Michael Snyder2000-12-0510-22/+63
| | | | | | | | | | | | * gdb.base/constvars.exp: Test result of "up" command. * gdb.base/miscexprs.exp: Ditto. * gdb.base/pointers.exp: Ditto. * gdb.base/scope.exp: Ditto. * gdb.c++/derivation.exp: Ditto. * gdb.c++/local.exp: Ditto. * gdb.c++/namespace.exp: Ditto. * gdb.c++/overload.exp: Ditto. * gdb.c++/ref-types.exp: Ditto.
* 2000-11-22 Michael Chastain <chastain@redhat.com>Fernando Nasser2000-11-282-2/+15
| | | | | | | | * mips_pro.exp: Accept either "middle -> top -> main" or "middle -> main" in the backtrace, because gcc can optimize tail calls to jumps. Remove setup_xfail for the hppa case. Add a comment with the original warning messages from PR 3016, which was filed in 1993, to preserve them for posterity.
* * lib/gdb.exp (gdb_test): Override timeout with board info.Nicholas Duffek2000-11-172-4/+12
|
* * gdb.base/display.exp: Don't kill running stub. Add "again" toNicholas Duffek2000-11-172-13/+19
| | | | the second kill and detach messages.
* * configure.in: Add AC_EXEEXT.Nicholas Duffek2000-11-177-6/+137
| | | | | | | | | | * configure: Regenerate. * Makefile.in (just-check): Export EXEEXT. * lib/gdb.exp ($EXEEXT): Import from environment. * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't expect "maint dump-me" on Cygwin. * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append $EXEEXT.
* * gdb.base/break.exp: Test backtrace and finish from calledNicholas Duffek2000-11-172-15/+24
| | | | function on all platforms, not just HP-UX.
* 2000-11-03 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2000-11-142-42/+61
| | | | | | * config/monitor.exp (gdb_target_cmd): Abstracts some of the code from gdb_target_monitor, so it can be used independantly for gdbserver. Also comment out an unnecessary PUTS.
* 2000-11-03 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2000-11-147-36/+78
| | | | | | | | | | | | | | | | | * gdb.base/a2-run.exp: Use gdb_skip_stdio_test. * gdb.base/corefile.exp: Expect the message "Program is being debugged already" when we send the "corefile" command, since the preceeding gdb_load may have connected gdb to a remote target. * gdb.base/display.exp: Disable hardware watchpoints if new board info variable "no_hardware_watchpoints" is true. Replace single-letter commands with more readable ones. * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints if new board info variable "no_hardware_watchpoints" is true. * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests to see if stdio (printf) testing is possible. * gdb.base/watchpoint.exp: Disable hardware watchpoints if new board info variable "no_hardware_watchpoints" is true. Use new proc "gdb_skip_stdio_tests" to see if printf tests are possible.
* 2000-11-13 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2000-11-142-11/+26
| | | | | | From Orjan Friberg <orjanf@axis.com>: * gdb.base/printcmds.exp: Escape curly braces followed by a number in array print pattern match.
* 2000-11-09 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2000-11-093-8/+15
| | | | | | | * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh spelling "cancelled" to U.S. spelling "canceled" to match changes made to gdb. * gdb.c++/ovldbreak.exp: Ditto.
* * gdb.base/callfuncs.c (main): Moved to end of file, callPeter Schauer2000-11-063-15/+115
| | | | | | | t_double_values to initialize the FPU before inferior calls are made. * gdb.base/callfuncs.exp: Test for register preservation after calling inferior functions. Add tests for continuining, finishing and returning from a stop in a call dummy.
* 2000-10-24 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2000-10-242-91/+146
| | | | * gdb.base/commands.exp: Break up long lines, and re-indent.
* 2000-10-19 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2000-10-192-71/+147
| | | | | | * config/gdbserver.exp: Rewritten from the ground up, to make it compatible with the current dejagnu tree, and to make it work with the new "gdbserver" in libremote.
* 2000-10-16 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2000-10-179-369/+559
| | | | | | | | | | | | | * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if no floating point support. (gdb_skip_stdio_test): New proc. Skip test if no stdio support. * gdb.base/call-ar-st.exp: Use above procs to skip tests. * gdb.base/call-rt-st.exp: Ditto. * gdb.base/call-strs.exp: Ditto. * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support. * gdb.base/varargs.exp: Skip entire test if no printf support. * gdb.base/ending-run.exp (Step to return): Skip if no printf supt. * gdb.base/shlib-call.exp: Skip several tests if no printf support.