summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
Commit message (Collapse)AuthorAgeFilesLines
* 2001-02-19 John Moore <jmoore@redhat.com>Michael Chastain2001-02-191-18/+6
| | | | | | * 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.
* 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.
* Restore missing space lost when switching to UI_OUT.Andrew Cagney2001-01-121-1/+1
|
* 2000-12-21 Michael Snyder <msnyder@mvstp600e.cygnus.com>Michael Snyder2000-12-221-2/+9
| | | | | * 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-18 Michael Snyder <msnyder@mvstp600e.cygnus.com>Michael Snyder2000-12-201-24/+24
| | | | | * 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-091-10/+9
| | | | | | | | | * 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-083-0/+327
| | | | | | * 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-053-4/+12
| | | | | | | | | | | * 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-054-12/+28
| | | | | | | | | | | | * 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-281-2/+7
| | | | | | | | * 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.
* * gdb.base/display.exp: Don't kill running stub. Add "again" toNicholas Duffek2000-11-171-13/+14
| | | | the second kill and detach messages.
* * configure.in: Add AC_EXEEXT.Nicholas Duffek2000-11-172-6/+14
| | | | | | | | | | * 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-171-15/+19
| | | | function on all platforms, not just HP-UX.
* 2000-11-03 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2000-11-146-36/+61
| | | | | | | | | | | | | | | | | * 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-141-11/+20
| | | | | | From Orjan Friberg <orjanf@axis.com>: * gdb.base/printcmds.exp: Escape curly braces followed by a number in array print pattern match.
* * gdb.base/callfuncs.c (main): Moved to end of file, callPeter Schauer2000-11-062-15/+107
| | | | | | | 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-241-91/+142
| | | | * gdb.base/commands.exp: Break up long lines, and re-indent.
* 2000-10-16 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2000-10-177-369/+516
| | | | | | | | | | | | | * 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.
* * gdb.base/sizeof.c: include <stdio.h>.Jimmy Guo2000-08-021-0/+2
|
* 2000-07-26 Scott Bambrough <scottb@netwinder.org>gdb-pre-protoization-2000-07-29Scott Bambrough2000-07-283-14/+11
| | | | | | | | * gdb.base/recurse.exp: Run tests for all targets. * gdb.base/so-impl-ld.exp: Added wildcard to handle the gnu-oldld case on ARM. * gdb.base/watchpoint.exp (test_stepping): Clear xfail for ARM targets.
* * gdb.base/exprs.exp: Test casts to a pointer including over andAndrew Cagney2000-07-171-1/+43
| | | | underflow.
* Check that GDB and the C compiler agree about the sizeof a few basic CAndrew Cagney2000-07-132-0/+162
| | | | types.
* Replace jumbo pattern match with gdb_expect_list().Andrew Cagney2000-07-041-6/+34
|
* 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2000-06-191-1/+1
| | | | | * gdb.base/maint.exp: Add 'maint print architecture' item to output of 'help maint print' command.
* Re-do multi-line tests using gdb_expect_list().Andrew Cagney2000-06-181-41/+105
|
* 2000-06-02 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder2000-06-121-5/+10
| | | | | | | * gdb.base/annota1.exp (run until main breakpoint): Loosen up the regular expression: accept an (almost) arbitrary sequence of "frames-invalid" and "breakpoints-invalid" messages both before and after the "starting" message.
* Use ``set remote memory-read-packet-size'' instead of ``set endianAndrew Cagney2000-06-071-4/+4
| | | | big'' in deprecate test.
* 2000-05-18 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder2000-05-241-4/+5
| | | | | * gdb.base/annota1.exp (annotate-signal-handler-caller): Relax the regular expression a little, make it pass on Solaris 8.
* 2000-05-12 Michael Snyder <msnyder@.cygnus.com>Michael Snyder2000-05-171-2/+25
| | | | | | | | | | | * gdb.base/break.exp (bp on small function, optimized file): Add a second pass pattern. The behavior differs here between stabs and dwarf for one-line functions. Stabs preserves two line symbols (one before the prologue and one after) with the same line number, but dwarf regards these as duplicates and discards one of them. Therefore the address after the prologue (where the breakpoint is) has no exactly matching line symbol, and GDB reports the breakpoint as if it were in the middle of a line rather than at the beginning.
* For IA-64, allow ``finish'' to land on caller rather than on next executableKevin Buettner2000-05-131-4/+8
| | | | line after the caller.
* 2000-05-08 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder2000-05-081-1/+1
| | | | | * gdb.base/interrupt.exp: Make "pass" message say "send" rather than "send_gdb" (for consistancy).
* 2000-04-28 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder2000-05-051-0/+2
| | | | | * gdb.base/break.exp: When compiled with -O2 optimization, gdb may not stop at the first line of main, due to code motion.
* 2000-04-26 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder2000-04-273-1/+16
| | | | | | | | * gdb.base/call-ar-st.exp: Bail out if target is sparclet. This test depends on parsing the printf output from the target. Since the sparclet stub doesn't do stdio, this will never work. * gdb.base/call-rt-st.exp: ditto. * gdb.base/call-strs: ditto.
* 2000-04-24 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder2000-04-242-28/+24
| | | | | | | | | | * gdb.base/miscexprs.exp: make sizeof long array test portable. * gdb.base/ending-run.exp: After connecting to a remote target, but before running, the target will appear to be in a random location. Specify both a file and a line for breakpoints. Also, the function that calls main may be called 'init' rather than 'start'.
* 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2000-04-171-1/+1
| | | | * gdb.base/help.exp: Update output for add-symbol-file command.
* 2000-04-10 Fernando Nasser <fnasser@cygnus.com>Fernando Nasser2000-04-101-2/+2
| | | | | From Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
* * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.J.T. Conklin2000-04-081-4/+4
|
* 2000-04-07 J.T. Conklin <jtc@redback.com>J.T. Conklin2000-04-071-2/+2
| | | | * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
* * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-pointPhilippe De Muyter2000-03-302-10/+10
| | | | | | | | | | values that can be represented exactly. * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match above change, and to not check against the directory part of the source file name. (step into print_long_arg_list): Likewise. (print print_small_structs from print_long_arg_list): Likewise. (print print_long_arg_list): Likewise.
* 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2000-03-271-1/+1
| | | | * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
* Revert white space changes.Andrew Cagney2000-03-271-14/+14
|
* Fix maintenance deprecate crash, add testcaseDaniel Berlin2000-03-251-20/+15
|
* * gdb.base/break.exp: Add new test for setting breakpoints onJonathan Larmour2000-03-241-0/+73
| | | | | optimized code so we can test breakpoints work even when function prologues may be optimized away
* 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>Fernando Nasser2000-03-231-0/+28
| | | | | From David Whedon <dwhedon@gordian.com> * gdb.base/commands.exp : Added command deprecator tests.
* Added the apropos commandDaniel Berlin2000-03-231-0/+6
|
* Test suite change for AIX 4.3.Kevin Buettner2000-03-211-20/+13
|
* 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2000-03-142-1/+24
| | | | | | | | | | * eval.c (evaluate_subexp_with_coercion): Add call to check_typedef, to handle typedeffed vars correctly. * gdb.base/printcmds.c: Add typedeffed arrays. * gdb.base/printcmds.exp (test_print_typedef_arrays): New procedure to test arrays that are typedef'd.
* 2000-02-25 Scott Bambrough <scottb@netwinder.org>Scott Bambrough2000-03-091-1/+17
| | | | | | | | * gdb.base/long_long.exp: Correct test suite failure when printing a long long value as a double on ARM platforms. ARM doubles use a hybrid endian format. It is not strictly little or big endian. It is little endian with the words swapped.
* * gdb.base/break.exp ("breakpoint line number"): Make sure theJim Blandy2000-02-161-0/+9
| | | | default source file is set properly before running this test.