aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
AgeCommit message (Collapse)AuthorFilesLines
1997-06-13 * gdb.base/funcargs.exp: Remove spurious suppress tests call.Bob Manson1-79/+87
1997-05-22 * gdb.base/watchpoint.exp: Don't run the test_steppingBob Manson1-8/+11
tests if gdb can't call functions on the target.
1997-05-22 * gdb.base/setshow.exp: Don't run the set prompt tests ifBob Manson1-14/+16
the board has gdb_prompt set.
1997-05-20 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".Jeff Law1-1/+1
* gdb.base/commands.exp: Likewise. * gdb.base/setshow.exp: Likewise.
1997-05-06Tue May 6 13:53:05 1997 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-0/+11
* Add overlay tests to gdb.base/.Sanitize
1997-04-09 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):Bob Manson1-2/+9
Don't call gdb_test when the command doesn't return to a gdb prompt. Oops.
1997-04-03Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-14/+18
* gdb.base/help.exp: update help msg for INFO ADDR; add help test for INFO SYMBOL; add help tests for OVERLAY commands. * gdb.base/default.exp: add tests for INFO SYMBOL command; add tests for OVERLAY commands * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays. * gdb.base/sigall.c: add usestubs code frag * gdb.base/watchpoint.c: turn on complex watchpoint test for M32R.
1997-03-29 * config/monitor.exp: Use gdb_serial in preference to serialBob Manson1-5/+9
or netport. * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host and it's not already set. * gdb.base/setshow.exp: Only test the run command if the target isn't using a stub and if it supports argument passing.
1997-03-06 Added and updated copyright notices to testsuite expectBob Manson5-60/+82
scripts.
1997-03-06 * config/monitor.exp(gdb_target_monitor): Add pattern forBob Manson1-14/+14
"Ending remote" to detect errors in connecting. * gdb.base/setshow.exp: Add .* within auto language test.
1997-03-04 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don'tBob Manson1-11/+10
refer to gdb_spawn_id. * config/m32r-stub.exp: Remove references to gdb_spawn_id, no longer used. * config/sparclet.exp: Ditto. * config/sparclet-old.exp: Ditto. * config/slite.exp: Ditto. * config/sim.exp: Ditto. * gdb.base/funcargs.exp: Ditto. * lib/gdb.exp:Remove references to gdb_spawn_id. (gdb_expect): Move to remote.exp.
1997-02-24 * config/vr4300.exp: New file.Bob Manson10-148/+146
* gdb.*/*.exp: Call gdb_expect instead of expect. * lib/gdb.exp(gdb_expect): New function.
1997-02-21 * lib/gdb.exp(gdb_init): New function.Bob Manson1-2/+10
1997-02-20 * gdb.base/exprs.exp(test_expr): Make sure each test gets a uniqueBob Manson1-2/+1
name.
1997-02-20 * gdb.base/scope.exp: Use gdb_test.Bob Manson2-879/+209
* gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're aborting; the testsuite driver will do that for us (see gdb_finish). Also, use gdb_test in a few more places.
1997-02-20 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.Stan Shebs1-9/+8
1997-02-12 * gdb.base/structs.exp: Expect some failures from the mn10200 port.Jeff Law1-0/+7
I don't want to deal with this for the alpha!
1997-02-06 * gdb.base/nodebug.exp: Don't try to do an inferior functionJeff Law3-1/+19
call if the target doesn't support them. * gdb.base/printcmds.exp: Likewise. * gdb.base/setvar.exp: Likewise. * gdb.base/structs.exp: Likewise. * gdb.c++/templates.exp: Likewise. * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff. * gdb.base/recurse.exp: Enable for the mn10200. * configure.in: Do configure gdb.stabs directory for *-*-elf targets. * configure: Rebuilt.
1997-02-06 * gdb.base/break.exp: Check for gdb,noresults before testingJeff Law1-8/+5
exit status and/or results from the target. * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise. * lib/gdb.exp: Remove old (now bogus) initialization of noinferior, noargs, noresults and nosignals. More cleanups for new testing framework.
1997-02-05 * config/sh.exp: New file.Bob Manson2-4/+6
* config/slite.exp: Try to connect multiple times to the board before rebooting. Only send a "monitor run" if need_monitor_run is set. * gdb.base/break.exp: Don't do the "stub continue" test if the target has gdb_stub set. * gdb.base/callfuncs.exp: Increase the timeout. * gdb.base/interrupt.exp: Don't even try to compile the testcase if the target has gdb,noinferiorio set. * gdb.base/list.exp: Increase match_max to 10000 characters. * gdb.base/sigall.exp: Check for gdb,nosignals on the target. * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the target. * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs. Misc fixes for sparclite and SH.
1997-02-03 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit beforeBob Manson1-5/+4
trying to delete the copy of gdb. Catch the file delete so we don't die if the delete fails; also, the file should be copied to the host, not to the build. Fixes problems when gdb isn't built with debugging.
1997-02-03 * lib/gdb.exp(gdb_test): Surround the result pattern withBob Manson2-122/+50
parenthesis in case it contains multiple regexps separated with |. Fixes last nights native failures. * gdb.base/watchpoint.exp: Use gdb_test. * gdb.base/default.exp: Ditto. More improvements.
1997-02-02 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.Bob Manson15-412/+412
* gdb.base/scope.exp: Use gdb_test. * gdb.c++/classes.exp: Ditto. * gdb.c++/inherit.exp: Ditto. More random cleanups. Still lots to go, however.
1997-01-31 * gdb.base/crossload.exp: Don't use execute_anywhere, useBob Manson3-9/+8
remote_exec instead. * gdb.base/corefile.exp: Don't be ridiculous. * gdb.base/*.c: Add missing stub invocations. Fixes failures on HP-UX.
1997-01-31 * lib/gdb.exp: Fix runto.Bob Manson2-5/+5
* gdb.base/signals.exp: Check for a gdb,nosignals feature of the target. * gdb.base/watchpoint.exp: Fix regexp. Random miscellaneous fixes. Gotta dig up all these global variables someday..
1997-01-29Major revision to testsuites for cross-testing and DOS testing support.Bob Manson29-10421/+2078
1996-11-27Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-6/+12
* gdb.base/callfuncs.exp: Turn on function call tests for h8300. * gdb.base/default.exp: ditto. * gdb.base/nodebug.exp: ditto. * gdb.base/printcmds.exp: ditto. * gdb.base/ptype.exp: ditto. * gdb.base/setvar.exp: ditto. * gdb.base/structs.exp: ditto. * gdb.base/setshow.c: Guard against uninitialized values of argc.
1996-11-26 * configure, */configure: Rebuild with autoconf 2.12.Ian Lance Taylor1-23/+89
1996-11-23 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails toFred Fish1-1/+1
use new i*86-pc-linux*-gnu quads. * gdb.base/corefile.exp: Ditto. * gdb.base/signals.exp: Ditto. * gdb.base/sigall.exp: Ditto. * gdb.base/interrupt.exp: Ditto. * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail "i*86-*-linux" for "signal SIGUSR1". Now works, at least with RedHat 4.0. * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is linux. This allows the test case to at least compile on latest linux, but still not run due to missing the threads runtime library.
1996-11-22 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize sourcePeter Schauer1-3/+22
directory to search gdb directory. Accept and step over conditional stack alignment code. Consume $prompt in failure cases. Reset timeout to $oldtimeout instead of some arbitrary value. * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid timeout problems with infinite stack backtraces. * gdb.base/ptype.exp (ptype struct link, union tu_link): Accept function parameters for linkfunc member.
1996-11-05Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2-25/+32
* gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp list.exp scope.exp watchpoint.exp] Make all timeout error msgs explicitly say "(timeout)". * config/monitor.exp: Increase download timeout to 1000 seconds. * config/m32r.exp: Increase timeout to 120 seconds.
1996-11-01 * gdb.base/coremaker.c: Add code to mmap some data so weFred Fish1-9/+33
can check that it ends up in the core file. * gdb.base/corefile.exp: Add test to read mmapped data from core file.
1996-10-21PR 8511, keep new test casesMichael Snyder1-0/+2
1996-10-21 * gdb.base/setshow.exp: New file, tests show and set.Michael Snyder1-0/+16
* gdb.base/setshow.c: New file, tests show and set. * gdb.base/help.exp: Add test for help set|show annotate. * gdb.base/default.exp: Add test for set|show annotate. PR 8511
1996-10-17 * testsuite/gdb.base/break.exp: Make backtrace from factorialStu Grossman1-4/+14
errors unique. * testsuite/gdb.base/nodebug.exp: Whack out all -g options explicitly. * v850-tdep.c (v850_init_extra_frame_info v850_frame_chain): Fix sign bugs with scanning prologues. Get a little smarter about calculating the length of uninteresting instructions.
1996-10-01 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail forFred Fish1-0/+48
"p func1 ()" and note that rests of tests are skipped. * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux* setup_xfails for "print func2::coremaker_local". Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp". * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't affected by the previous run test. * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for "print array () ubyte (foo)" and "print/x array () byte (\$i)" * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for "pass int powerset tuple" and "pass modeless int powerset tuple". * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for "real write 4" and "real write 8". * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux* setup_xfails for "print vs1 after tuple assign 2", "print \$i after tuple assign 2", and "print vs2 after tuple assign 2". * lib/gdb.exp (gdb_test): When a gdb aborts, print a more meaningful error message and return -1 so the caller can suppress further tests and avoid a cascade of errors.
1996-09-27 * gdb.base/a1-selftest.exp: Tweak tests to account for newFred Fish1-1/+9
format for printing version. * gdb.base/default.exp: Ditto. * gdb.base/interrupt.exp: Fix problem with cascade of errors if child process dies while calling a function.
1996-08-12 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine toFred Fish3-253/+126
encapsulate all the steps/nexts done during self test, starting at main, and makes them less sensitive to optimization issues. Add "hppa*-*-hpux*" to setup_xfail for "backtrace through signal handler" test. * gdb.threads/pthreads.exp: Only run this for native configs. * gdb.base/signals.exp (test_handle_all_print): Remove code that increased timeouts, it now makes no difference. * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*" setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8" tests. gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail for "runto test_calls(void)" test.
1996-08-09 * gdb.base/structs.exp: New tests for passing and returningJeff Law3-0/+362
structures. * gdb.base/structs.c: C source for test. Sanitized away until we've got a valid copyright assignment from Michael Snyder. Only tested on the PA. I assume other ports will needs some xfails and other possible testsuite tweakage.
1996-08-07 * gdb.base/list.exp (test_forward_search): Fix to handle veryFred Fish1-1/+2
long source line without overflowing expect's input buffer.
1996-08-06 * gdb.base/signals.exp (test_handle_all_print): Test separately forFred Fish2-7/+262
each signal's status in the output of "handle all print". * lib/gdb.exp (gdb_test): Document that the pattern must NOT include the \r\n sequence that immediately precedes the gdb prompt. * gdb.base/a1-selftest.exp: Save original timeout and restore after test.
1996-06-28 * gdb.base/signals.exp (test_handle_all_print): Temporarily increaseFred Fish1-2/+5
timeout by 60 seconds.
1996-06-26 * lib/gdb.exp: Report timeout value for verbosity level 2.Fred Fish3-11/+18
* config/gdbserver.exp: Ditto. * config/hppro.exp: Ditto. * config/mips-gdb.exp: Ditto. * config/monitor.exp: Ditto. * config/netware.exp: Ditto. * config/sim-gdb.exp: Ditto. * config/slite-gdb.exp: Ditto. * config/udi-gdb.exp: Ditto. * config/unix-gdb.exp: Ditto. * config/vx-gdb.exp: Ditto. * gdb.base/a1-selftest.exp: Ditto. * gdb.base/a2-run.exp: Ditto. * gdb.base/break.exp: Ditto. * gdb.base/corefile.exp: Ditto. * gdb.base/list.exp: Ditto. * gdb.base/recurse.exp: Ditto. * gdb.base/scope.exp: Ditto. * gdb.base/signals.exp: Ditto.
1996-06-25 * configure.in (AC_PREREQ): autoconf 2.5 or higher.Jason Molenda2-5/+5
* gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to @srcdir@. * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ): autoconf 2.5 or higher. * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
1996-05-23 * gdb.base/callfuncs.exp: Remove the compiler info file prior toFred Fish1-11/+18
attempting to regenerate it. Eliminate use of a temporary file and just generate the info file directly. Source it immediately, for consistency of use. * gdb.base/corefile.exp: Ditto * gdb.base/exprs.exp: Ditto. * gdb.base/funcargs.exp: Ditto. * gdb.base/langs.exp: Ditto. * gdb.base/list.exp: Ditto. * gdb.base/mips_pro.exp: Ditto. * gdb.base/nodebug.exp: Ditto. * gdb.base/opaque.exp: Ditto. * gdb.base/ptype.exp: Ditto. * gdb.base/scope.exp: Ditto. * gdb.base/setvar.exp: Ditto. * gdb.base/signals.exp: Ditto. * gdb.base/whatis.exp: Ditto. * gdb.c++/templates.exp: Ditto. * gdb.c++/virtfunc.exp: Ditto. * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide whether or not to add -lstdc++ to the compile command line args.
1996-03-28Note that failures under linux for backtrace through signal handlerFred Fish1-0/+4
are not consistent among different systems, or even the same system.
1996-03-25Revert use of autoconf 2.9, it was causing too many regressions.Fred Fish1-4/+4
1996-03-24 * configure, testsuite/configure, testsuite/gdb.base/configure,Fred Fish1-17/+145
testsuite/gdb.c++/configure, testsuite/gdb.chill/configure, testsuite/gdb.disasm/configure, testsuite/gdb.stabs/configure: Regenerated with autoconf 2.9.
1996-03-20 * gdb.base/corefile.exp: Always regenerate the core file, sinceFred Fish1-35/+44
we always regenerate the coremaker program. Detect special case where registers cannot be read from core file. Change setup_xfail for "print func2:coremaker_local" and "backtrace in corefile.exp" to fail for all i*86 targets.
1996-03-16 * gdb.base/break.exp: Fix pattern for matching "Delete allFred Fish2-31/+53
breakpoints (y or n) ". Add "mips-dec-ultrix*" to setup_xfail for deleting all breakpoints test. Fix various timeout messages to include "(timeout)". * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail for "p t_float_values2(3.14159,float_val2)". * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail for "continue to call2g" when gcc compiled. * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for "up to foo in langs.exp", "show language at foo in langs.exp", "show language at cppsub_ in langs.exp", "up to fsub in langs.exp", and "show language at fsub in langs.exp". * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for "list line 1 in include file", "list message for lines past EOF", "list function in include file", "list list0.h:foo", and "list filename:function; nonexistant function". * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and "ptype t_char_array" to be for native cc only.