]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/ChangeLog
import gdb-1999-09-13 snapshot
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
index 93630d27034999d7ec036ce18ff82d90aa5caf68..7198d6e9f01ecdc0dda726b8818db45adb1e2cb5 100644 (file)
@@ -1,3 +1,422 @@
+1999-09-09  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * long_long.exp: Add variations of test cases that work for
+       targets with 16-bit ints and 32-bit doubles.
+
+1999-09-08  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * break.c (main): Compare a possibly-uninitialized argc with an
+       unlikely value that fits in 16 bits.
+
+1999-09-07  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
+       0xfeeb, don't want negative numbers if ints are 16 bits.
+
+       * lib/gdb.exp (skip_cplus_tests): New proc.
+       * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
+       gdb.c++/anon-union.exp, gdb.c++/classes.exp,
+       gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
+       gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
+       gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
+       gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
+       gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
+       gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
+
+       * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
+
+Fri Sep  3 15:37:12 1999  Kevin Buettner  <kevinb@cygnus.com>
+
+       * gdb.base/corefile.exp (up): Allow a parameter to appear
+       in the frame that we're going up to.
+
+       From Jim Blandy <jimb@cygnus.com>:
+
+       * gdb.base/default.exp (info float): Expect some output now.
+
+       * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
+       returning floating-point values to fail on the x86.
+       * gdb.base/callfwmall.exp (do_function_calls): Same.
+
+       * gdb.base/list.exp (test_listsize): Correct expectations for
+       listing line 1 with listsize 2.  Also, listing a single line
+       works now, as does listing three lines.  [Kevin's note: There
+       were a number of other cases fixed too where the expectations
+       differed...]
+
+1999-09-02  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * gdb.base/selftest.exp: Add case for when version prints as
+       constant string instead of char pointer.
+
+1999-08-25  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * gdb.base/ending-run.exp: Add Solaris case for what happens when
+       stepping out of main.
+
+       * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
+       G++ used.
+
+       * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
+       always, expect ptype InnerLocal::NestedInnerLocal to fail always.
+
+       * gdb.c++/ovldbreak.exp: Update match string in test that
+       includes a warning of multiple breakpoints.
+
+1999-08-24  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * gdb.base/display.exp: Improve precision of step-after-finish
+       added yesterday.
+
+       * gdb.base/signals.exp: Add extra wildcard to "handle all print"
+       test.
+
+       * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
+       configs when using G++, not just hppa*.
+
+1999-08-24  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
+
+       * gdb.base/async.c: New file.
+       * gdb.base/async.exp: New file.
+
+Tue Aug 24 03:24:53 1999  Jeffrey A Law  (law@cygnus.com)
+
+       * gdb.base/break.exp: Tweak PA specific tests to properly handle
+       PA64.
+
+Mon Aug 23 10:25:20 1999  Jeffrey A Law  (law@cygnus.com)
+
+       * gdb.base/display.exp: "finish" can leave us mid-line on many
+       targets, deal with it.  Add a small constant to main, instead of
+       1000 since main+1000 may not be a valid address in the target.
+
+       * gdb.base/dollar.exp: Do not run for PA processors in wide mode
+       on hpux11.
+
+       * gdb.base/attach.exp: Handle another hpux11 error message variant
+       when attaching to a process that does not exist.
+
+1999-08-19  J.T. Conklin  <jtc@redback.com>
+
+       * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
+       characters in 'continue to 1241' test.
+
+1999-08-17  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * gdb.base/call-ar-st.exp: Add a shorter match case for the
+       stop in print_long_arg_list, define and use a whitespace
+       variable in print_small_structs test, add an XFAIL for Solaris.
+       * gdb.base/dbx.exp: XFAIL func commands until somebody is
+       interested enough to fix.
+
+1999-08-13  Keith Seitz  <keiths@cygnus.com>
+
+       * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
+       (dbx_gdb_load): Remove. Use gdb_load instead, since that
+       proc knows about targets other than the natives.
+       (test_assign): Use "gdb_run_cmd" to "run" the target.
+       Check that we've actually hit the breakpoint at main.
+       When we attempt to assign a value to a local variable, check
+       that the variable is in the current scope, i.e., don't use
+       a test with an empty result.
+
+Tue Aug 10 15:25:16 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gdb.base/maint.exp: Add test of ``maintenance internal-error''
+       command.
+
+1999-08-09  Stan Shebs  <shebs@andros.cygnus.com>
+
+       From Jimmy Guo <guo@cup.hp.com> and others at HP:
+       gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
+       gdb.compat, gdb.threads-hp.
+       gdb.hp/configure, gdb.hp/configure.in: New files.
+       gdb.hp/Makefile.in: Recurse into new subdirs.
+       gdb.hp/gdb.defects: New directory, tests for HP bug reports.
+       gdb.hp/gdb.objdbg: New directory, tests for debugging info
+       in object files.
+       gdb.hp/tools: New directory, aux tools for HP-specific tests.
+
+1999-08-05  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * gdb.base/display.exp: Help expect by putting a newline in the
+       funky printf, remove a bogus p/a test.
+
+1999-08-05  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
+
+       * gdb.base/display.exp: Make sure that when we say 'run', we are
+       connected to the target. This is necessary when running not
+       natively.
+
+1999-08-03  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * gdb.base/step-test.exp: Removed some extraneous messages.
+
+       * gdb.base/long_long.exp: Don't run memory examination tests
+       on little-endian targets (they will need a different set of
+       results to match).
+
+1999-08-02  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
+       until somebody decides to fix GDB.
+
+       * gdb.base/long_long.c: Stop compiler complaint by specifying long
+       constant as "ULL".
+       * gdb.base/long_long.exp: Loosen x/c test, add partial result
+       matches for a couple x/2 commands.
+
+1999-07-30  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
+       by merging in ref-types2 tests.
+       * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
+
+       From Jimmy Guo <guo@cup.hp.com> and others at HP:
+       * gdb.c++/Makefile.in: Add standard actions.
+       (EXECUTABLES): Rename from PROGS, update list.
+       * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
+       from gdb.hp.
+       * gdb.c++/anon-union.cc: Don't use anonymous struct, make
+       foo and bar locals.
+       * gdb.c++/anon-union.exp: Fix tests to match.
+       * gdb.c++/classes.exp: Run if HP compiler used, add extra
+       expect matches to handle output variations.
+       * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
+       * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
+       output, add HP alternatives for new and delete prints.
+       * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
+       gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
+       * gdb.c++/demangle.exp: Use $style when reporting failure.
+       * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
+       * gdb.c++/inherit.exp: Run if HP compiler used, add some
+       match alternatives.
+       * gdb.c++/local.exp: Add match alternatives or xfails for HP
+       compilers.
+       * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
+       * gdb.c++/method.exp: Add match alternatives.
+       * gdb.c++/misc.cc: Add bool types.
+       * gdb.c++/misc.exp: Add tests for bool types.
+       * gdb.c++/overload.exp: Add xfails.
+       * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
+       * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
+       add some more template parameter tests (only for HP currently).
+       * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
+       * gdb.c++/virtfunc.cc: Add return type and value for main.
+       * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
+       match alternatives.
+       
+1999-07-30  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
+
+       * gdb.base/display.exp: Fix output of 'p/a &&j' test.
+
+1999-07-29  Jim Blandy  <jimb@savonarola.red-bean.com>
+
+       * gdb.base/signals.exp: Don't expect getting a backtrace from
+       within a signal handler to fail on Linux.
+
+1999-07-29  Stan Shebs  <shebs@andros.cygnus.com>
+
+       From Jimmy Guo <guo@cup.hp.com> and others at HP:
+       * lib/gdb.exp: Remove some gratuitious semicolons.
+       (delete_breakpoints): Increase timeout.
+       (gdb_expect): Add -notransfer option.
+       (gdb_test): Use -notransfer option.
+       (get_compiler_info): Add f77 case.
+       (get_compiler): New proc, split out from gdb_preprocess, add f77
+       case.
+       (gdb_preprocess): Call get_compiler.
+
+       * gdb.base/Makefile.in (EXECUTABLES): Update the list.
+       * gdb.base/attach.exp, gdb.base/display.exp,
+       gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
+       gdb.base/long_long.exp, gdb.base/printcmds.exp,
+       gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
+       third arg to gdb_test.
+       * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
+       * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
+       HP-UX xfails, add others.
+       * gdb.base/completion.exp: Reflect name change of self-test.
+       * gdb.base/condbreak.exp, gdb.base/corefile.exp,
+       gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
+       gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
+       HP failure number.
+       * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
+       useless HP-UX 10.30 references.
+       * gdb.base/maint.exp: Loosen matches.
+       * gdb.base/pointers.c (main): Declare more_code.
+       * gdb.base/pointers.exp: Match on output of a `next'.
+       * gdb.base/structs.c: Add prototypes.
+       * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
+       * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
+
+1999-07-29  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
+
+       * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
+       command.
+
+1999-07-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
+
+       * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
+       Fix run to main failures. Watchpoint can be hardware watchpoint.
+       
+       * gdb.base/annota1.exp: Clean up some more, in case printf has 
+       debug info.  Deal with lack of signal hanlder info in stack.
+
+        From Jim Kingdon  <kingdon@redhat.com>:
+       * gdb.base/annota1.exp: If printf has debug info, deal with it.
+
+1999-07-19  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
+       gdb.base/foll-vfork.exp: Don't run for crosses.
+
+Tue Jul 13 23:37:18 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gdb.base/configure.in: Check for gdbvars.exp instead of
+       a1-selftest.exp.
+       * gdb.base/configure: Re-generate.
+
+1999-07-12  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
+       in trying to run first and name is too long.
+
+       * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
+       pointers2.c and pointers2.exp, respectively.
+       * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
+       doschk happier.
+
+1999-07-08  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
+       callfuncs2.c and callfuncs2.exp.
+
+       * gdb.base/list.exp: Remove mistaken xfails.
+       * gdb.base/list0.h: Add optional prototypes.
+
+Wed Jul  7 00:27:35 1999  Andrew Cagney  <cagney@amy.cygnus.com>
+
+        * gdb.base/setvar.exp: Increase the time-out on tests indirectly
+       calling malloc.
+        * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
+        * ptype.exp: Move test for get_debug_format to before its first
+       use.
+
+1999-07-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
+
+       * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
+       * gdb.base/annota2.cc, annota2.exp: Move from here.
+       * gdb.c++/annota2.cc, annota2.exp: To here.
+       * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
+
+Tue Jun 29 11:56:06 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
+       a consistent format.
+
+1999-06-25  Stan Shebs  <shebs@andros.cygnus.com>
+
+       From Jimmy Guo <guo@cup.hp.com> and others at HP:
+       * lib/gdb.exp (get_compiler_info): Add detection for assorted
+       HP compilers, also set the globals $true and $false.
+
+       * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
+       call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
+       coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
+       jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
+       long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
+       printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
+       scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
+       sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
+       solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
+       whatis.c} Add C++ compatible function definitions and return
+       types, add includes for library functions.
+       * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
+       * gdb.base/step-test.c (myglob): Rename from glob.
+       * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
+       foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
+       files, move here from gdb.hp.
+       * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
+       commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
+       ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
+       Adjust line numbers in regexps.
+
+       * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
+       miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
+       instead of 0/1.
+
+       * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
+       foll-vfork.exp: New files, move here from gdb.hp.
+       * gdb.base/page.exp: New file, test of pagination command.
+
+       * gdb.base/watchpoint.c (recurser): New function, for watchpoint
+       recursion test.
+       * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
+
+       * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
+       gdb.base/solib.exp: Fix compiler invocation process.
+
+       * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
+       HP-UX 11, turn off overload resolution explicitly.
+       * gdb.base/commands.exp: Set argument list explicitly, add
+       watchpoint test.
+       * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
+       them work.
+       * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
+       expressions properly.
+       * gdb.base/corefile.exp: Loosen the match slightly.
+       * gdb.base/default.exp: Allow "Error accessing memory" message
+       also.
+       * gdb.base/display.exp: Skip over x/0 j if PA64.
+       * gdb.base/funcargs.exp: Add xfails for HP-UX.
+       * gdb.base/interrupt.exp: Ditto.
+       * gdb.base/langs.exp: Add symbolic matches governed by compiler
+       in use.
+       * gdb.base/list.exp: Add xfails for HP-UX.
+       * gdb.base/long_long.exp: Refine some of the numeric matches.
+       * gdb.base/mips_pro.exp: Xfail on HP-UX.
+       * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
+       * gdb.base/nodebug.exp: Succeed on more varieties of output.
+       * gdb.base/opaque.exp: Remove some HP-UX xfails.
+       * gdb.base/ptype.exp: Succeed on more varieties of output.
+       * gdb.base/scope.exp: Add xfails for HP-UX.
+       * gdb.base/sect-cmd.exp: Add more cases.
+       * gdb.base/setvar.exp: Add xfails for HP-UX.
+       * gdb.base/shlib-call.exp: Loosen some matches slightly.
+       * gdb.base/signals.exp: Match on void symbolically.
+       * gdb.base/step-test.exp: Add case for PA64.
+       * gdb.base/term.exp: Add exit and restart.
+       * gdb.base/twice.exp: Clean up after self.
+       * gdb.base/varargs.exp: Disable overload resolution explicitly.
+       * gdb.base/whatis.exp: Allow more ways to pass tests.
+
+       * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
+       no longer useful.
+
+Fri Jun 25 19:27:28 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * lib/gdb.exp (proc gdb_expect_list): New procedure.  Matches a
+       list of patterns.
+       * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
+       print_double_array(double_array)", "continuing to breakpoint
+       1018", "print print_double_array(array_d)" and "continuing to
+       1034" tests.
+       
+1999-06-24  Jason Molenda  (jsm@bugshack.cygnus.com)
+
+        * Makefile.in: Add empty html and install-html targets.
+
+1999-06-24  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * config/mt-*: Remove, these haven't been used since 1996.
+
+1999-06-22  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * gdb.base/call-strs.c, gdb.base/ending-run.c,
+       gdb.base/step-test.c: Include stdlib.h and string.h as needed.
+       * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
+
 1999-06-18  Stan Shebs  <shebs@andros.cygnus.com>
 
        * gdb.c++/overload.exp: XFAIL everything if using G++, add a