aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
AgeCommit message (Collapse)AuthorFilesLines
1996-10-01 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail forFred Fish7-6/+116
"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-09-14 * Makefile.in (just-check): Add path to sibling expect dirFred Fish2-1/+6
to environment variable specified by RPATH_ENVVAR. PR 10489 (forgot one path)
1996-09-14 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.Fred Fish3-103/+93
(just-check): Add shared library paths for libstdc++, tk, tcl, bfd, and opcodes to the environment variable specified in RPATH_ENVVAR. * configure.in: Add support to recognize --enable-shared flag and generate correct value for RPATH_ENVVAR. * configure: Regenerated with autoconf.
1996-09-05 * gch1280.exp: Enhance test case.Wilfried Moser2-0/+7
1996-09-04 * gch1272.{ch,exp}, gch1280.{ch,exp}, pr-9946.{ch,exp}:Wilfried Moser8-0/+293
New test cases.
1996-08-19 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,Fred Fish3-2/+171
PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations. * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris) and -lpthreads (everybody else). (test_startup): Fail gracefully if threads are not supported. * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for "p/c array_index("abcdef",2)" when not gcc compiled. * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for "print func2::coremaker_local" when not gcc compiled. * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for "ptype on opaque struct tagname (statically)", "ptype on opaque struct tagname (dynamically) 1", and "ptype on opaque struct tagname (dynamically) 2" for not compiled with gcc. * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for backtrace when compiled with gcc. * lib/gdb.exp (runto_main): Return result of "runto main" rather than always return success.
1996-08-13Resurrect code to increase timeout in "handle all print" cases in signals.exp.Fred Fish1-2/+0
1996-08-12 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine toFred Fish4-253/+142
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-11 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,Fred Fish1-0/+5
and don't expect address info in breakpoint confirmations.
1996-08-11 * gdb.base/list.exp (test_forward_search): Increase timeoutFred Fish1-0/+7
temporarily by 60 seconds for searching extremely long line, and then reset to old value when done. Increase expect input buffer to 10000.
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 Fish2-1/+7
long source line without overflowing expect's input buffer.
1996-08-07 * config/slite-gdb.exp (gdb_start): Use "full_buffer", notTom Tromey4-3/+17
"buffer_full". * config/nind-gdb.exp (gdb_start): Use "full_buffer", not "buffer_full". * config/mips-gdb.exp (gdb_start): Use "full_buffer", not "buffer_full". * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not "buffer_full".
1996-08-07 * configure.in (configdirs): Add gdb.threads.Fred Fish7-29/+1311
* configure: Regenerated with autoconf. * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New. * gdb.threads/{Makefile.in, configure.in}: Complete rewrites. * gdb.threads/configure: New, generated with autoconf.
1996-08-06 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.Fred Fish2-0/+11
1996-08-06 * gdb.base/signals.exp (test_handle_all_print): Test separately forFred Fish4-8/+273
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-08-04 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODEJeff Law1-0/+5
symbol.
1996-08-03 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.Brendan Kehoe2-1/+5
1996-06-28 * gdb.base/signals.exp (test_handle_all_print): Temporarily increaseFred Fish2-2/+10
timeout by 60 seconds.
1996-06-28 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.Fred Fish2-2/+8
* config/netware.exp (gdb_run_cmd): Restore old timeout before doing error return.
1996-06-28 * lib/gdb.exp (default_gdb_start): When reporting a timeout duringFred Fish2-4/+19
gdb initialization, also report how long dejagnu waited. Restore old timeout before doing error return. Temporarily increase timeout by 3 minutes to allow for slow startups over heavy NFS use.
1996-06-26 * lib/gdb.exp: Report timeout value for verbosity level 2.Fred Fish13-23/+304
* 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 * gdb.threads/Makefile.in (docdir): Removed.Jason Molenda2-0/+160
1996-06-25 * configure.in (AC_PREREQ): autoconf 2.5 or higher.Jason Molenda9-25/+36
* 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-06-23 * tests1.exp (test_modes): Remove *-*-* setup_sfail forFred Fish2-3/+6
"print unnumbered set range mode" and "print numbered set range mode".
1996-05-31Keep abug.expJeff Law1-0/+1
1996-05-30 * gdb.base/callfuncs.exp: Finish last change -- make sure theJeff Law1-0/+5
prototype information ends up in the compiler info file.
1996-05-23 * gdb.base/callfuncs.exp: Remove the compiler info file prior toFred Fish2-11/+49
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-05-15 * gdb.base/break.exp: Ignore compiler warnings when compilingJeff Law1-0/+20
break.c. * gdb.base/callfuncs.exp: Don't run these tests on the h8300. * gdb.base/default.exp: Add h8300 xfails. Handle messages from remote-sim. * gdb.base/exprs.exp: Add h8300 xfails. * gdb.base/funcargs.exp: Likewise. * gdb.base/nodebug.exp: Likewise. * gdb.base/printcmds.exp: Likewise. * gdb.base/ptype.exp: Likewise. * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add h8300 xfails. * gdb.base/return.exp: Handle float/double precision problems on the h8300. * gdb.base/funcargs.c: Explicitly make last constant argument to call_after_alloca_subr an unsigned long type. * gdb.base/return.c: Include stdio.h. Testsuite work for the H8/300 -gstabs. HMSE.
1996-05-08 * config/abug.exp: New file for the older Motorola Bug monitorRob Savoye3-10/+32
that runs on the mvme13x series VME boards. * config/monitor.exp: Use the new config array for target settings if they exist.
1996-05-03 * sim-gdb.exp: Make the SH simulator allocate less space whenStan Shebs2-1/+17
it is targeted.
1996-05-02 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtraceJeff Law1-0/+20
test.
1996-04-17 * tests1.{ch,exp}: Tets case modified and enhanced.Wilfried Moser3-8/+26
1996-04-09 * gch981.{ch,exp}, gch1041.{ch,exp}: New test cases.Wilfried Moser6-0/+410
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 Fish3-12/+12
1996-03-24 * configure, testsuite/configure, testsuite/gdb.base/configure,Fred Fish5-68/+1530
testsuite/gdb.c++/configure, testsuite/gdb.chill/configure, testsuite/gdb.disasm/configure, testsuite/gdb.stabs/configure: Regenerated with autoconf 2.9.
1996-03-20Revert part of change from last night.Fred Fish1-3/+1
1996-03-20 * gdb.base/corefile.exp: Always regenerate the core file, sinceFred Fish2-35/+52
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-20 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>Fred Fish3-43/+86
* gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility * gdb.c++/templates.exp: Only match on basename of file since some formats like xcoff don't encode directory information. * gdb.stabs/weird.exp: Use the right sed script for powerpc and rs6000 AIX xcoff targets. * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*. * configure: Regenerate. * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c here, rather than in distclean.
1996-03-17 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiledFred Fish1-0/+10
defined, and use it to compile the test case with -O2. The native compilation still uses no optimization. * gdb.base/mips_pro.c: Remove inline assembly code since it is compiled PIC by default, which results in assembler warnings that make the testsuite think the compilation was unsuccessful.
1996-03-16 * gdb.c++/misc.exp: Add note to message forFred Fish1-0/+6
"print s.a for foo struct" that this is a known gcc 2.7.2 and earlier bug.
1996-03-16 * gdb.base/break.exp: Fix pattern for matching "Delete allFred Fish3-31/+75
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.
1996-03-16 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiledFred Fish2-4/+25
setup_xfail for "print coremaker_bss", "print coremaker_ro", "print func2::coremaker_local", and "backtrace in corefile.exp".
1996-03-13 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail forFred Fish1-0/+6
"bt in signals.exp". This problem only appears when running the testsuite, and then only intermittently.
1996-03-12 * gdb.base/return.exp (return_tests): Differentiate betweenStan Shebs1-5/+17
two tests of continuing.
1996-03-06 * powerset.exp: Add test.Wilfried Moser2-0/+7
1996-03-06 * gch922.{ch,exp}, powerset.{ch,exp}: New test cases.Wilfried Moser10-21/+459
* builtins.exp, chillvars.exp, misc.exp, tests1.exp: Updated due to new format of nonprintable characters (control sequence instead of C'xx').
1996-03-05 * */Makefile.in (maintainer-clean): Remove config.log.Stan Shebs1-1/+1
* gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp. * gdb.c++/Makefile.in (PROGS): Add inherit. (clean): Remove *.ci.