]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/ChangeLog
* lib/gdb.exp (rerun_to_main): Allow restarting application.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
index 92bb9cf8dab4e707dde1c0a81f59e080865c1759..3235f08a703e566d3683d441e4f1b5de14bdfa54 100644 (file)
@@ -1,3 +1,524 @@
+2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
+
+       * lib/gdb.exp (rerun_to_main): Allow restarting application.
+       * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
+
+2002-09-17  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.base/printcmds.exp (test_print_string_constants): Expect
+       \000, not \0, in double-quoted string.
+
+2002-09-14  Corinna Vinschen  <vinschen@redhat.com>
+
+       * gdb.base/command.exp: Don't expect a "Program exited normally"
+       string after running the commands execution on breakpoint tests.
+
+2002-09-13  Corinna Vinschen  <vinschen@redhat.com>
+
+       * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
+
+2002-09-12  Joel Brobecker  <brobecker@gnat.com>
+
+       * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
+
+2002-09-10  Keith Seitz  <keiths@redhat.com>
+
+       * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
+       runto proc.
+       (mi_run_to_main): Use mi_runto.
+       (mi_execute_to): Renamed from mi_run_to. Changed all callers.
+
+2002-09-10  Keith Seitz  <keiths@redhat.com>
+
+       * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
+       regexp for stopping at main. Could have multiple event notifications.
+       Don't assume that main was declared with no parameters.
+       (mi_next): Use mi_step_to.
+       (mi_step): Use mi_next_to.
+
+2002-09-09  Corinna Vinschen  <vinschen@redhat.com>
+
+       * gdb.base/default.exp: Fix expected string in `info float' test.
+
+2002-09-09  Ben Elliston  <bje@redhat.com>
+
+       * config/mips.exp: Update comments.
+       * config/mips-idt.exp: Likewise.
+       * config/nind.exp: Likewise.
+       * config/slite.exp: Likewise.
+       * config/sparclet.exp: Likewise.
+       * config/udi.exp: Likewise.
+       * config/vx.exp: Likewise.
+       * config/vxworks29k.exp: Likewise.
+
+2002-09-05  Jim Blandy  <jimb@redhat.com>
+
+       * gdb.threads/killed.exp: Fix test failure message.
+
+2002-09-04  Keith Seitz  <keiths@redhat.com>
+
+       * lib/mi-support.exp: Update copyright.
+       (mi_gdb_test): Increase the priority of the expected pattern
+       so that it matches gdb_test.
+
+2002-09-03  Keith Seitz  <keiths@redhat.com>
+
+       * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
+       Use integer comparison instead of string comparison for testing
+       whether binary was built.
+
+2002-09-03  Jim Blandy  <jimb@redhat.com>
+
+       * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
+
+2002-08-29  Jim Blandy  <jimb@redhat.com>
+
+       * gdb.threads/pthreads.exp: Move the portable thread compilation
+       code into a function in lib/gdb.exp, and call that from here.
+       * lib/gdb.exp (gdb_compile_pthreads): New function.
+
+2002-08-29  Keith Seitz  <keiths@redhat.com>
+
+       * lib/mi-support.exp (mi_gdb_test): Add global declaration for
+       expect_out so that callers can get at it.
+
+2002-08-23  Daniel Jacobowitz  <drow@mvista.com>
+
+       * gdb.threads/print-threads.c: New file.
+       * gdb.threads/print-threads.exp: New file.
+       * gdb.threads/schedlock.c: New file.
+       * gdb.threads/schedlock.exp: New file.
+
+2002-08-22  Elena Zannoni  <ezannoni@redhat.com>
+
+        * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
+        not altivec.c.
+
+2002-08-17  Mark Kettenis  <kettenis@gnu.org>
+
+       * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
+       targets.  The problem should be fixed now.
+
+2002-08-15  Mark Kettenis  <kettenis@gnu.org>
+
+       * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
+       2002-07-24 change that removes final dots from error messages.
+
+2002-08-13  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.base/readline.exp: New file.
+
+2002-08-01  Andrew Cagney  <ac131313@redhat.com>
+
+       * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
+       supress message.
+
+2002-08-01  Andrew Cagney  <cagney@redhat.com>
+
+       * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
+       CHILL_FOR_TARGET and CHILL_LIB.
+       * configure.in (configdirs): Remove gdb.chill.
+       * configure: Regenerate.
+       * lib/gdb.exp: Obsolete references to chill.
+       * gdb.fortran/types.exp: Ditto.
+       * gdb.fortran/exprs.exp: Ditto.
+
+2002-07-30  Kevin Buettner  <kevinb@redhat.com>
+
+       * gdb.base/shlib-call.exp (additional_flags): Conditionally
+       set Irix-specific compile and link flags.
+
+2002-07-29  Kevin Buettner  <kevinb@redhat.com>
+
+       * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
+       source files.  The ``-o'' option doesn't work with the ``-E'' option
+       when using the Irix compiler.
+
+2002-07-19  Daniel Jacobowitz  <drow@mvista.com>
+
+       * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
+       Improve support for reusing an exec file.  Copy exec file
+       to target, and run gdbserver on the target instead of on the host.
+
+2002-07-18  Jim Blandy  <jimb@redhat.com>
+
+       * gdb.base/ending-run.exp: Don't expect to see the program end in
+       some orderly fashion when we're running on a real stand-alone
+       board.
+
+       * gdb.base/interrupt.exp: Correct logic for skipping tests on
+       targets that don't support interrupts.
+
+2002-07-10  Paul N. Hilfinger  <hilfingr@otisco.mckusick.com>
+
+       * gdb.base/attach.exp: Add patterns to match output from /proc-based
+       systems.
+       Move comments in expect statements to inside the actions, so that they
+       don't get matched against.
+
+2002-07-10  Mark Kettenis  <kettenis@gnu.org>
+
+       * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
+       function when asleep" test.
+
+2002-07-10  Andrew Cagney  <ac131313@redhat.com>
+
+       * gdb.base/page.exp: Rewrite to handle problems with very long
+       `info set' output.  Update copyright.
+
+2002-06-26  Andrew Cagney  <ac131313@redhat.com>
+
+       * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
+       gdb.threads-hp.
+       * gdb.hp/configure: Regenerate.
+       * gdb.hp/gdb.threads-hp/configure.in: Delete file.
+       * gdb.hp/gdb.threads-hp/configure: Delete file.
+       * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
+
+2002-06-22  Andrew Cagney  <ac131313@redhat.com>
+
+       * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
+       setlocale, bindtextdomain and textdomain.
+
+2002-06-11  Jim Blandy  <jimb@redhat.com>
+
+       * lib/gdb.exp (get_debug_format): Tolerate message saying whether
+       preprocessor macro information is present.
+
+       * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
+       tests.
+
+2002-06-06  Michael Snyder  <msnyder@redhat.com>
+
+       * gdb.base/overlays.exp: Record addresses of overlay
+       functions in TCL variables rather than in GDB variables,
+       to avoid having GDB convert them to pointers (with loss
+       of information).
+
+       * gdb.base/d10v.ld: Merge in several years worth of 
+       default linker script changes.
+       * gdb.base/long_long.exp: Add check for sizeof (long double).
+
+2002-06-06  Michal Ludvig  <mludvig@suse.cz>
+
+       * gdb.asm/asm-source.exp: Add x86-64 target.
+       * gdb.asm/x86_64.inc: New.
+       
+2002-05-30  Michael Chastain  <mec@shout.net>
+
+       From Benjamin Kosnik <bkoz@redhat.com>:
+       * gdb.c++/m-static.cc: New file.
+       * gdb.c++/m-static.exp: New file.
+
+2002-05-28  Michael Snyder  <msnyder@redhat.com>
+
+       * gdb.base/call-ar-st.exp: Allow for reduced floating point
+       precision.
+
+2002-05-27  Michael Chastain  <mec@shout.net>
+
+       From Benjamin Kosnik <bkoz@redhat.com>:
+       * gdb.c++/m-data.cc: New file.
+       * gdb.c++/m-data.exp: New file.
+
+2002-05-27  Michael Chastain  <mec@shout.net>
+
+       From Benjamin Kosnik <bkoz@redhat.com>:
+       * gdb.c++/try_catch.cc: New file.
+       * gdb.c++/try_catch.exp: New file.      
+
+2002-05-27  Michael Chastain  <mec@shout.net>
+
+       * gdb.c++/local.exp: Accept more nested types in output.
+
+2002-05-26  Michael Chastain  <mec@shout.net>
+
+       * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
+
+2002-05-15  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * lib/gdb.exp (gdb_wrapper_init): Just because
+       gdb_wrapper_file exists, this does not mean that the file
+       should not be rebuilt.  That is what gdb_wrapper_initialized
+       is for.
+       (default_gdb_init): Reset gdb_wrapper_initialized.
+
+2002-05-23  Michael Snyder  <msnyder@redhat.com>
+
+       * gdb.base/all-bin.exp: Revise previous patch by just reducing 
+       the precision of the floating point test results.
+       * gdb.base/call-rt-st.exp: Ditto.
+
+       * gdb.base/all-bin.exp: Allow for reduced floating point precision.
+       * gdb.base/call-rt-st.exp: Ditto.
+
+2002-05-19  Michael Chastain  <mec@shout.net>
+
+       * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
+
+2002-05-19  Elena Zannoni  <ezannoni@redhat.com>
+
+        * configure.in (configdirs): Add gdb.arch.
+        * configure: Regenerate.
+
+2002-05-17  Jim Blandy  <jimb@redhat.com>
+
+       * gdb.base/completion.exp: Recognize the more detailed error
+       messages produced by the macro expander's lexical analyzer.
+
+2002-05-14  Elena Zannoni  <ezannoni@redhat.com>
+
+        * gdb.arch/altivec-abi.c: New file.
+        * gdb.arch/altivec-abi.exp: New file.
+        * gdb.arch/altivec-regs.c: New file.
+        * gdb.arch/altivec-regs.exp: New file.
+
+2002-05-14  Daniel Jacobowitz  <drow@mvista.com>
+
+       * gdb.base/maint.exp (maint print type): Update for new type
+       structure.
+       
+2002-05-14  Elena Zannoni  <ezannoni@redhat.com>
+
+       * gdb.arch: New directory.
+       * gdb.arch/configure.in: New file.
+       * gdb.arch/configure: New file.
+       * gdb.arch/Makefile.in: New file.
+
+2002-05-13  Corinna Vinschen  <vinschen@redhat.com>
+
+       * gdb.asm/asm-source.exp: Add v850 as supported target.
+       * gdb.asm/v850.inc: New file.
+
+2002-05-13  Daniel Jacobowitz  <drow@mvista.com>
+
+       * gdb.c++/annota2.exp (annotate-quit): Add comment.
+
+2002-05-12  Daniel Jacobowitz  <drow@mvista.com>
+
+       * gdb.base/break.exp: Check 'break "marker2"'.
+
+2002-05-10  Michael Snyder  <msnyder@redhat.com>
+
+       * gdb.base/long_long.exp: Fix typo.
+
+2002-05-10  Jim Blandy  <jimb@redhat.com>
+
+       * gdb.base/printcmds.exp: Don't xfail the ptype command.  This is
+       a bug.
+
+       * gdb.base/printcmds.exp (test_integer_literals_rejected):
+       Recognize more detailed error message produced by the macro
+       expander's lexical analyzer.
+       * lib/gdb.exp (test_print_reject): Same.
+
+2002-05-09  Mark Kettenis  <kettenis@gnu.org>
+
+       * gdb.c++/method.exp: Fix typo.
+
+2002-05-08  Michael Snyder  <msnyder@redhat.com>
+
+       * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
+       * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
+       * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
+       * gdb.base/long_long.exp: Merge clauses for arm and xscale.
+       Add iftarget clause for strongarm.
+       
+2002-05-06  Michael Snyder  <msnyder@redhat.com>
+
+       * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
+       (gdb_continue_to_end): Accept output from status wrapper.
+       * gdb.base/ending-run.exp: Add case for output from status wrapper.
+       Clean up fail messages to match pass messages.
+
+       Enable the "needs_status_wrapper" testsuite feature.
+       * lib/gdb.exp (gdb_wrapper_init): New procedure.
+       (gdb_compile): Conditionally call gdb_wrapper_init.
+       * gdb.base/a2-run.exp: Recognize output from status wrapper.
+       * gdb.c++/method.exp: Recognize output from status wrapper.
+
+2002-05-06  Ben Elliston  <bje@redhat.com>
+From Graydon Hoare  <graydon@redhat.com>
+
+       * config/sid.exp: Include support for "rawsid" protocol.
+
+2002-05-03  Jim Blandy  <jimb@redhat.com>
+
+       * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
+       * gdb.c++/hang3.C: New file.
+
+2002-05-04  Andrew Cagney  <ac131313@redhat.com>
+
+       * gdb.base/default.exp: Remove obsolete code.
+       * gdb.c++/misc.exp: Ditto.  Update copyright.
+       * gdb.c++/cplusfuncs.exp: Ditto.  Update copyright.
+       * gdb.base/whatis.exp: Ditto.  Update copyright.
+       * gdb.base/scope.exp: Ditto.  Update copyright.
+       * gdb.base/ptype.exp: Ditto.  Update copyright.
+       * gdb.base/printcmds.exp: Ditto.  Update copyright.
+       * gdb.base/opaque.exp: Ditto.  Update copyright.
+       * gdb.base/list.exp: Ditto.
+       * gdb.base/funcargs.exp: Ditto.  Update copyright.
+       * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
+       * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
+       * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
+       * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
+       * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
+       * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
+
+2002-05-02  Michael Snyder  <msnyder@redhat.com>
+
+       * gdb.base/watchpoint.exp: Add xscale target.
+       * gdb.base/long_long.exp: Add xscale target.
+       * gdb.base/default.exp: Add xscale target.
+
+2002-05-01  Jim Blandy  <jimb@redhat.com>
+
+       * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
+       gdb.c++/hang.exp: New test.
+
+2002-05-01  Fred Fish  <fnf@redhat.com>
+
+       * gdb.base/completion.exp: Handle completions of "./Make" for
+       more than one completion possibility, as is the case when we
+       build and test in the source tree.
+
+2002-04-29  Anthony Green  <green@redhat.com>
+
+       * gdb.java/jmisc1.exp: New file.
+       * gdb.java/jmisc2.exp: New file.
+
+2002-04-24  Daniel Jacobowitz  <drow@mvista.com>
+
+       * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
+
+2002-04-23  Elena Zannoni  <ezannoni@redhat.com>
+
+       * gdb.base/help.exp: Change 'help status' to allow for target
+       dependent output differences.
+
+2002-04-22  Michael Chastain  <mec@shout.net>
+
+       * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
+
+2002-04-22  Michael Chastain  <mec@shout.net>
+
+       * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
+
+2002-04-17  David S. Miller  <davem@redhat.com>
+
+       * gdb.asm/sparc64.inc: New file.
+       * gdb.asm/asm-source.exp: Handle sparc64-*-*.
+
+2002-04-19  Elena Zannoni  <ezannoni@redhat.com>
+
+       * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
+       instruction file directly into the build tree.  Clean up at end of
+       test.
+
+2002-04-18  David S. Miller  <davem@redhat.com>
+
+       * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
+       handle 64-bit platforms correctly.
+       * gdb.base/maint.exp: Likewise.
+
+2002-04-18  Kevin Buettner  <kevinb@redhat.com>
+
+       * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
+       ``-fpic'' when compiling files comprising a shared library, but
+       it does need additional linker flags in order to find shared
+       libraries at run time.
+
+2002-04-18  Kevin Buettner  <kevinb@redhat.com>
+
+       * gdb.base/cvexpr.c (use): New function.
+       (main): Invoke use() on all global variables to prevent
+       some linkers from deleting these otherwise unused symbols.
+
+2002-04-17  Michael Chastain  <mec@shout.net>
+From David S. Miller  <davem@redhat.com>
+
+       * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
+       handle 64-bit platforms correctly.
+
+2002-04-12  Michael Snyder  <msnyder@redhat.com>
+From Jim Blandy  <jimb@redhat.com>
+        * gdb.base/foo.c (foox): Remove section attribute; the linker
+       script can handle this instead.
+       * gdb.base/bar.c (barx): Same.
+       * gdb.base/baz.c (bazx): Same.
+       * gdb.base/grbx.c (grbxx): Same.
+
+       * gdb.base/overlays.exp: New test: check that GDB's manual overlay
+       manager doesn't automatically unmap overlays unnecessarily.
+
+2002-04-10  Martin M. Hunt  <hunt@redhat.com>
+
+       * gdb.base/ending-run.exp: Fix pattern for Mips targets
+       stepping out of main.
+
+2002-04-09  Michael Chastain  <mec@shout.net>
+
+       * gdb.c++/local.cc (main): Move call to marker1() inside nested
+       scope so that the nested scope tests will make sense.
+       * gdb.c++/local.exp: Write patterns that actually work with gcc
+       (the HP patterns "were never known to work with gcc").
+       Keep the old aCC patterns too.
+
+2002-04-09  Daniel Jacobowitz  <drow@mvista.com>
+
+       * gdb.base/attach.exp: Correct target board test.
+
+2002-04-08  Michael Chastain  <mec@shout.net>
+
+       * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
+       in a const method.  Add some xfail and fail cases for configurations
+       that do not emit the "const ...".
+
+2002-04-07  Michael Chastain  <mec@shout.net>
+
+       * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
+       Accept "A * const" and "const A * const" as type of "this".
+       Fix spelling of getFunky throughout.  Make messages uniform.
+
+2002-04-07  Elena Zannoni  <ezannoni@redhat.com>
+
+        Work around for PR gdb/285:
+       * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
+
+2002-04-07  Elena Zannoni  <ezannoni@redhat.com>
+
+       * gdb.asm/asm-source.exp: Build symbolic link to arch specific
+       instructions file at run time instead of configure time.
+       Sometimes we run the test in a directory that is not the one we
+       configured in.
+       * gdb.asm/configure.in: Delete creation of symlink.
+       * gdb.asm/configure: Regenerate.
+
+2002-04-05  J. Brobecker  <brobecker@gnat.com>
+
+       * gdb.gdb/xfullpath.exp: New test, to exercise the new
+       xfullpath () function.
+
+2002-04-04  Daniel Jacobowitz  <drow@mvista.com>
+
+       * gdb.asm/Makefile.in: Correct dependencies.
+
+       * gdb.asm/powerpc.inc: New file.
+       * gdb.asm/asm-source.exp: Add PowerPC.
+       * gdb.asm/configure.in: Likewise.
+       * gdb.asm/configure: Regenerated.
+
+2002-04-04  Daniel Jacobowitz  <drow@mvista.com>
+
+       * gdb.base/relocate.exp: New file.
+       * gdb.base/relocate.c: New file.
+
+2002-04-04  Fred Fish  <fnf@redhat.com>
+
+       * gdb.base/step-test.exp: Update comment regarding stopping in
+       memcpy/bcopy calls inserted as part of the compiler runtime.
+
 2002-04-04  Michael Snyder  <msnyder@redhat.com>
 
        * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
        * gdb.c++/userdef.exp: Test overloaded operators properly.
        Remove xfails.
 
+2002-02-14  Michael Snyder  <msnyder@redhat.com>
+
+       * gdb.base/gcore.exp: Relax recognition of function breakpoint.
+
 2002-02-14  Daniel Jacobowitz  <drow@mvista.com>
 
        * gdb.base/a2-run.exp: Check for a remote target properly.