PR c++/9197:
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index f67736cd3b6e8399441bf04639e258244d77c7fe..6e8a0f4cd2e6379ec07b6b4f7186cd49086fa75b 100644 (file)
@@ -1,3 +1,367 @@
+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.
+       * configure: Regenerated.
+       * configure.ac: Add btrace testsuite.
+       * gdb.btrace/Makefile.in: New file.
+       * gdb.btrace/enable.c: New file.
+       * gdb.btrace/enable.exp: New file.
+       * gdb.btrace/function_call_history.c: New file.
+       * gdb.btrace/function_call_history.exp: New file.
+       * gdb.btrace/instruction_history.c: New file.
+       * gdb.btrace/instruction_history.exp: New file.
+       * gdb.btrace/instruction_history.S: New file.
+       * lib/gdb.exp: Add btrace skip proc.
+
+2013-03-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix entry-values if the callee called a noreturn function.
+       * gdb.arch/amd64-tailcall-noret.S: New file.
+       * gdb.arch/amd64-tailcall-noret.c: New file.
+       * gdb.arch/amd64-tailcall-noret.exp: New file.
+
+2013-03-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix entry-values in C++ across CUs.
+       * gdb.arch/amd64-tailcall-cxx.exp: New file.
+       * gdb.arch/amd64-tailcall-cxx1.S: New file.
+       * gdb.arch/amd64-tailcall-cxx1.cc: New file.
+       * gdb.arch/amd64-tailcall-cxx2.S: New file.
+       * gdb.arch/amd64-tailcall-cxx2.cc: New file.
+
+2013-03-08  Stan Shebs  <stan@codesourcery.com>
+           Hafiz Abid Qadeer  <abidh@codesourcery.com>
+
+       gdb/testsuite/
+       * gdb.trace/trace-buffer-size.exp: New file.
+       * gdb.trace/trace-buffer-size.c: New file.
+
+2013-03-06  Pedro Alves  <palves@redhat.com>
+
+       * gdb.trace/tstatus.exp (run_trace_experiment): When the target
+       doesn't support the tested optional feature, call "unsupported"
+       with the same test message as the "pass" case, instead of calling
+       "pass" with a different message.  Use the same text for the "fail"
+       cases too.
+
+2013-03-06  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.trace/tstatus.exp: Remove the invocation of
+       gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
+       (test_tracepoints): Don't set fast tracepoint.
+       (top level): Don't check agent library is loaded or not.
+
+2013-03-06  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.trace/tstatus.exp (run_trace_experiment): Escape
+       parentheses by "\\".
+
+2013-03-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.linespec/base/one/thefile.cc (twodup): New.
+       (m): Call it.
+       * gdb.linespec/base/two/thefile.cc (dupname): New.
+       (n): Call it.
+       * gdb.linespec/break-ask.exp: New file.
+       * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
+
+2013-02-28  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.trace/report.exp: Move some code to ...
+       (use_collected_data): New.
+       (top level): Call use_collected_data once on the live target.
+       Save at file of the current trace session, load it with target
+       tfile, and call use_collected_data again.
+
+2013-02-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.threads/fork-thread-pending.c (main): Add alarm.
+
+2013-02-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
+       Add final kill of ${valgrind_pid}.
+
+2013-02-20  Siva Chandra Reddy  <sivachandra@google.com>
+
+       * gdb.python/py-arch.c: New test case
+       * gdb.python/py-arch.exp: New tests to test
+       gdb.Architecture.disassemble
+       * gdb.python/Makefile.in: Add py-arch to the list of
+       EXECUTABLES.
+
+2013-02-18  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.dwarf2/subrange.exp: New file.
+
+2013-02-15  Pedro Alves  <pedro@codesourcery.com>
+           Hafiz Abid Qadeer  <abidh@codesourcery.com>
+
+       * gdb.trace/tfile.exp: Add test for -trace-status command.
+
 2013-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * gdb.threads/pthread_cond_wait.c (main): Remove variable ts.  Replace
This page took 0.04357 seconds and 4 git commands to generate.