2011-12-16 Phil Muldoon <pmuldoon@redhat.com>
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index 45c9542064ea35670e5d14f00f4c9915e0705d4c..4bb605e6bb56b283dfefb726f97886df5167f2fd 100644 (file)
@@ -1,3 +1,379 @@
+2011-12-16  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * gdb.python/py-function.exp: Change "on" to "full" for
+       python print-stack.  Add set/show python print-stack
+       off|full|message tests.
+
+2011-12-15  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.trace/strace.c: New
+       * gdb.trace/strace.exp: New.
+
+2011-12-14  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
+
+2011-12-14  Doug Evans  <dje@google.com>
+
+       * lib/gdb.exp (gdb_start_cmd): Fix error return value.
+
+2011-12-14  Pedro Alves  <pedro@codesourcery.com>
+
+       PR threads/10729
+
+       * gdb.mi/watch-nonstop.c: New file.
+       * gdb.mi/mi-watch-nonstop.exp: New file.
+
+2011-12-13  Pedro Alves  <pedro@codesourcery.com>
+           Doug Evans  <dje@google.com>
+
+       * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
+       (clean_restart): Remove references to the gdb_stub target board
+       variable.
+       (gdb_step_for_stub): Delete.
+
+       * gdb.base/annota1.exp: Remove all references to [target_info
+       exists gdb_stub], gdb_step_for_stub and usestubs.
+       * gdb.base/annota3.exp: Ditto.
+       * gdb.base/async.exp: Ditto.
+       * gdb.base/break.exp: Ditto.
+       * gdb.base/code-expr.exp: Ditto.
+       * gdb.base/commands.exp: Ditto.
+       * gdb.base/completion.exp: Ditto.
+       * gdb.base/condbreak.exp: Ditto.
+       * gdb.base/consecutive.exp: Ditto.
+       * gdb.base/cvexpr.exp: Ditto.
+       * gdb.base/define.exp: Ditto.
+       * gdb.base/display.exp: Ditto.
+       * gdb.base/ena-dis-br.exp: Ditto.
+       * gdb.base/environ.exp: Ditto.
+       * gdb.base/gnu-ifunc.exp: Ditto.
+       * gdb.base/maint.exp: Ditto.
+       * gdb.base/pending.exp: Ditto.
+       * gdb.base/sect-cmd.exp: Ditto.
+       * gdb.base/sepdebug.exp: Ditto.
+       * gdb.base/unload.exp: Ditto.
+       * gdb.base/watchpoint-solib.exp: Ditto.
+       * gdb.cp/annota2.exp: Ditto.
+       * gdb.cp/annota3.exp: Ditto.
+       * gdb.dwarf2/dw2-inline-param.exp: Ditto.
+       * gdb.hp/gdb.compat/xdb1.exp: Ditto.
+       * gdb.mi/mi-pending.exp: Ditto.
+       * gdb.trace/circ.exp: Ditto.
+       * gdb.cp/ovldbreak.exp: Ditto.  Adjust expected line numbers.
+       * gdb.base/list.exp: Ditto.
+
+       * gdb.base/all-types.c: Remove all calls to set_debug_traps and
+       breakpoint function and all references to the usestubs macro.
+       * gdb.base/exprs.c: Ditto.
+       * gdb.base/freebpcmd.c: Ditto.
+       * gdb.base/bitfields.c: Ditto.
+       * gdb.base/bitfields2.c: Ditto.
+       * gdb.base/break.c: Ditto.
+       * gdb.base/call-sc.c: Ditto.
+       * gdb.base/call-signals.c: Ditto.
+       * gdb.base/callfuncs.c: Ditto.
+       * gdb.base/charset.c: Ditto.
+       * gdb.base/consecutive.c: Ditto.
+       * gdb.base/constvars.c: Ditto.
+       * gdb.base/funcargs.c: Ditto.
+       * gdb.base/int-type.c: Ditto.
+       * gdb.base/interrupt.c: Ditto.
+       * gdb.base/langs0.c: Ditto.
+       * gdb.base/list0.c: Ditto.
+       * gdb.base/mips_pro.c: Ditto.
+       * gdb.base/miscexprs.c: Ditto.
+       * gdb.base/nodebug.c: Ditto.
+       * gdb.base/opaque0.c: Ditto.
+       * gdb.base/pointers.c: Ditto.
+       * gdb.base/printcmds.c: Ditto.
+       * gdb.base/ptype.c: Ditto.
+       * gdb.base/recurse.c: Ditto.
+       * gdb.base/reread1.c: Ditto.
+       * gdb.base/reread2.c: Ditto.
+       * gdb.base/restore.c: Ditto.
+       * gdb.base/return.c: Ditto.
+       * gdb.base/run.c: Ditto.
+       * gdb.base/scope0.c: Ditto.
+       * gdb.base/sepdebug.c: Ditto.
+       * gdb.base/setshow.c: Ditto.
+       * gdb.base/setvar.c: Ditto.
+       * gdb.base/sigall.c: Ditto.
+       * gdb.base/signals.c: Ditto.
+       * gdb.base/structs.c: Ditto.
+       * gdb.base/structs2.c: Ditto.
+       * gdb.base/testenv.c: Ditto.
+       * gdb.base/twice.c: Ditto.
+       * gdb.base/unwindonsignal.c: Ditto.
+       * gdb.base/watchpoint.c: Ditto.
+       * gdb.base/watchpoints.c: Ditto.
+       * gdb.base/whatis.c: Ditto.
+       * gdb.cp/classes.cc: Ditto.
+       * gdb.cp/cplusfuncs.cc: Ditto.
+       * gdb.cp/derivation.cc: Ditto.
+       * gdb.cp/formatted-ref.cc: Ditto.
+       * gdb.cp/misc.cc: Ditto.
+       * gdb.cp/overload.cc: Ditto.
+       * gdb.cp/ovldbreak.cc: Ditto.
+       * gdb.cp/ref-params.cc: Ditto.
+       * gdb.cp/ref-types.cc: Ditto.
+       * gdb.cp/templates.cc: Ditto.
+       * gdb.cp/virtfunc.cc: Ditto.
+       * gdb.hp/gdb.aCC/run.c: Ditto.
+       * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
+       * gdb.hp/gdb.compat/xdb0.c: Ditto.
+       * gdb.reverse/consecutive-reverse.c: Ditto.
+       * gdb.reverse/sigall-reverse.c: Ditto.
+       * gdb.reverse/until-reverse.c: Ditto.
+       * gdb.reverse/watch-reverse.c: Ditto.
+       * gdb.trace/actions.c: Ditto.
+       * gdb.trace/circ.c: Ditto.
+       * gdb.trace/collection.c: Ditto.
+
+2011-12-13  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
+       (func6, func7): New.
+       (main): Call func6 and func7.
+       * gdb.base/watchpoint.exp (test_wide_location_1)
+       (test_wide_location_2): New.
+       (top level): Re-enable hardware watchpoints if necessary.  Call
+       test_wide_location_1 and test_wide_location_2.
+
+2011-12-11  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
+
+2011-12-11  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
+       expected output for unsupported case.
+
+2011-12-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       PR testsuite/12649
+       * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
+       Protect gdb_test_multiple by final $gdb_prompt match.
+
+2011-12-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
+       New variable, new test.
+       (list static-method.cc:xxx::(anonymous namespace)::A::func)
+       (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
+       (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
+       (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
+       them if HAVE_GCC_45682_FIXED is not set.
+
+2011-12-10  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.trace/status-stop.exp: New.
+       * gdb.trace/status-stop.c: New.
+
+2011-12-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.reverse/until-precsave.exp (run to end of main) Extend the
+       timeout.
+
+2011-12-08  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
+       condition.
+
+2011-12-07  Stan Shebs  <stan@codesourcery.com>
+
+       * gdb.trace/tfind.exp: Update for output changes.
+
+2011-12-07  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
+       throws "Cannot insert catchpoints in this configuration".
+       * gdb.ada/mi_catch_ex.exp: Likewise.
+
+2011-12-06  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.base/break-always.exp: Test changing memory at addresses
+       with breakpoints inserted.
+
+2011-12-06  Joel Brobecker  <brobecker@acacore.com>
+
+        * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
+        involving a fully qualified function name.
+
+2011-12-06  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.ada/homonym.exp: Add three breakpoint tests.
+
+2011-12-06  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.base/solib-weak.exp (do_test): Remove kfail.
+       * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
+       * gdb.objc/objcdecode.exp: Update for output changes.
+       * gdb.linespec/linespec.exp: New file.
+       * gdb.linespec/lspec.cc: New file.
+       * gdb.linespec/lspec.h: New file.
+       * gdb.linespec/body.h: New file.
+       * gdb.linespec/base/two/thefile.cc: New file.
+       * gdb.linespec/base/one/thefile.cc: New file.
+       * gdb.linespec/Makefile.in: New file.
+       * gdb.cp/templates.exp (test_template_breakpoints): Update for
+       output changes.
+       * gdb.cp/re-set-overloaded.exp: Remove kfail.
+       * gdb.cp/ovldbreak.exp: Update for output changes.  "all" test now
+       makes one breakpoint.
+       * gdb.cp/method2.exp (test_break): Update for output changes.
+       * gdb.cp/mb-templates.exp: Update for output changes.
+       * gdb.cp/mb-inline.exp: Update for output changes.
+       * gdb.cp/mb-ctor.exp: Update for output changes.
+       * gdb.cp/ovsrch.exp: Use fully-qualified names.
+       * gdb.base/solib-symbol.exp: Run to main later.  Breakpoint now
+       has multiple matches.
+       * gdb.base/sepdebug.exp: Disable pending breakpoints.  Update for
+       error message change.
+       * gdb.base/list.exp (test_list_filename_and_number): Update for
+       error message change.
+       * gdb.base/break.exp: Disable pending breakpoints.  Update for
+       output changes.
+       * configure.ac: Add gdb.linespec.
+       * configure: Rebuild.
+       * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
+
+2011-12-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
+       last_break register on s390*-*-* targets.
+
+2011-12-06  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
+       * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
+       of parameter X in procedure Foo.
+
+2011-12-05  Stan Shebs  <stan@codesourcery.com>
+
+       * gdb.trace/tfind.exp: Update help string matches.
+
+2011-12-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.server/ext-run.exp (get process list): Accept also systemd
+       as PID 1.
+
+2011-12-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
+       starting GDB.
+       * gdb.base/default.exp: Replace target use_gdb_stub checks by global
+       $use_gdb_stub.
+       * gdb.base/display.exp: Likewise.
+       * gdb.base/ending-run.exp: Likewise.
+       * gdb.base/list.exp (test_listsize): Likewise.
+       * gdb.base/setshow.exp: Likewise.
+       * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
+       * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
+       check by global $use_gdb_stub.
+       (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
+       (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
+       (default_gdb_init): Unset global $use_gdb_stub.
+       (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
+       by global $use_gdb_stub.
+       * lib/gdbserver-support.exp: Extend comments for set_board_info
+       gdb_protocol and gdb,socketport.
+       (gdbserver_start_extended): Set global gdbserver_protocol and
+       gdbserver_gdbport.  Clear global use_gdb_stub.
+       * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
+       from target use_gdb_stub.
+       (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
+
+2011-12-03  Doug Evans  <dje@google.com>
+
+       * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
+       (gdb_step_for_stub): Add comments.
+
+2011-12-02  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
+       to the caller.
+       (gdb_test_multiple): Likewise.
+
+2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix gdb.mi/mi-solib.exp without system debug info installed.
+       * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
+       expect attribute, return 0 for it.  Update comments.
+
+2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
+       (corrupted list): Adjust the expectation.
+
+2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       PR threads/13448
+       * gdb.dwarf2/dw2-var-zero-addr.S: New file.
+       * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
+       * gdb.threads/tls-var-main.c: New file.
+       * gdb.threads/tls-var.c: New file.
+       * gdb.threads/tls-var.exp: New file.
+
+2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       PR testsuite/12649
+       * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
+       Protect gdb_test_multiple by final $gdb_prompt match.
+       * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
+       * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
+       (test_tracepoints): Likewise.
+
+2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       PR breakpoints/13346
+       * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
+       * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
+       * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
+
+2011-12-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
+       * gdb.ada/homonym/homonym.adb: For use of all types defined
+       locally inside both Get_Value subprograms.
+
+2011-12-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix racy FAILs.
+       * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
+       of send_gdb.
+
+2011-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdb.base/testenv.exp: Skip on remote targets.  Unset global
+       environment variable after test completed.
+
+2011-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdb.base/solib-nodir.exp: Skip if remote target.
+       * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
+       application.  Call gdb_load_shlibs.
+       * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
+
+2011-11-29  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
+
+2011-11-28  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/fullname_bp: New testcase.
+
+2011-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       PR testsuite/12649
+       * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
+       Wrap send_gdb into a new gdb_test.
+
+       Code cleanup.
+       * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
+       Convert send_gdb and gdb_expect to gdb_test_multiple.
+
 2011-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
        (switch_stack_to_other): New test function.
        * gdb.arch/thumb-prologue.exp: New test cases.
 
-2010-11-08  Maciej W. Rozycki  <macro@codesourcery.com>
+2011-11-08  Maciej W. Rozycki  <macro@codesourcery.com>
 
        * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
 
This page took 0.03756 seconds and 4 git commands to generate.