aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
AgeCommit message (Collapse)AuthorFilesLines
1997-02-12Revert last structs.exp change -- I found the problem.Jeff Law1-2/+0
1997-02-12 * config/udi.exp: Use mondfe,name instead of remote_host.Bob Manson2-1/+5
remote_host is a bad naming choice.
1997-02-12 * gdb.base/structs.exp: Expect some failures from the mn10200 port.Jeff Law2-0/+9
I don't want to deal with this for the alpha!
1997-02-11 * gdb.base/watchpoint.exp: Don't expect a failure when callingJeff Law1-0/+3
a function with a watchpoint enabled on the mn10200.
1997-02-11 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't existJeff Law1-0/+5
before trying to create it!
1997-02-11 * config/vx.exp: Use hostname instead of netport.Bob Manson2-0/+13
* config/vxworks.exp: New file. * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id. * config/monitor.exp(gdb_target_monitor): Look for a prompt from gdb before assuming everything worked. Send a ^C if a timeout occurs. Random fixes for vxworks and d10v.
1997-02-11 * lib/gdb.exp(gdb_test): Check the result of send_gdb. UseBob Manson2-13/+22
$gdb_spawn_id directly. Checking for errors actually helps. *sigh*
1997-02-10 * gdb.base/exprs.exp: Delete bogus/incorrect (and probablyJeff Law1-0/+3
redundant) test.
1997-02-10 * gdb.base/recurse.exp: Relax final value test for 'b' so thatJeff Law1-0/+5
it doesn't lose for 16bit integer systems.
1997-02-07 * gdb.fortran/types.exp: If the target doesn't support "double"Jeff Law1-0/+3
data types, then expect "real" types to only be 4 bytes.
1997-02-07 * gdb.c++/virtfunc.exp: Expect failure for virtual functionJeff Law1-0/+3
call tests if the target doesn't support inferior function calls.
1997-02-07 * gdb.base/printcmds.exp: Allow minor deviation in FP valuesJeff Law1-0/+5
in printf tests.
1997-02-06 * gdb.base/help.exp: Disable "help set", "help show", andJeff Law1-0/+3
"help support". Simplify regexp for "help stack". They're causing timeouts, overruns, etc again.
1997-02-06 * gdb.base/default.exp: Set match_max to 5000 and the timeoutJeff Law1-0/+4
to 60 seconds. Temporarily set match_max to 15000 around the "info copying" test. Fixes timeout/overflow problems for hpux10.20 hosted toolchains.
1997-02-06 * gdb.base/nodebug.exp: Don't try to do an inferior functionJeff Law5-1/+34
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 Law3-24/+13
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 Manson5-10/+22
* 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-05 * config/sh.exp: New file.Bob Manson1-0/+25
* 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 Manson2-5/+11
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 Manson4-124/+61
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 Manson59-662/+670
* 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 Manson6-19/+28
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 Miscellaneous fixes for config/slite.exp.Bob Manson2-17/+22
1997-01-31 Oops. goes with previous checkin.Bob Manson1-0/+7
1997-01-31 * lib/gdb.exp: Fix runto.Bob Manson3-5/+6
* 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-31 * lib/gdb.exp(default_gdb_exit): Add a catch to theBob Manson2-3/+9
close and wait commands, as the descriptor may now be invalid. Always call "remote_close host". Makes sure things get cleaned up if gdb dies in the middle of a test.
1997-01-29Major revision to testsuites for cross-testing and DOS testing support.Bob Manson90-11978/+5017
1996-11-27Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2-6/+23
* 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 Taylor5-108/+407
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-23 * misc.exp: Change x86 linux setup_xfails to use newFred Fish5-10/+23
i*86-pc-linux*-gnu quads. * tuples.exp: Ditto. * tests2.exp: Ditto. * pr-5016.exp: Ditto. * tuples.exp: Add i*86-pc-linux-gnu setup_fail to existing xfails for 'set var vs1 := [ "bar", 42, m_ps[ a ] ]', 'set var $i := m_s1["foo", 44, m_ps[a ]]', and 'set var vs2 := [ 10+3, m_s1[ "foo" , 42, m_ps[ b ]]]'.
1996-11-22 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize sourcePeter Schauer2-3/+33
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-21 * lib/gdb.exp (CFLAGS): Remove, unreferenced.Fred Fish1-0/+19
(CXXFLAGS): Remove, unreferenced. (B_OPTIONS): Add for -B options and add code to initialize with previous -B options and also add -B option to pick up cross compiled runtime. (TARGET_INCLUDES): Add for -I options and add code to initialize when doing cross compiles. (target_alias): Declare global. (xgcc): Set variable to full path of gcc in build tree. Use findfile to verify that gcc exists in build tree, and if so set CC to that gcc and to use B_OPTIONS and TARGET_INCLUDES.
1996-11-11 * gdb.base/funcargs.c: Use cast rather than "UL" suffix toJeff Law1-0/+5
force argument to an unsigned long type. From Peter Schauer.
1996-11-11 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptypeFred Fish1-0/+17
tests and anonymous union print/ptype tests. * gdb.base/list.exp (test_forward-search): Increase timeout by 5 minutes for the "search extremely long line" case. * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is completely optional and that the pass/fail messages use the command as the message if that third arg is a null string. (gdb_test_exact): Arrange that a null string pattern means match a null string output rather than any output, which might include random errors. * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for backtrace test. * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was always failing and failure is now exposed by gdb.exp changes.
1996-11-11 * callch.exp: Add mips*-sgi-irix* xfail forFred Fish4-41/+52
"call king(a, otto[[10, 15], [20, 25]])". * pr-8742.exp: Add mips*-sgi-irix* xfails for "pass int powerset tuple" "pass set powerset tuple" "pass modeless int powerset tuple" and "pass modeless set powerset tuple". * tuples.exp: Add sparc-*-solaris* and sparc-*-sunos* xfails for several "set var" commands that are failing. Convert most of the set commands into gdb_test_exact commands.
1996-11-09 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes thatFred Fish1-0/+5
weren't being noted.
1996-11-09 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.Peter Schauer1-1/+6
* gdb.stabs/weird.exp: Remove v_comb xfails.
1996-11-05Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder3-26/+52
* 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-04Fix problems introduced in last change (two "Do-first" lines).Jeff Law1-6/+0
1996-11-03 * gdb.c++/classes.exp: Modify to handle current gcc C++ member orderingFred Fish1-0/+7
and accept older ordering as obsolescent gcc or gdb. * gdb.c++/templates.exp: Ditto. * gdb.c++/virtfunc.exp: Ditto.
1996-11-01 * gdb.base/coremaker.c: Add code to mmap some data so weFred Fish2-9/+40
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-31Filter changes for m32r target.Michael Snyder2-0/+43
1996-10-31Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2-0/+19
* config/m32r.exp: New 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 Snyder2-0/+23
* 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-15 * config/sim-gdb.exp (gdb_target_sim): Remove setting of heightStu Grossman2-8/+17
and width commands. This is done elsewhere. * (gdb_start): Don't call gdb_start_sim here. That's already done in gdb_load. This fixes lots of failures in default.exp.
1996-10-12 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.Fred Fish1-0/+9
(distclean maintainer-clean realclean): No need to remove files twice. Nuke the duplicates. * gdb.base/Makefile.in (EXECUTABLES): Add "structs". * gdb.threads/Makefile.in (distclean maintainer-clean realclean): Remove config.h along with other config files.
1996-10-11 * expstruct.exp (objfile2): Set and use, like other chill tests.Fred Fish5-8/+19
* pr-4975.exp: Ditto. * pr-5646.exp: Ditto. * pr-8134.exp: Ditto.