New "owner" attribute for gdb.Objfile.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index 148a44cd069ac0b4f3a9b021934e4d81ebca1571..0e973f7eb3cb76100a7a43b096092881561e38f2 100644 (file)
@@ -1,3 +1,403 @@
+2014-12-08  Doug Evans  <dje@google.com>
+
+       * gdb.python/py-objfile.exp: Add tests for objfile.owner.
+
+2014-12-05  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.guile/scm-error.exp: Remove the third argument to
+       gdb_remote_download.
+       * gdb.guile/scm-frame-args.exp: Likewise.
+       * gdb.guile/scm-section-script.exp: Likewise.
+
+2014-12-05  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
+
+2014-12-04  Doug Evans  <dje@google.com>
+
+       * gdb.python/py-objfile.exp: Add tests for
+       objfile.add_separate_debug_file.
+
+2014-12-04  Doug Evans  <dje@google.com>
+
+       * lib/gdb.exp (get_build_id): New function.
+       (build_id_debug_filename_get): Rewrite to use it.
+       * gdb.python/py-objfile.exp: Add test for objfile.build_id.
+
+2014-12-04  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
+       `method(long)', not just 0x0.
+       * gdb.cp/nsalias.exp: Align code labels to 4.
+       * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
+       * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
+       * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
+       * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
+       (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
+       * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
+
+2014-12-02  Doug Evans  <dje@google.com>
+
+        PR symtab/17602
+       * gdb.cp/anon-ns.cc: Move guts of this file to ...
+       * gdb.cp/anon-ns-2.cc: ... here.  New file.
+       * gdb.cp/anon-ns.exp: Update.
+
+2014-12-02  Nick Bull  <nicholaspbull@gmail.com>
+
+       * gdb.python/py-events.py (inferior_call_handler): New.
+       (register_changed_handler, memory_changed_handler): New.
+       (test_events.invoke): Register new handlers.
+       * gdb.python/py-events.exp: Add tests for inferior call,
+       memory_changed and register_changed events.
+
+2014-12-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.base/execl-update-breakpoints.exp: Specify the link address
+       with '-Ttext-segment' instead of '-Ttext'.  Fall back to '-Ttext'
+       if the linker doesn't understand this.
+
+2014-12-01  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.python/python.exp: Change expected reply to help().
+
+2014-12-01  Yao Qi  <yao@codesourcery.com>
+
+       * configure.ac: Remove AC_ARG_ENABLE for gdbtk.  Don't invoke
+       AC_CONFIG_SUBDIRS(gdb.gdbtk).
+       * configure: Re-generated.
+
+2014-11-28  Siva Chandra Reddy  <sivachandra@google.com>
+
+       * gdb.cp/chained-calls.cc: New file.
+       * gdb.cp/chained-calls.exp: New file.
+       * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
+
+2014-11-28  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.ada/py_range.exp: Add parentheses to python calls to print.
+       * gdb.dwarf2/symtab-producer.exp: Same.
+       * gdb.gdb/python-interrupts.exp: Same.
+       * gdb.gdb/python-selftest.exp: Same.
+       * gdb.python/py-linetable.exp: Same.
+       * gdb.python/py-type.exp: Same.
+       * gdb.python/py-value-cc.exp: Same.
+       * gdb.python/py-value.exp: Same.
+
+2014-11-28  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.base/break-probes.exp: Match library name prefixed with
+       sysroot.
+
+2014-11-27  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.python/py-linetable.exp: Escape properly sorted(fset)
+       test expected output.  Add parentheses for the call to print.
+       Remove L suffix from integers.
+
+2014-11-26  Doug Evans  <dje@google.com>
+
+       * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
+
+2014-11-22  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.trace/entry-values.c: Remove asms.
+       (foo): Add foo_label.
+       (bar): Add bar_label.
+       * gdb.trace/entry-values.exp: Remove code computing  foo's
+       length and bar's length.
+       (Dwarf::assemble): Invoke function_range for bar and use
+       MACRO_AT_func for foo.
+
+2014-11-22  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
+       and .Lgcc43_procstart.  Use .Lgcc42_procstart instead of gcc42.
+       Use .Lgcc43_procstart instead of gcc43.
+
+2014-11-21  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/n_arr_bound: New testcase.
+
+2014-11-20  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       PR breakpoints/10737
+       * gdb.base/catch-syscall.exp (do_syscall_tests): Call
+       test_catch_syscall_multi_arch.
+       (test_catch_syscall_multi_arch): New function.
+
+2014-11-20  Doug Evans  <xdje42@gmail.com>
+
+       * gdb.base/maint.exp: Update expected output.
+
+2014-11-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
+       4-byte instruction on S390.
+
+2014-11-19  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/arr_arr: New testcase.
+
+2014-11-19  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/pkd_arr_elem: New Testcase.
+
+2014-11-18  Luis Machado  <lgustavo@codesourcery.com>
+
+       * gdb.reverse/break-precsave: Expect completion message for
+       core file reads.
+       * gdb.reverse/consecutive-precsave.exp: Likewise.
+       * gdb.reverse/finish-precsave.exp: Likewise.
+       * gdb.reverse/i386-precsave.exp: Likewise.
+       * gdb.reverse/machinestate-precsave.exp: Likewise.
+       * gdb.reverse/sigall-precsave.exp: Likewise.
+       * gdb.reverse/solib-precsave.exp: Likewise.
+       * gdb.reverse/step-precsave.exp: Likewise.
+       * gdb.reverse/until-precsave.exp: Likewise.
+       * gdb.reverse/watch-precsave.exp: Likewise.
+
+2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.base/bp-permanent.c: Include unistd.h.
+       * gdb.python/py-framefilter-mi.c (main): Add return type.
+       * gdb.python/py-framefilter.c (main): Likewise.
+       * gdb.trace/actions-changed.c (main): Likewise.
+
+2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.mi/until.c: Add eye-catchers.
+       * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
+       line numbers.
+
+2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.base/condbreak.exp: Drop references to removed non-prototype
+       function header variants in break1.c.
+       * gdb.base/ena-dis-br.exp: Likewise.
+       * gdb.base/hbreak2.exp: Likewise.
+       * gdb.reverse/until-precsave.exp: Drop references to removed
+       non-prototype function header variants in ur1.c.
+       * gdb.reverse/until-reverse.exp: Likewise.
+
+2014-11-17  Petr Machata  <pmachata@redhat.com>
+
+       * lib/dwarf.exp  (Dwarf::cu, Dwarf::tu): Emit
+       ${_cu_offset_size} bytes abbrev offset.
+
+2014-11-15  Doug Evans  <xdje42@gmail.com>
+
+       PR symtab/17559
+       * gdb.base/line-symtabs.exp: New file.
+       * gdb.base/line-symtabs.c: New file.
+       * gdb.base/line-symtabs.h: New file.
+
+2014-11-14  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
+       (func): Add label func_label.
+       * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
+       Replace low_pc and high_pc with MACRO_AT_range.
+       Replace name, low_pc and high_pc with MACRO_AT_func.
+
+2014-11-14  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
+       Replace name, low_pc and high_pc with MACRO_AT_func.
+
+2014-11-14  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
+       produce debug information.
+       * gdb.dwarf2/implptr-optimized-out.S: Removed.
+
+2014-11-14  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
+       object and get function length.
+       (Dwarf::assemble): Replace name, low_pc and high_pc attributes
+       with MACRO_AT_func.
+       (top-level): Replace gdb_compile and clean_restart with
+       prepare_for_testing.
+       * gdb.dwarf2/main.c (main): Add label main_label.
+
+2014-11-14  Yao Qi  <yao@codesourcery.com>
+
+       * lib/dwarf.exp (function_range): New procedure.
+       (Dwarf::_handle_macro_at_func): New procedure.
+       (Dwarf::_handle_macro_at_range): New procedure.
+       (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
+
+2014-11-14  Yao Qi  <yao@codesourcery.com>
+
+       * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
+       (_handle_attribute): New procedure.
+
+2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.ada/cond_lang/foo.c (callme): Add return type.
+       * gdb.base/call-sc.c (zed): Likewise.
+       * gdb.base/checkpoint.c (main): Likewise.
+       * gdb.base/dump.c (main): Likewise.
+       * gdb.base/gcore.c (main): Likewise.
+       * gdb.base/huge.c (main): Likewise.
+       * gdb.base/multi-forks.c (main): Likewise.
+       * gdb.base/pr10179-a.c (main): Likewise.
+       * gdb.base/savedregs.c (main): Likewise.
+       * gdb.base/sigaltstack.c (main): Likewise.
+       * gdb.base/siginfo.c (main): Likewise.
+       * gdb.base/structs.c (zed): Likewise.
+       * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
+       * gdb.mi/mi-syn-frame.c (main): Likewise.
+       * gdb.mi/until.c (foo, main): Likewise.
+       * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
+       * gdb.base/solib-weak.c (foo): Declare.
+       * gdb.base/attach-twice.c: Include stdio.h.
+       * gdb.base/weaklib1.c: Likewise.
+       * gdb.base/weaklib2.c: Likewise.
+       * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
+       * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
+       unistd.h.
+       * gdb.base/attach-pie-misread.c: Include stdlib.h.
+       * gdb.mi/mi-exit-code.c: Likewise.
+       * gdb.base/break-interp-lib.c: Include string.h.
+       * gdb.base/coremaker.c: Likewise.
+       * gdb.base/testenv.c: Likewise.
+       * gdb.python/py-finish-breakpoint.c: Likewise.
+       * gdb.base/inferior-died.c: Include sys/wait.h.
+       * gdb.base/fileio.c: Include time.h.
+       * gdb.base/async-shell.c: Include unistd.h.
+       * gdb.base/dprintf-non-stop.c: Likewise.
+       * gdb.base/info-os.c: Likewise.
+       * gdb.mi/mi-console.c: Likewise.
+       * gdb.mi/watch-nonstop.c: Likewise.
+       * gdb.python/py-events.c: Likewise.
+       * gdb.base/async.c (baz): Move up before its invocation.
+       * gdb.base/code_elim2.c (my_global_func): Likewise.
+       * gdb.base/skip-solib-lib.c (multiply): Likewise.
+       * gdb.base/advance.c (func2): Likewise.
+
+2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
+       variant.
+       * gdb.base/annota3.c: Likewise.
+       * gdb.base/async.c: Likewise.
+       * gdb.base/average.c: Likewise.
+       * gdb.base/call-ar-st.c: Likewise.
+       * gdb.base/call-rt-st.c: Likewise.
+       * gdb.base/call-sc.c: Likewise.
+       * gdb.base/call-strs.c: Likewise.
+       * gdb.base/ending-run.c: Likewise.
+       * gdb.base/execd-prog.c: Likewise.
+       * gdb.base/exprs.c: Likewise.
+       * gdb.base/foll-exec.c: Likewise.
+       * gdb.base/foll-fork.c: Likewise.
+       * gdb.base/foll-vfork.c: Likewise.
+       * gdb.base/funcargs.c: Likewise.
+       * gdb.base/gcore.c: Likewise.
+       * gdb.base/jump.c: Likewise.
+       * gdb.base/langs0.c: Likewise.
+       * gdb.base/langs1.c: Likewise.
+       * gdb.base/langs2.c: Likewise.
+       * gdb.base/mips_pro.c: Likewise.
+       * gdb.base/nodebug.c: Likewise.
+       * gdb.base/opaque0.c: Likewise.
+       * gdb.base/opaque1.c: Likewise.
+       * gdb.base/recurse.c: Likewise.
+       * gdb.base/run.c: Likewise.
+       * gdb.base/scope0.c: Likewise.
+       * gdb.base/scope1.c: Likewise.
+       * gdb.base/setshow.c: Likewise.
+       * gdb.base/setvar.c: Likewise.
+       * gdb.base/shmain.c: Likewise.
+       * gdb.base/shr1.c: Likewise.
+       * gdb.base/shr2.c: Likewise.
+       * gdb.base/sigall.c: Likewise.
+       * gdb.base/signals.c: Likewise.
+       * gdb.base/so-indr-cl.c: Likewise.
+       * gdb.base/solib2.c: Likewise.
+       * gdb.base/structs.c: Likewise.
+       * gdb.base/sum.c: Likewise.
+       * gdb.base/vforked-prog.c: Likewise.
+       * gdb.base/watchpoint.c: Likewise.
+       * gdb.reverse/shr2.c: Likewise.
+       * gdb.reverse/until-reverse.c: Likewise.
+       * gdb.reverse/ur1.c: Likewise.
+       * gdb.reverse/watch-reverse.c: Likewise.
+
+2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
+       variant.
+       * gdb.base/sepdebug.exp: Drop references to removed code.
+
+2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
+       variant.  Preserve original line numbering.
+       * gdb.base/list1.c: Likewise.
+
+2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
+       variant.
+       * gdb.base/break1.c: Likewise.
+       * gdb.base/break.exp: Drop references to removed code.
+
+2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
+       variant.
+
+2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
+
+2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.base/callfuncs.exp: Remove 'prototypes' variable.  Move main
+       logic into perform_all_tests() and invoke it with and without
+       function header prototypes.
+       (do_function_calls): Remove conditional XFAIL for PR 5318.
+       (rerun_and_prepare): Remove duplicate code.
+       (perform_all_tests): New.  Main logic moved here.
+
+2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
+       code guarded by #ifdef NO_PROTOTYPES.
+       (t_double_many_args): Likewise.
+       (DEF_FUNC_MANY_ARGS_1): Likewise.
+       (DEF_FUNC_VALUES_1): Likewise.
+       (t_structs_ldc): Renamed from t_structs_fc in conditional code
+       guarded by #ifdef PROTOTYPES.
+
+2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.mi/mi-console.c: Add eye-catcher.
+       * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
+       instead of literal line number.
+
+2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.base/shr2.c: Add eye-catcher.
+       * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
+       line number.
+
+2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.base/jump.c: Add eye-catchers.
+       * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
+       numbers.
+
+2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.base/execd-prog.c: Add eye-catchers.
+       * gdb.base/foll-exec.c: Likewise.
+       * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
+       line numbers.
+
 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
 
        * gdb.base/ending-run.c: Add eye-catchers.
This page took 0.028883 seconds and 4 git commands to generate.