* lib/dwarf.exp (Dwarf): New proc "tu".
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index f5b9dcbda4c7c2169f8e9349f0f4ec841008b689..584546472a74db16cb6c836c8e8a96b3dfcc7e14 100644 (file)
@@ -1,3 +1,470 @@
+2013-04-17  Doug Evans  <dje@google.com>
+
+       * lib/dwarf.exp (Dwarf): New proc "tu".
+       * gdb.dwarf2/missing-sig-type.exp: New file.
+
+2013-04-15  Siva Chandra Reddy  <sivachandra@google.com>
+
+       Add option to link testcases with Pthreads library when
+       using 'prepare_for_testing' in tests.
+
+       * lib/gdb.exp (build_executable_from_specs): Use
+       gdb_compile_pthreads to compile if option "pthreads" is
+       specified.
+
+2013-04-15  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.cp/exceptprint.exp: Add regexp catchpoint tests.
+
+2013-04-15  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.base/default.exp: Update for $_exception.
+       * gdb.cp/exceptprint.cc: New file.
+       * gdb.cp/exceptprint.exp: New file.
+       * lib/gdb.exp (skip_libstdcxx_probe_tests): New proc.
+
+2013-04-15  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.cp/typeid.cc: New file.
+       * gdb.cp/typeid.exp: New file.
+
+2013-04-15  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.cp/exception.exp: Add "catch rethrow" tests.
+
+2013-04-13  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.base/completion.exp: Test completion of command
+       'target ctf' if target ctf is supported.
+
+2013-04-10  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/completion.exp: Test "set height", "set listsize" and
+       "set trace-buffer-size" completion.
+       * gdb.base/setshow.exp: Test "set height unlimited".
+       * gdb.trace/trace-buffer-size.exp: Test "set trace-buffer-size
+       unlimited".
+
+2013-04-10  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.trace/actions.exp: Save trace data to CTF.
+       Change to ctf target if GDB supports, read CTF data in ctf
+       target, and check the actions of tracepoints.
+       * gdb.trace/while-stepping.exp: Likewise.
+       * gdb.trace/report.exp: Test GDB saves trace data to CTF
+       format and read CTF trace file if GDB supports.
+       * gdb.trace/tstatus.exp: Save trace data to CTF.  If ctf
+       target is supported, change to ctf target, read trace data and
+       check output of command "tstatus".
+       * gdb.trace/tsv.exp: Save trace frame to CTF.  If GDB supports,
+       read CTF data by target ctf and call check_tsv.
+
+2013-04-10  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.trace/actions.exp (check_tracepoint): New.
+       (top level): Start the tracing and check the actions of
+       tracepoints.  Save trace data to tfile format.  Restart GDB
+       and read trace file in tfile target.  Check the actions of
+       tracepoints again.
+       * gdb.trace/while-stepping.exp: Likewise.
+
+2013-04-10  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.trace/report.exp: Use standard_output_file for saved
+       trace file.
+
+2013-04-10  Hui Zhu  <hui@codesourcery.com>
+
+       * gdb.base/Makefile.in (EXECUTABLES): Add dprintf-pending.
+       (MISCELLANEOUS): Add dprintf-pendshr.sl.
+       * gdb.base/dprintf-pending.c, gdb.base/dprintf-pending.exp: New.
+
+2013-04-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET
+       response.
+
+2013-04-08  Pedro Alves  <palves@redhat.com>
+
+       * gdb.mi/mi-break.exp (test_error): Add tests with garbage after
+       the location.
+
+2013-04-04  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * gdb.cp/cplabel.exp: Allow empty directory in file reported
+       for breakpoint location.
+
+2013-04-04  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * gdb.linespec/linespec.exp: Make dir/file:line tests
+       conditional for non-remote hosts only.
+
+2013-04-04  Stan Shebs  <stan@codesourcery.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * gdb.trace/Makefile.in (PROGS): Add actions-changed.
+       * gdb.trace/actions-changed.c: New file.
+       * gdb.trace/actions-changed.exp: New file.
+       * lib/trace-support.exp (gdb_trace_setactions): Rename to ...
+       (gdb_trace_setactions_command): ... this.  Add "actions_command"
+       parameter, and handle it.
+       (gdb_trace_setactions, gdb_trace_setcommands): New procedures.
+
+2013-04-04  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.server/server-kill.exp: Use command 'tstatus' instead of
+       'step'.
+
+2013-04-03  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.trace/mi-traceframe-changed.exp: Update tfile name to
+       "tfile-basic.tf".
+       (test_tfind_tfile): Likewise.
+
+2013-04-03  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.trace/tfile.c (write_basic_trace_file): Pass argument
+       "tfile-basic.tf" instead of "basic.tf".
+       (write_error_trace_file): Pass argument "tfile-error.tf"
+       instead of "error.tf".
+       * gdb.trace/tfile.exp: Update tfile names to
+       "tfile-basic.tf" and "tfile-error.tf".
+
+2013-04-02  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * gdb.cp/ovsrch.exp (test_class): Correct regexp to allow
+       empty directory in file for breakpoint hit.
+
+2013-03-29  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.base/completion.exp: Test completion of commands
+       "target core", "target tfile" and "target exec".
+       * gdb.trace/tfile.exp: Test completion of command
+       "target tfile".
+
+2013-03-28  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/win_fu_syms: New testcase.
+
+2013-03-28  Doug Evans  <dje@google.com>
+
+       * gdb.base/maint.exp (maint print statistics): Update expected output.
+
+2013-03-28  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/15294
+
+       * gdb.base/list.exp (set_listsize): Adjust to accept $arg == 0 to
+       mean unlimited instead of $arg < 0.
+       (test_listsize): Remove "listsize of 0 suppresses output" test.
+       Test that "set listsize 0" ends up with an unlimited listsize.
+
+2013-03-28  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/list.exp (last_line): New global.
+       (last_line_re): New global.
+       (test_listsize, test_list_function, test_list_forward)
+       (test_repeat_list_command, test_list_range)
+       (test_list_filename_and_function): Use them.
+       * gdb.base/list0.c: Comment the last line of the file with "last
+       line".
+
+2013-03-28  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/list.exp (test_listsize): Adjust test to make sure we
+       list the whole file.
+
+2013-03-28  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/list.exp (set_listsize): Use gdb_test_no_output for
+       "set listsize".
+
+2013-03-26  Keith Seitz  <keiths@redhat.com>
+
+       * gdb.base/dprintf.exp: Fix typo preventing "dprintf info 2"
+       from passing.
+
+2013-03-26  Pedro Alves  <palves@redhat.com>
+
+       * lib/gdb.exp (skip_btrace_tests): Delay deleting the source file
+       until after GDB has run.
+
+2013-03-26  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.trace/actions.c, gdb.trace/circ.c: Add license header.
+       * gdb.trace/collection.c, gdb.trace/tfile.c: Likewise.
+
+2013-03-26  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * gdb.btrace/enable.exp: Add regression test.
+
+2013-03-25  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.cp/m-static.exp: Add destructor-printing tests.
+
+2013-03-25  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.cp/m-static.exp: Add constructor ptype tests.
+       * gdb.cp/m-static.cc (single_constructor): New class.
+       (main): Make instance of single_constructor.
+
+2013-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * gdb.server/server-kill.c: New file.
+       * gdb.server/server-kill.exp: New file.
+
+2013-03-21  Pedro Alves  <palves@redhat.com>
+
+       * gdb.trace/trace-buffer-size.exp (get default buffer size):
+       Expect $gdb_prompt in gdb_test_multiple.
+
+2013-03-21  Doug Evans  <dje@google.com>
+
+       * gdb.base/maint.exp: Update tests for per-command stats.
+
+2013-03-21  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.cp/cpexprs.exp: Add test for FILENAME:: case.
+       * gdb.cp/misc.exp: Add test for FILENAME:: case.
+
+2013-03-20  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/15289
+
+       * gdb.base/remote.exp: Test
+       "set remote hardware-watchpoint-limit -1",
+       "set remote hardware-breakpoint-limit -1",
+       "set remote hardware-watchpoint-limit 2147483647" and
+       "set remote hardware-breakpoint-limit 2147483647".
+
+2013-03-20  Pedro Alves  <palves@redhat.com>
+           Yao Qi  <yao@codesourcery.com>
+
+       * gdb.trace/tfile.c: Add comments.
+       (nonconstglob): New global.
+       * gdb.trace/tfile.exp: Add comments.  Test printing a non-const
+       global that is not covered by the trace frame.  Test
+       disassembling.
+
+2013-03-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/valgrind-infcall.exp
+       (continue #$continue_count) <remote connection closed>
+       (continue #$continue_count) <valgrind vgdb has terminated>: Add kill of
+       $valgrind_pid.
+
+2013-03-15  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.cp/overload.cc (intintfunc): New.
+       * gdb.cp/overload.exp: Add regression test.
+
+2013-03-15  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.threads/non-ldr-exc-1.exp (do_test): Fix the indent of
+       using with_test_prefix.
+       * gdb.threads/non-ldr-exc-2.exp (do_test): Likewise.
+       * gdb.threads/non-ldr-exc-3.exp (do_test): Likewise.
+       * gdb.threads/non-ldr-exc-4.exp (do_test): Likewise.
+       * gdb.threads/watchpoint-fork.exp (test): Likewise.
+       * gdb.base/break-interp.exp (test_core): Likewise.
+       (test_attach_gdb): Likewise.
+       * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
+       * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
+       Likewise.
+       * gdb.base/jit-so.exp (one_jit_test): Likewise.
+       * gdb.base/jit.exp (one_jit_test): Likewise.
+       * gdb.base/sepdebug.exp (test_different_dir): Likewise.
+       * gdb.dwarf2/dw2-dir-file-name.exp (test): Likewise.
+       * gdb.dwarf2/dw2-noloc.exp (file_symbols): Likewise.
+       * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved):
+       Likewise.
+       * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
+       Likewise.
+       * gdb.mi/mi-watch.exp test_watchpoint_all): Likewise.
+       * gdb.mi/pr11022.exp (test_memory_changed_observer): Likewise.
+       * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Likewise.
+       (tracepoint_change_loc_2): Likewise.
+       * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
+       Likewise.
+       (disconnected_tfind): Likewise.
+       * gdb.trace/mi-traceframe-changed.exp (test_tfind_tfile):
+       Likewise.
+       (test_tfind_remote): Likewise.
+       * gdb.trace/mi-tracepoint-changed.exp (test_reconnect):
+       Likewise.
+       (test_pending_resolved): Likewise.
+       * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
+       Likewise.
+       (test_upload_tsv): Likewise.
+       * gdb.trace/pending.exp (pending_tracepoint_resolved):
+       Likewise.
+       (pending_tracepoint_works): Likewise.
+       * gdb.trace/report.exp (use_collected_data): Likewise.
+       * gdb.trace/status-stop.exp (test_tstart_tstop_tstart):
+       Likewise.
+       (test_tstart_tstart, test_buffer_full_tstart): Likewise.
+       * gdb.trace/strace.exp (strace_info_marker): Likewise.
+       (strace_trace_on_same_addr): Likewise.
+       (strace_trace_on_diff_addr): Likewise.
+       * gdb.trace/unavailable.exp (gdb_collect_args_test): Likewise.
+       (gdb_collect_locals_test): Likewise.
+       (gdb_unavailable_registers_test): Likewise.
+       (gdb_collect_globals_test): Likewise.
+
+2013-03-15  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.base/condbreak.exp: Add semicolon back which was removed
+       by my previous commit.
+
+2013-03-14  Yao Qi  <yao@codesourcery.com>
+
+       * config/monitor.exp (gdb_target_cmd): Remove semicolon after
+       'return'.
+       (gdb_target_monitor, gdb_load): Likewise.
+       * config/sid.exp (gdb_load): Likewise.
+       * config/slite.exp (gdb_load): Likewise.
+       * config/vx.exp (gdb_start, spawn_vxgdb): Likewise.
+       * gdb.ada/arrayidx.exp, gdb.ada/null_array.exp: Likewise.
+       * gdb.arch/mips-octeon-bbit.exp (single_step): Likewise.
+       (single_step_until): Likewise.
+       * gdb.arch/powerpc-d128-regs.exp: Likewise.
+       * gdb.arch/system-gcore.exp: Likewise.
+       * gdb.base/bigcore.exp (extract_heap): Likewise.
+       * gdb.base/break-on-linker-gcd-function.exp: Likewise.
+       * gdb.base/call-ar-st.exp: Likewise.
+       * gdb.base/call-rt-st.exp: Likewise.
+       * gdb.base/call-sc.exp, gdb.base/call-strs.exp: Likewise.
+       * gdb.base/callfuncs.exp, gdb.base/completion.exp: Likewise.
+       * gdb.base/condbreak.exp, gdb.base/constvars.exp: Likewise.
+       * gdb.base/corefile.exp: Likewise.
+       * gdb.base/dbx.exp (gdb_file_cmd): Likewise.
+       * gdb.base/exprs.exp, gdb.base/fileio.exp: Likewise.
+       * gdb.base/fixsection.exp: Likewise.
+       * gdb.base/funcargs.exp: Likewise.
+       * gdb.base/gcore-buffer-overflow.exp: Likewise.
+       * gdb.base/gcore-relro.exp: Likewise.
+       * gdb.base/gcore.exp, gdb.base/gdb11530.exp: Likewise.
+       * gdb.base/gdb11531.exp, gdb.base/gnu-ifunc.exp: Likewise.
+       * gdb.base/info-os.exp, gdb.base/info-proc.exp: Likewise.
+       * gdb.base/interp.exp, gdb.base/langs.exp:: Likewise.
+       * gdb.base/list.exp: Likewise.
+       (set_listsize): Likewise.
+       * gdb.base/logical.exp, gdb.base/mips_pro.exp: Likewise.
+       * gdb.base/miscexprs.exp, gdb.base/nodebug.exp: Likewise.
+       * gdb.base/opaque.exp, gdb.base/pointers.exp: Likewise.
+       * gdb.base/psymtab.exp, gdb.base/ptype.exp: Likewise.
+       * gdb.base/relational.exp, gdb.base/scope.exp: Likewise.
+       * gdb.base/setvar.exp: Likewise.
+       (test_set): Likewise.
+       * gdb.base/signals.exp, gdb.base/sizeof.exp: Likewise.
+       * gdb.base/solib-overlap.exp: Likewise.
+       * gdb.base/store.exp, gdb.base/structs.exp: Likewise.
+       * gdb.base/structs2.exp, gdb.base/volatile.exp: Likewise.
+       * gdb.base/watchpoint.exp (initialize): Likewise.
+       (test_simple_watchpoint): Likewise.
+       (test_disabling_watchpoints): Likewise.
+       (test_watchpoint_triggered_in_syscall): Likewise.
+       * gdb.base/whatis.exp, gdb.cp/ambiguous.exp: Likewise.
+       * gdb.cp/casts.exp, gdb.cp/ctti.exp: Likewise.
+       * gdb.cp/namespace.exp, gdb.cp/nsdecl.exp: Likewise.
+       * gdb.cp/psmang.exp, gdb.dwarf2/dw2-ranges.exp: Likewise.
+       * gdb.hp/gdb.aCC/optimize.exp: Likewise.
+       * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
+       * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
+       * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
+       * gdb.hp/gdb.compat/xdb1.exp: Likewise.
+       * gdb.hp/gdb.compat/xdb2.exp: Likewise.
+       * gdb.hp/gdb.compat/xdb3.exp: Likewise.
+       * gdb.hp/gdb.defects/bs14602.exp: Likewise.
+       * gdb.hp/gdb.defects/solib-d.exp: Likewise.
+       * gdb.mi/gdb792.exp: Likewise.
+       * gdb.mi/mi-inheritance-syntax-error.exp: Likewise.
+       * gdb.mi/mi-logging.exp, gdb.mi/mi-var-cp.exp : Likewise.
+       * gdb.mi/mi-var-rtti.exp, gdb.python/py-type.exp: Likewise.
+       * gdb.threads/gcore-thread.exp: Likewise.
+       (load_core): Likewise.
+       * gdb.threads/pthreads.exp (all_threads_running): Likewise.
+       (test_startup, check_control_c): Likewise.
+       * gdb.threads/sigstep-threads.exp: Likewise.
+       * gdb.threads/thread_check.exp: Likewise.
+       * gdb.trace/backtrace.exp, gdb.trace/change-loc.exp: Likewise.
+       * gdb.trace/circ.exp (run_trace_experiment): Likewise.
+       (set_a_tracepoint, trace_buffer_normal): Likewise.
+       (gdb_trace_circular_tests): Likewise.
+       * gdb.trace/collection.exp: Likewise.
+       * gdb.trace/disconnected-tracing.exp: Likewise.
+       * gdb.trace/infotrace.exp: Likewise.
+       * gdb.trace/mi-traceframe-changed.exp: Likewise.
+       * gdb.trace/mi-tracepoint-changed.exp: Likewise.
+       * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): Likewise.
+       * gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp: Likewise.
+       * gdb.trace/pending.exp, gdb.trace/report.exp: Likewise.
+       * gdb.trace/stap-trace.exp: Likewise.
+       * gdb.trace/status-stop.exp,gdb.trace/strace.exp: Likewise.
+       * gdb.trace/tfind.exp, gdb.trace/trace-break.exp: Likewise.
+       * gdb.trace/trace-buffer-size.exp: Likewise.
+       * gdb.trace/tspeed.exp, gdb.trace/tsv.exp: Likewise.
+       * gdb.trace/unavailable.exp: Likewise.
+       * gdb.trace/while-dyn.exp: Likewise.
+       * lib/fortran.exp (set_lang_fortran): Likewise.
+       * lib/gdb.exp (default_gdb_version, gdb_start_cmd): Likewise.
+       (gdb_breakpoint, gdb_reinitialize_dir): Likewise.
+       (default_gdb_start, get_compiler_info): Likewise.
+       (gdb_compile, gdb_compile_objc, gdb_reload, gdb_init): Likewise.
+       (get_debug_format, setup_xfail_format): Likewise.
+       (rerun_to_main, gdb_skip_float_test): Likewise.
+       (build_id_debug_filename_get, get_remotetimeout): Likewise.
+       * lib/java.exp (set_lang_java): Likewise.
+       * lib/mi-support.exp (default_mi_gdb_start): Likewise.
+       (mi_gdb_reinitialize_dir, mi_gdb_target_cmd): Likewise.
+       (mi_gdb_file_cmd, mi_gdb_test): Likewise.
+       (mi_run_cmd_full, mi_expect_interrupt): Likewise.
+       * lib/objc.exp (set_lang_objc): Likewise.
+       * lib/pascal.exp (set_lang_pascal): Likewise.
+       * lib/prompt.exp (default_prompt_gdb_start): Likewise.
+       * lib/trace-support.exp (gdb_trace_setactions, gdb_tfind_test): Likewise.
+       (gdb_readexpr, gdb_gettpnum, gdb_find_recursion_test_baseline): Likewise.
+
+2013-03-14  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       PR c++/15203
+       PR c++/15210
+       * gdb.cp/m-static.cc (keepalive_int): New function.
+       (gnu_obj_1::method): New variable `sintvar', call `keepalive_int'.
+       * gdb.cp/m-static.exp: New test for `sintvar'.
+
+2013-03-14  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.trace/tstatus.exp (run_trace_experiment): Save the output
+       of 'tstatus' into tstatus_output.
+       (top level): Save the trace data to tfile.  Read trace file in
+       tfile target.  Check the trace status.
+
+2013-03-13  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.trace/tsv.exp (check_tsv): New.
+       (top level): Save a tfile on current trace session. Call
+       check_tsv on live target.  Load the tfile with target tfile
+       and call check_tsv again.
+
+2013-03-13  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.trace/tsv.exp: Remove code unrelated to testing TSV.
+       Replace some "gdb_test" with "gdb_test_no_output".
+
+2013-03-12  Paul Hilfinger  <hilfingr@adacore.com>
+
+        * gdb.ada/expr_delims.exp: New file.
+        * gdb.ada/expr_delims/foo.adb: New file.
+       * gdb.ada/expr_delims/pck.ads: New file.
+       * gdb.ada/expr_delims/pck.adb: New file.
+
+2013-03-11  Keith Seitz  <keiths@redhat.com>
+
+       * watchpoint.exp (test_no_hw_watchpoints): Add test using
+       both condition and thread.  Then delete the watchpoint.
+
 2013-03-11  Christian Himpel  <christian.himpel@intel.com>
 
        * Makefile.in: Add btrace testsuite.
This page took 0.048555 seconds and 4 git commands to generate.