gdb/
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index c67a5262c05da62289322fa332ba82c343499884..96e2a9a9566e10609f59f90ddf1702a2693afe28 100644 (file)
@@ -1,3 +1,324 @@
+2011-03-18  Pedro Alves  <pedro@codesourcery.com>
+
+       * frame.h (frame_unwind_caller_pc_if_available): Declare.
+       * frame.c (frame_unwind_caller_pc_if_available): New.
+       * stack.c (frame_info): Handle unavailable PC.
+
+2011-03-18  Pedro Alves  <pedro@codesourcery.com>
+
+       * frame.c (frame_unwind_pc): Rename to ...
+       (frame_unwind_pc_if_available): ... this.  New `pc' output
+       parameter.  Change return type to int.  Gracefully handle
+       gdbarch_unwind_pc throwing NOT_AVAILABLE_ERROR.  Return 0 if that
+       happened, or 1 otherwise.
+       (frame_unwind_pc): Reimplement on top of
+       frame_unwind_pc_if_available.
+       (get_frame_func): Rename to ...
+       (get_frame_func_if_available): New `pc' output parameter.  Change
+       return type to int.  Gracefully handle the PC not being available.
+       (get_frame_func): Reimplement on top of
+       get_frame_func_if_available.
+       (select_frame): Handle the PC being unavailable.
+       (get_prev_frame): Handle the PC being unavailable.
+       (get_frame_pc_if_available): New.
+       (get_frame_address_in_block_if_available): New.
+       (find_frame_sal): Handle the frame PC not being available.
+       * frame.h (get_frame_pc_if_available): Declare.
+       (get_frame_address_in_block_if_available): Declare.
+       (get_frame_func_if_available): Declare.
+       * stack.c (print_frame_info): Handle the PC being unavailable.
+       (find_frame_funname): Ditto.
+       (print_frame): Handle the PC being unavailable.
+       (get_frame_language): Ditto.
+       * blockframe.c (get_frame_block): Ditto.
+       * macroscope.c (default_macro_scope): Ditto.
+       * tui/tui-stack.c (tui_show_frame_info): Ditto.
+
+2011-03-18  Pedro Alves  <pedro@codesourcery.com>
+
+       * dwarf2loc.c (dwarf2_evaluate_loc_desc): Catch
+       NOT_AVAILABLE_ERROR when evaluating the location expression.
+
+2011-03-18  Pedro Alves  <pedro@codesourcery.com>
+
+       * dwarf2loc.c (read_pieced_value): Handle get_frame_register_bytes
+       returning that the register piece is unavailable/optimized out.
+       (write_pieced_value): Handle get_frame_register_bytes returning
+       that the register piece is unavailable/optimized out when doing a
+       read-modify write of a bitfield.
+       * findvar.c (value_from_register): Handle get_frame_register_bytes
+       returning that the register piece is unavailable/optimized out.
+       * frame.c (get_frame_register_bytes): New parameters `optimizedp'
+       and `unavailablep'.  Throw error on bad debug info.  Use
+       frame_register instead of frame_register_read, to fill in the new
+       arguments.
+       * frame.h (get_frame_register_bytes): New parameters `optimizedp'
+       and `unavailablep'.
+       * valops.c: (value_assign): Adjust, and handle
+       get_frame_register_bytes failing.
+       * spu-tdep.c: Include exceptions.h.
+       (spu_software_single_step): Adjust, and handle
+       get_frame_register_bytes failing.
+       (spu_get_longjmp_target): Ditto.
+       * gdbarch.sh (register_to_value): Change to return int.  New
+       parameters `optimizedp' and `unavailablep'.
+       * gdbarch.h, gdbarch.c: Regenerate.
+       * i386-tdep.c (i386_register_to_value): Adjust to new
+       gdbarch_register_to_value interface.
+       * i387-tdep.c (i387_register_to_value): Ditto.
+       * i387-tdep.h (i387_register_to_value): Ditto.
+       * alpha-tdep.c (alpha_register_to_value): Ditto.
+       * ia64-tdep.c (ia64_register_to_value): Ditto.
+       * m68k-tdep.c (m68k_register_to_value): Ditto.
+       * mips-tdep.c (mips_register_to_value): Ditto.
+       * rs6000-tdep.c (rs6000_register_to_value): Ditto.
+
+2011-03-18  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
+       (test_register, test_register_unavailable): New procedures.
+       (gdb_unavailable_registers_test): New procedure.
+       (gdb_trace_collection_test): Call it.
+
+2011-03-18  Phil Muldoon  <pmuldoon@redhat.com>
+
+        PR python/12149
+
+       * gdb.python/python.exp: Add gdb.write tests.
+
+2010-03-17  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * gdb.python/Makefile.in: Add py-objfile.
+       * gdb.python/py-objfile.exp: New file.
+       * gdb.python/py-objfile.c: New file.
+       * gdb.python/py-block.exp: Add is_valid tests.
+       * gdb.python/py-inferior.exp: Ditto.
+       * gdb.python/py-infthread.exp: Ditto.
+       * gdb.python/py-symbol.exp: Ditto.
+       * gdb.python/py-symtab.exp: Ditto.
+
+2011-03-16  Keith Seitz  <keiths@redhat.com>
+
+       PR c++/12273
+       * gdb.cp/cmpd-minsyms.exp: New test.
+       * gdb.cp/cmpd-minsyms.cc: New file.
+
+       PR c++/11734
+       * gdb.cp/ovsrch.exp: New test.
+       * gdb.cp/ovsrch.h: New file.
+       * gdb.cp/ovsrch1.cc: New file.
+       * gdb.cp/ovsrch2.cc: New file.
+       * gdb.cp/ovsrch3.cc: New file.
+       * gdb.cp/ovsrch4.cc: New file.
+
+2011-03-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       PR gdb/12528
+       * gdb.base/Makefile.in: Adjust EXECUTABLES.
+       * gdb.base/break-on-linker-gcd-function.exp: New test.
+       * gdb.base/break-on-linker-gcd-function.cc: New file.
+
+2011-03-15  Andreas Tobler  <andreast@fgznet.ch>
+
+       * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
+
+2011-03-15  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * lib/gdb.exp (gdb_unload): Add another termination case.
+
+2011-03-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.dwarf2/dw2-empty-pc-range.S: New file.
+       * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
+       * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
+       Provide a stub byte there.
+       (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
+       DW_AT_entry_pc.
+       (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
+
+2011-03-15  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
+       using a GCC 4.1 or 4.2 compiler.  Add an additional test variant
+       "generic ABI, auto".
+       (altivec_abi_tests): Accept vectors returned by reference.
+
+2010-03-14  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
+
+2011-03-13  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdb.python/py-section-script.exp: Skip test if no Python support.
+
+2011-03-12  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
+
+2011-03-10  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * gdb.python/py-parameter.exp: Update tests to the new Python
+       parameter API. Add "no documentation" test.  Add deprecated API
+       backward compatibility test.
+
+2011-03-09  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
+       gdb_continue_to_end.
+
+2011-03-09  Mark Kettenis  <kettenis@gnu.org>
+
+       * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
+       tabs.
+
+2011-03-09  Tom Tromey  <tromey@redhat.com>
+
+       * lib/gdb.exp (inferior_exited_re): Match. leading `['.  Wrap in
+       parentheses.
+       (gdb_continue_to_end): Add "allow_extra" parameter.  Use
+       $command.
+       * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
+       argument to gdb_continue_to_end.
+       * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
+       argument to gdb_continue_to_end.
+       * gdb.cp/annota3.exp: Fix regex.
+       * gdb.cp/annota2.exp: Fix regex.
+       * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
+       gdb_continue_to_end.
+       * gdb.base/call-signal-resume.exp: Revert earlier patch.
+       * gdb.ada/tasks.exp: Pass "allow_extra" argument to
+       gdb_continue_to_end.
+
+2011-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.server/ext-run.exp
+       (load new file without any gdbserver inferior): New test.
+
+2011-03-07  Tom Tromey  <tromey@redhat.com>
+
+       * Makefile.in (TAGS): Rewrite.
+
+2011-03-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.trace/report.exp (12.1: trace report #1): New match for the
+       initial commands echo.  New match for `Found trace'.  Anchor all the
+       other matches.  Anchor and match for `No trace frame found' the final
+       match.
+
+2011-03-07  Tom Tromey  <tromey@redhat.com>
+
+       * Makefile.in (TAGS): New target.
+
+2011-03-07  Tom Tromey  <tromey@redhat.com>
+
+       * lib/opencl.exp (skip_opencl_tests): Update for exit message
+       change.
+       * lib/mi-support.exp (mi_gdb_test): Update for exit message
+       change.
+       * lib/gdb.exp (gdb_test_multiple): Update comment.  Update for
+       exit message change.
+       (skip_altivec_tests): Update for exit message change.
+       (skip_vsx_tests): Likewise.
+       (gdb_continue_to_end): Likewise.  Add 'command' argument.
+       * lib/cell.exp (skip_cell_tests): Update for exit message change.
+       * gdb.threads/tls.exp: Update for exit message change.
+       * gdb.threads/thread-unwindonsignal.exp: Use
+       gdb_continue_to_end.
+       * gdb.threads/step.exp (step_it): Update for exit message change.
+       (continue_all): Likewise.
+       * gdb.threads/print-threads.exp (test_all_threads): Update for
+       exit message change.
+       * gdb.threads/interrupted-hand-call.exp: Use
+       gdb_continue_to_end.
+       * gdb.threads/execl.exp: Use gdb_continue_to_end.
+       * gdb.python/py-prettyprint.exp (run_lang_tests): Use
+       gdb_continue_to_end.
+       * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
+       * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
+       * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
+       * gdb.cp/method.exp: Update for exit message change.
+       * gdb.cp/mb-templates.exp: Update for exit message change.
+       * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
+       * gdb.cp/annota3.exp: Update for exit message change.
+       * gdb.cp/annota2.exp: Update for exit message change.
+       * gdb.cell/fork.exp: Use gdb_continue_to_end.
+       * gdb.base/term.exp: Update for exit message change.
+       * gdb.base/step-test.exp (test_i): Update for exit message change.
+       * gdb.base/sigstep.exp (advance): Update for exit message change.
+       (advancei): Likewise.
+       * gdb.base/siginfo.exp: Update for exit message change.
+       * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
+       * gdb.base/reread.exp: Use gdb_continue_to_end.
+       * gdb.base/langs.exp: Use gdb_continue_to_end.
+       * gdb.base/interrupt.exp: Update for exit message change.
+       * gdb.base/gdb1555.exp: Update for exit message change.
+       * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
+       * gdb.base/ending-run.exp: Update for exit message change.
+       * gdb.base/chng-syms.exp: Update for exit message change.
+       * gdb.base/checkpoint.exp: Update for exit message change.
+       * gdb.base/catch-syscall.exp (check_for_program_end): Use
+       gdb_continue_to_end.
+       (test_catch_syscall_with_wrong_args): Likewise.
+       * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
+       * gdb.base/break-interp.exp (test_ld): Update for exit message
+       change.
+       * gdb.base/bang.exp: Update for exit message change.
+       * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
+       (do_call_attach_tests): Likewise.
+       * gdb.base/a2-run.exp: Update for exit message change.
+       * gdb.arch/ppc-dfp.exp: Update for exit message change.
+       * gdb.ada/tasks.exp: Use gdb_continue_to_end.
+       * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
+
+2011-03-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/help.exp (help thread find): Fix one forgotten quote.
+
+2011-03-03  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
+       * gdb.hp/gdb.aCC/configure (Makefile): Remove.
+       * gdb.hp/gdb.aCC/configure.ac: Remove.
+       * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
+       * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
+       * gdb.hp/gdb.base-hp/configure.ac: Remove.
+       * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
+       * gdb.hp/gdb.compat/configure (Makefile): Remove.
+       * gdb.hp/gdb.compat/configure.ac: Remove.
+       * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
+       * gdb.hp/gdb.defects/configure (Makefile): Remove.
+       * gdb.hp/gdb.defects/configure.ac: Remove.
+       * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
+       * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
+       * gdb.hp/gdb.objdbg/configure.ac: Remove.
+       * gdb.hp/configure.ac: Remove.
+       * gdb.hp/configure: Remove.
+       * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
+       substitution.
+       (Makefile): Remove rule.
+       * gdb.cell/configure.ac: Remove.
+       * gdb.cell/configure: Remove.
+       * gdb.stabs/Makefile.in (Makefile): Remove.
+       (distclean): Don't remove config.status or config.log.
+       * gdb.stabs/configure (Makefile): Remove.
+       * gdb.stabs/configure.ac: Remove.
+       * configure: Rebuild.
+       * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
+       Remove stabs- and cell-specific logic.  Test for existence of
+       ../gdbtk before configuring gdb.gdbtk.  Build Makefiles in gdb.hp
+       subdirectories, gdb.cell, and and gdb.stabs.
+       * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
+
+2011-03-03  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.python/py-inferior.exp: Avoid searching pattern beyond
+       end of buffer.
+
+2011-03-02  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
+       gdb_test when running a test where we expected no output back.
+
 2011-02-28  Michael Snyder  <msnyder@vmware.com>
 
        * gdb.cp/overload.cc: Change initializer value to integer.
This page took 0.041236 seconds and 4 git commands to generate.