gdb
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 52780a9d74a553c7ea986239ce3959d9b1eb81c7..d43e2bf2318dff6cfe018f33f125b9ce6ba347c7 100644 (file)
@@ -1,3 +1,268 @@
+2013-05-10  Freddie Chopin  <freddie_chopin@op.pl>
+           Tom Tromey  <tromey@redhat.com>
+
+       PR build/15414:
+       * configure: Rebuild.
+       * configure.ac (build_warnings): Do not use -Wformat-nonliteral
+       with -Wno-format.
+
+2013-05-10  Pedro Alves  <palves@redhat.com>
+
+       * remote.c (_initialize_remote): Fix spelling of
+       qXfer:traceframe-info:read packet in packet config command.
+
+2013-05-10  David Taylor  <dtaylor@emc.com>
+
+       PR remote/15455
+
+       * remote.c (remote_trace_set_readonly_regions): Do not overwrite
+       "QTro" at start of packet.
+
+2013-05-10  Joel Brobecker  <brobecker@adacore.com>
+
+       * solib-aix.c (solib_aix_relocate_section_addresses):
+       For the .bss section action, apply the same offset as
+       the .data section.
+
+2013-05-10  Joel Brobecker  <brobecker@adacore.com>
+
+       * solib-aix.c (solib_aix_relocate_section_addresses):
+       Remove FIXME comment.
+
+2013-05-10  Joel Brobecker  <brobecker@adacore.com>
+
+       PR tdep/15420:
+       * sol-thread.c (ps_lgetxregsize, ps_lgetxregs, ps_lsetxregs):
+       New functions, directly copied from sparc-sol-thread.c.
+       * sparc-sol-thread.c: Delete.
+       * configure.ac: Remove code handling sparc-solaris-thread.c.
+       * configure: Regenerate.
+
+2013-05-10  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * stack.c (backtrace_command_1): Add "no-filters", and Python frame
+       filter logic.
+       (backtrace_command): Add "no-filters" option parsing.
+       (_initialize_stack): Alter help to reflect "no-filters" option.
+       * Makefile.in (SUBDIR_PYTHON_OBS): Add py-framefilter.o
+       (SUBDIR_PYTHON_SRCS): Add py-framefilter.c
+       (py-frame.o): Add target
+       * data-directory/Makefile.in (PYTHON_DIR): Add Python frame
+       filter files.
+       * python/python.h: Add new frame filter constants, and flag enum.
+       (apply_frame_filter): Add definition.
+       * python/python.c (apply_frame_filter): New non-Python
+       enabled function.
+       * python/py-utils.c (py_xdecref): New function.
+       (make_cleanup_py_xdecref): Ditto.
+       * python/py-objfile.c: Declare frame_filters dictionary.
+       (objfpy_dealloc): Add frame_filters dealloc.
+       (objfpy_new): Initialize frame_filters attribute.
+       (objfile_to_objfile_object): Ditto.
+       (objfpy_get_frame_filters): New function.
+       (objfpy_set_frame_filters): New function.
+       * python/py-progspace.c: Declare frame_filters dictionary.
+       (pspy_dealloc): Add frame_filters dealloc.
+       (pspy_new): Initialize frame_filters attribute.
+       (pspacee_to_pspace_object): Ditto.
+       (pspy_get_frame_filters): New function.
+       (pspy_set_frame_filters): New function.
+       * python/py-framefilter.c: New file.
+       * python/lib/gdb/command/frame_filters.py: New file.
+       * python/lib/gdb/frames.py: New file.
+       * python/lib/gdb/__init__.py: Initialize global frame_filters
+       dictionary
+       * python/lib/gdb/FrameDecorator.py: New file.
+       * python/lib/gdb/FrameIterator.py: New file.
+       * mi/mi-cmds.c (mi_cmds): Add frame filters command.
+       * mi/mi-cmds.h: Declare.
+       * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Add
+       --no-frame-filter logic, and Python frame filter logic.
+       (stack_enable_frame_filters): New function.
+       (parse_no_frame_option): Ditto.
+       (mi_cmd_stack_list_frames): Add --no-frame-filter and Python frame
+       filter logic.
+       (mi_cmd_stack_list_locals): Ditto.
+       (mi_cmd_stack_list_args): Ditto.
+       (mi_cmd_stack_list_variables): Ditto.
+       * NEWS: Add frame filter note.
+
+2013-05-09  Doug Evans  <dje@google.com>
+
+       * symfile.c (syms_from_objfile_1): Delete args offsets, num_offsets.
+       All callers updated.
+       (syms_from_objfile): Ditto.  Make static.
+       (symbol_file_add_with_addrs): Renamed from
+       symbol_file_add_with_addrs_or_offsets.  Delete args offsets,
+       num_offsets.  All callers updated.
+       * symfile.h (syms_from_objfile): Delete.
+
+       * symfile.c (decrement_reading_symtab): Add assert.
+       (increment_reading_symtab): Ditto.
+
+2013-05-09  Joel Brobecker  <brobecker@adacore.com>
+
+       * source.c (forward_search_command): Replace call to getc
+       by call to fgetc.
+       (reverse_search_command): Likewise.
+
+2013-05-08  Doug Evans  <dje@google.com>
+
+       * psymtab.c (expand_symtabs_matching_via_partial): Fix file name
+       matching test.
+
+2013-05-08  Joel Brobecker  <brobecker@adacore.com>
+
+       * sol-thread.c (info_cb): Factorize the code a little.
+
+2013-05-08  Joel Brobecker  <brobecker@adacore.com>
+
+       * sol-thread.c (info_cb): Rework the output of the "maintenance
+       info sol-threads" command a bit.
+
+2013-05-08  Joel Brobecker  <brobecker@adacore.com>
+
+       * sol-thread.c (info_cb) [ti.ti_state == TD_THR_SLEEP]:
+       Replace ti.ti_startfunc by ti.ti_pc.
+
+2013-05-08  Joel Brobecker  <brobecker@adacore.com>
+
+       * solib-aix.c (solib_aix_free_library_list): New function
+       for the case where HAVE_LIBEXPAT is not defined.
+
+2013-05-07  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       PR breakpoints/15413:
+       * breakpoint.c (condition_completer): Simplify the code to
+       disconsider multiple locations of breakpoints when completing the
+       "condition" command.
+
+2013-05-07  Pierre Muller  <muller@sourceware.org>
+
+       * common/linux-btrace.c: ARI fix: Include "gdb_wait.h"
+       instead of <sys/wait.h>.
+
+2013-05-07  Pierre Muller  <muller@sourceware.org>
+
+       * nios2-tdep.c (nios2_dwarf_reg_to_regnum): ARI fix: remove
+       trailing new line from warning message.
+
+2013-05-07  Pierre Muller  <muller@sourceware.org>
+
+       * contrib/ari/gdb_ari.sh (SOLIB_ADD, SOLIB_CREATE_INFERIOR_HOOK)
+       (PC_SOLIB): Change type from ari_deprecate to ari_regression.
+
+2013-05-07  Joel Brobecker  <brobecker@adacore.com>
+
+       * rs6000-nat.c (rs6000_core_ldinfo): Remove '\n' at end of
+       error message (ARI fix).
+
+2013-05-07  Joel Brobecker  <brobecker@adacore.com>
+
+       * features/library-list-aix.dtd: Replace library-list by
+       library-list-aix.
+       * rs6000-nat.c: Replace library-list by library-list-aix
+       throughout.
+       * solib-aix.c: Likewise.
+
+2013-05-07  Joel Brobecker  <brobecker@adacore.com>
+
+       * target.h (enum target_object) [TARGET_OBJECT_LIBRARIES_AIX]:
+       Renames TARGET_OBJECT_AIX_LIBRARIES.
+       * rs6000-nat.c: Replace TARGET_OBJECT_AIX_LIBRARIES with
+       TARGET_OBJECT_LIBRARIES_AIX throughout.
+       * solib-aix.c: Likwise.
+
+2013-05-07  Yao Qi  <yao@codesourcery.com>
+
+       * solib-dsbt.c (struct dsbt_info) <enable_break2_done>: Remove.
+       (get_dsbt_info, enable_break, dsbt_clear_solib): Update.
+
+2013-05-07  Yao Qi  <yao@codesourcery.com>
+
+       * solib-dsbt.c (enable_break): Declare.
+       (dsbt_current_sos): Remove call to enable_break2.
+       (enable_break2): Rename to enable_break.  Set solib breakpoint
+       on '_dl_debug_state'.
+       (enable_break): Remove.
+
+2013-05-07  Luis Machado  <lgustavo@codesourcery.com>
+
+       * ppc-linux-nat.c (ppc_linux_new_thread): Clear the new thread's
+       debug state prior to replicating existing hardware watchpoints or
+       breakpoints.
+
+2013-05-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gcore.c (gcore_create_callback): Ignore sections with
+       separate_debug_objfile_backlink != NULL.
+
+2013-05-06  Sandra Loosemore  <sandra@codesourcery.com>
+           Andrew Jenner  <andrew@codesourcery.com>
+           Chung-Lin Tang  <cltang@codesourcery.com>
+           Julian Brown  <julian@codesourcery.com>
+
+       Based on the nios2-elf port from Altera Corporation.
+
+       * Makefile.in (ALL_TARGET_OBS): Add nios2-tdep.o and
+       nios2-linux-tdep.o.
+       (HFILES_NO_SRCDIR): Add nios2-tdep.h.
+       (ALLDEPFILES): Add nios2-tdep.c and nios2-linux-tdep.c.
+       * configure.tgt: Add nios2*-*-linux* and nios2*-*-* targets.
+       * nios2-tdep.h: New.
+       * nios2-tdep.c: New.
+       * nios2-linux-tdep.c: New.
+       * features/Makefile (WHICH): Add nios2-linux.
+       (nios2-linux-expedite): Set.
+       * features/nios2-cpu.xml: New.
+       * features/nios2.xml: New.
+       * features/nios2-linux.xml: New.
+       * features/nios2.c: New (autogenerated).
+       * features/nios2-linux.c: New (autogenerated).
+       * regformats/nios2-linux.dat: New (autogenerated).
+       * NEWS (Changes since GDB 7.6): Add new Nios II targets
+       and commands.
+
+2013-05-06  Doug Evans  <dje@google.com>
+
+       * symfile.c: Whitespace cleanup.
+
+       * solist.h (struct target_so_ops): New member clear_so.
+       * solib-svr4.c (svr4_clear_so): New function.
+       (_initialize_svr4_solib): Set svr4_so_ops.clear_so.
+       * solib.c (clear_so): Renamed from free_so_symbols.
+       All callers updated.  Call target clear_so if it exists.
+
+2013-05-06  Tom Tromey  <tromey@redhat.com>
+
+       * ada-lang.c (ada_value_primitive_packed_val): Don't
+       call value_incref.
+       * value.c (set_value_parent): Incref the new parent and decref
+       the old parent.
+       (value_copy, value_primitive_field): Use set_value_parent.
+
+2013-05-06  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2loc.c (invalid_synthetic_pointer): Move earlier.
+       (indirect_pieced_value): Call dwarf2_fetch_constant_bytes
+       if needed.
+       * dwarf2loc.h (dwarf2_fetch_constant_bytes): Declare.
+       * dwarf2read.c (write_constant_as_bytes)
+       (dwarf2_fetch_constant_bytes): New functions.
+
+2013-05-06  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2read.c (dwarf2_const_value_data): Remove unused
+       parameters.
+       (dwarf2_const_value_attr): Update.
+
+2013-05-06  Tom Tromey  <tromey@redhat.com>
+
+       * somread.c (som_symfile_offsets): Add 'const' to addrs.
+       * machoread.c (macho_symfile_offsets): Add 'const' to addrs.
+       * xcoffread.c (xcoff_symfile_offsets): Add 'const' to addrs.
+       Remove declaration.
+
 2013-05-06  Tom Tromey  <tromey@redhat.com>
 
        * dwarf2read.c (dwarf2_const_value_attr): Use 'obstack', not
This page took 0.027327 seconds and 4 git commands to generate.