* lib/mi-support.exp (mi_run_cmd): Expect an MI response to
[binutils-gdb.git] / gdb / testsuite / ChangeLog
index 2f4bbbbcbbcb1ea49785e3f6c4de2e6271626dc1..c972b3eb248aa347c2eaa519991c6e3b95bf989d 100644 (file)
@@ -1,3 +1,485 @@
+2003-06-21  Daniel Jacobowitz  <drow@mvista.com>
+
+       * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
+       000-exec-continue.
+
+2003-06-15  Mark Kettenis  <kettenis@gnu.org>
+
+       * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
+       on *-*-*bsd* instead of *-*-freebsd*.
+
+2003-06-14  Andrew Cagney  <cagney@redhat.com>
+
+       * gdb.base/store.exp: Test longest and doublest.  Test all
+       parameters.  Weaken return statement match.
+       * gdb.base/store.c: Add longest and doublest - aka long long and
+       long double functions.  Put all parameters into local register
+       variables.  Use negative values.
+
+2003-06-14  Andrew Cagney  <cagney@redhat.com>
+
+       * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>.  Gag
+       -Wformat errors.  Add lost line.  Use WEXITSTATUS to get system
+       exit status.
+       * gdb.base/fileio.exp: Disable target when nointerrupts and
+       noinferiorio, instead of limiting it to remote.  Use remote_exec
+       instead of system.
+       
+2003-06-12  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * gdb.base/float.exp: Add ia64 support.
+
+2003-06-12  Corinna Vinschen  <vinschen@redhat.com>
+
+       * gdb.base/fileio.exp: Run only on remote targets.
+
+2003-06-10  Corinna Vinschen  <vinschen@redhat.com>
+
+       * gdb.base/fileio.c: New file, testing File-I/O.
+       * gdb.base/fileio.exp: Ditto.
+
+2003-06-09  Raoul Gough  <RaoulGough@yahoo.co.uk>
+
+       * gdb.base/shreloc.exp: New file, check symbol values obtained from
+       shared objects after relocation at load time (gdb PR/1132).
+       * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
+        as above, part of the shared object relocation test.
+
+2003-06-08  Mark Kettenis  <kettenis@gnu.org>
+
+       * gdb.base/readline.exp: Add tests for operate-and-get-next with a
+       fully filled history list.
+       * gdb.base/gdb_history: New file.
+
+       * gdb.base/signals.exp: XFAIL "continue to func1" on
+       i*86-*-freebsd*.
+
+       * gdb.base/attach.exp: When trying to attach to a nonexistent
+       process, make it possible to specify the PID based on the target,
+       and do so for *-*-freebsd*.
+
+2003-06-02  Richard Henderson  <rth@redhat.com>
+
+       * gdb.base/float.exp: Add expected regexp for alpha-*-*.
+
+2003-06-02  Richard Henderson  <rth@redhat.com>
+
+       * gdb.base/selftest.exp: Next over lim_at_start initialization.
+
+2003-06-02  Richard Henderson  <rth@redhat.com>
+
+       * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
+
+2003-06-01  Daniel Jacobowitz  <drow@mvista.com>
+
+       * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
+       of globalvar.
+
+2003-06-01  Mark Kettenis  <kettenis@gnu.org>
+
+       * gdb.asm/asm-source.exp: Check for memory read errors in
+       disassembler test on *BSD too.
+
+2003-06-01  Richard Henderson  <rth@redhat.com>
+
+       * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
+       for .frame.
+       (gdbasm_call): Lose ldgp.
+       (gdbasm_startup): Add frame information.
+       * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
+
+2003-05-31  Mark Kettenis  <kettenis@gnu.org>
+
+       * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
+       i?86-*-*.
+
+2003-05-30  Mark Kettenis  <kettenis@gnu.org>
+
+       * gdb.asm/asm-source.exp: Make sure the final link succeeds on
+       FreeBSD.
+
+2003-05-29  Richard Henderson  <rth@redhat.com>
+
+       * gdb.asm/alpha.inc: New file.
+       * gdb.asm/asm-source.exp: Use it.
+
+2003-05-29  Jim Blandy  <jimb@redhat.com>
+
+       * gdb.base/corefile.exp: Find corefiles on Linux, which names them
+       'core.PID'.
+
+2003-05-22  Jim Blandy  <jimb@redhat.com>
+
+       * gdb.base/corefile.exp: Tolerate stuff after argument parens in
+       backtrace.
+       
+2003-05-20  David Carlton  <carlton@math.stanford.edu>
+
+       * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
+       this time.
+
+2003-05-19  David Carlton  <carlton@bactrian.org>
+
+       * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
+       * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
+
+2003-05-19  David Carlton  <carlton@bactrian.org>
+
+       * gdb.c++/namespace.exp: Add namespace scope and anonymous
+       namespace tests.
+       Bump copyright date.
+       * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
+       (main): Call C::D::marker2.
+       * gdb.c++/namespace1.cc: New file.
+
+2003-05-14  Jeff Johnston  <jjohnstn@redhat.com>
+
+       Roland McGrath  <roland@redhat.com>
+       * gdb.threads/linux-dp.exp: Account for fact that in nptl model 
+       there is no manager thread.
+
+2003-05-08  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * gdb.threads/schedlock.exp: Remove assumption that all threads 
+       will run in a particular small time slice.  Also ensure we break 
+       in one of the child threads rather than the main thread.
+
+2003-05-07  Jim Blandy  <jimb@redhat.com>
+
+       Add support for assembly source testing on the s390x.
+       * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
+       architecture.
+       * gdb.asm/s390x.inc: New file.
+
+       * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
+       succession of 'if' statements.
+
+2003-05-05  Andrew Cagney  <cagney@redhat.com>
+
+       * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
+
+2003-05-05  Andrew Cagney  <cagney@redhat.com>
+
+       * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
+       DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
+
+2003-05-02  Elena Zannoni  <ezannoni@redhat.com>
+
+       * gdb.base/charset.exp: Update based on new behavior of set/show
+       charset commands.
+
+2003-05-01  Andrew Cagney  <cagney@redhat.com>
+
+       * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
+       variable do not give memory errors.
+
+2003-04-30  Adam Fedor  <fedor@gnu.org>
+
+       * Makefile.in (ALL_SUBDIRS): Add gdb.objc
+       * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
+       * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
+       gdb.objc/basicclass.m: : New files
+
+       * lib/gdb.exp (gdb_compile_objc): New procedure.
+
+2003-04-27  Daniel Jacobowitz  <drow@mvista.com>
+
+       * gdb.base/signals.exp: Make backtrace tests more specific.
+
+2003-04-23  David Carlton  <carlton@bactrian.org>
+
+       * gdb.c++/maint.exp (test_first_component): Add tests for
+       'operator' in more locations.
+
+2003-04-16  Kevin Buettner  <kevinb@redhat.com>
+
+       * gdb.base/args.exp: Invoke gdb_load for simulator targets.
+
+2003-04-16  Elena Zannoni  <ezannoni@redhat.com>
+
+       * gdb.base/completion.exp: Make 'info func mark' complete on 'info
+        func marke' instead. Update test name.
+
+2003-04-15  David Carlton  <carlton@math.stanford.edu>
+
+       * gdb.c++/maint.exp: New file.
+
+2003-04-14  Elena Zannoni  <ezannoni@redhat.com>
+
+       * gdb.threads/schedlock.c: Change type of thread function argument
+       to long, to avoid warnings on 64-bit platforms.
+
+2003-04-14  Elena Zannoni  <ezannoni@redhat.com>
+
+        * gdb.base/attach.exp: Add new message from ptrace in case of
+        attaching to nonexistent process.
+       
+2003-04-11  Jim Blandy  <jimb@redhat.com>
+
+       * gdb.c++/derivation.exp, gdb.c++/overload.exp,
+       gdb.c++/userdef.cc: Place comments on the lines to which the
+       marker function might return.
+       * gdb.c++/derivation.exp, gdb.c++/overload.exp,
+       gdb.c++/userdef.exp: Look for those comments to check that we've
+       returned to the right place, instead of checking line numbers.
+
+2003-04-11  Elena Zannoni  <ezannoni@redhat.com>
+
+        * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
+        match on sourcefile name, instead of directory name.
+
+2003-04-10  Elena Zannoni  <ezannoni@redhat.com>
+
+       * gdb.base/completion.exp: Use string_to_regexp to match the 
+       working directory name.
+
+2003-04-09  Jim Blandy  <jimb@redhat.com>
+
+       * gdb.c++/derivation.exp, gdb.c++/overload.exp,
+       gdb.c++/userdef.exp: If GDB fails to restore the selected frame
+       after an inferior function call, report the failure, but allow the
+       test to continue.
+
+2003-04-05  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * gdb.base/break.exp: marker4() is defined at line 46 when compiled
+       with -DPROTOTYPES.
+
+2003-04-05  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * gdb.base/break.exp: Revert last patch.
+
+2003-04-04  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * gdb.base/break.exp: marker4() is defined at line 46 when compiled
+       with -DPROTOTYPES.
+
+2003-04-02  Andrew Cagney  <cagney@redhat.com>
+
+       * gdb.base/callfuncs.exp: Make "print add" messages unique.
+       * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
+       matching directories by the name breakpoint.
+       * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
+       Make "continue to marker1" consistent.
+       * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
+       message consistent.
+       * lib/gdb.exp: Put "the program is no longer running", and "the
+       program exited" in parenthesis.
+       * lib/mi-support.exp: Ditto.
+       
+2003-04-02  Bob Rossi  <bob_rossi@cox.net>
+    
+       * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
+
+2003-03-29  Andrew Cagney  <cagney@redhat.com>
+
+       * gdb.base/sizeof.c (main): Print the value of '\377'.
+       * gdb.base/sizeof.exp: Check the sign of '\377'.
+
+2003-03-27  Michael Chastain  <mec@shout.net>
+
+       * gdb.base/gdb1090.exp: New file.
+       * gdb.base/gdb1090.cc: New file.
+
+2003-03-27  J. Brobecker  <brobecker@gnat.com>
+
+       * gdb.gdb/observer.exp: New regression test.
+
+2003-03-27  Michael Chastain  <mec@shout.net>
+
+       * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
+       * gdb.base/ptype.exp: Likewise.
+
+2003-03-27  Corinna Vinschen  <vinschen@redhat.com>
+
+       * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
+
+2003-03-26  Michael Chastain  <mec@shout.net>
+
+       * gdb.base/ptype.exp: Actually use some typedef'd types.
+
+2003-03-21  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
+       * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
+
+2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
+
+       * gdb.base/default.exp: Fix regular expression.
+
+2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
+
+       * gdb.base/args.exp: Fix regular expression.
+
+2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
+
+       * gdb.base/help.exp: Allow Win32 child process.
+
+2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
+
+       * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
+       when stepping out of main().
+
+2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
+
+       * gdb.base/default.exp: Check for win32 specific message when calling
+       "run" without executable.
+
+2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
+
+       * gdb.base/args.exp: Expect .exe in output.
+
+2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
+
+       * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
+       Cygwin native.
+
+2003-03-17  Andrew Cagney  <cagney@redhat.com>
+
+       From Elena Zannoni <ezannoni@redhat.com>.  Test e500 abi and
+       vector registes.
+       * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
+       * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
+
+2003-03-17  David Carlton  <carlton@math.stanford.edu>
+
+       * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
+       test, for PR breakpoints/38.
+       Call test_watchpoint_and_breakpoint.
+       * gdb.base/watchpoint.c (func3): New function.
+       (main): Call func3.
+
+2003-03-04  David Carlton  <carlton@math.stanford.edu>
+
+       * gdb.c++/templates.exp (do_tests): Accept valid const in "print
+       Garply<Garply<char> >:: garply".
+       (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
+       with respect to PR c++/1111; note also PR c++/1113.
+       (test_template_breakpoints): KFAIL "constructor breakpoint" with
+       respect to PR c++/1062.
+       KFAIL "destructor breakpoint" with respect to PR c++/1112.
+
+2003-03-03  David Carlton  <carlton@math.stanford.edu>
+
+       * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
+       with respect to PR c++/57.
+       KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
+       c++/826.
+       Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
+       respect to PR c++/57.
+
+2003-03-03  David Carlton  <carlton@math.stanford.edu>
+
+       * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
+       respect to PR c++/33 into FAILs.
+
+2003-03-03  Michael Chastain  <mec@shout.net>
+
+       * configure.in: Update copyright years.
+
+2003-03-03  Michael Chastain  <mec@shout.net>
+
+       * Makefile.in: Update copyright years.
+
+2003-02-28  David Carlton  <carlton@math.stanford.edu>
+
+       * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
+       print class instead of struct and/or superfluous protection
+       specifiers, as long as the resulting output is equivalent to the
+       source code.
+       Delete FIXME from end of messages on tests that don't need
+       fixing.
+
+2003-02-28  David Carlton  <carlton@math.stanford.edu>
+
+       * gdb.c++/templates.exp (do_tests): Allow const in the two
+       Foo<volatile char *>::foo tests.
+
+2003-02-27  Michael Snyder  <msnyder@redhat.com>
+
+       * gdb.base/restore.c (main): Return zero, so exit code 
+       will be consistant.
+
+2003-02-26  David Carlton  <carlton@math.stanford.edu>
+
+       * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
+       char *>::foo" test with respect to PR c++/33.  Create a new test
+       which is identical to that one except that it doesn't put the
+       space between the "char" and the "*"; KFAIL it, too.
+
+2003-02-26  David Carlton  <carlton@math.stanford.edu>
+
+       * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
+       template types into either PASSes or KFAILs (corresponding to PR
+       c++/57).  Tweak indentation.  Update copyright.
+
+2003-02-23  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
+
+2003-02-13  Michael Chastain  <mec@shout.net>
+
+       * gdb.base/exprs.exp: Remove i960 remnants.
+       * gdb.base/funcargs.exp: Likewise.
+       * gdb.base/list.exp: Likewise.
+       * gdb.base/ptype.exp: Likewise.
+
+2003-02-14  David Carlton  <carlton@math.stanford.edu>
+
+       * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
+       pEe->D::vg()" from XFAIL to KFAIL.
+
+2003-02-13  Jason Molenda  (jmolenda@apple.com)
+
+       * gdb.base/maint.exp: Update maint print statistics regexp to include
+       new entries.
+
+2003-02-13  Michael Chastain  <mec@shout.net>
+
+       * gdb.c++/inherit.exp: Remove call to get_debug_format.
+
+2003-02-12  Michael Chastain  <mec@shout.net>
+
+       * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
+       * gdb.c++/inherit.exp: Likewise.
+       * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
+       * gdb.c++/templates.exp: Likewise.
+       * gdb.c++/virtfunc.exp: Likewise.
+
+2003-02-06  Jason Molenda  (jason-cl@molenda.com)
+
+       * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
+       why the code is written that way.
+
+2003-02-05  Michael Chastain  <mec@shout.net>
+
+       * gdb.base/dump.exp: Add missing copyright line.
+
+2003-02-05  Jason Molenda  (jason-cl@molenda.com)
+
+       * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
+       at the beginning so the breakpoint doesn't get set on the loop.
+
+2003-02-05  Michael Chastain  <mec@shout.net>
+
+       * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
+       output for configurations with gcc 2.95.3.
+
+2003-02-05  Keith Seitz  <keiths@redhat.com>
+           Andrew Cagney  <ac131313@redhat.com>
+
+       * gdb.mi/mi-cli.exp: New file.
+       
+2003-02-04  Michael Chastain  <mec@shout.net>
+
+       * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
+       Call perror and then continue.
+
+2003-02-03  Michael Chastain  <mec@shout.net>
+
+       * gdb.c++/pr-1023.cc: New file.
+       * gdb.c++/pr-1023.exp: New file.
+
 2003-02-05  Jim Blandy  <jimb@redhat.com>
 
        * gdb.c++/local.exp: Don't expect Local to be in scope in main;
 
 2003-01-29  Michael Snyder  <msnyder@redhat.com>
 
+       * gdb.base/maint.exp: Allow for leading underscore in symbol.
+       * gdb.base/display.exp: Allow for leading underscore in symbol.
        * gdb.base/args.exp: Skip if target does not support args passing.
 
 2003-01-22  Daniel Jacobowitz  <drow@mvista.com>