2012-06-04 Pedro Alves <palves@redhat.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index fd2f414ba458f581489014ef35b7ad7386541938..ec6d26a70a16824654ae23484245536a84a2e8e6 100644 (file)
@@ -1,3 +1,187 @@
+2012-06-04  Pedro Alves  <palves@redhat.com>
+
+       * gdbarch.sh (gdb_signal_from_target): Mention that the
+       implementation of the method must be host independent.
+       * gdbarch.h: Regenerate.
+
+2012-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * symfile-mem.c: 3 new gdb_static_assert for target_read_memory_bfd
+       parameters.
+       (target_read_memory_bfd): New function.
+       (symbol_file_add_from_memory): Use it.
+
+2012-06-03  Doug Evans  <dje@google.com>
+
+       * symtab.c (lookup_global_symbol_from_objfile): Only scan blockvector
+       of primary symtab.
+       (basic_lookup_transparent_type): Ditto.
+
+       * objfiles.h (ALL_OBJFILE_PRIMARY_SYMTABS): New macro.
+       (ALL_PRIMARY_SYMTABS): Use it.
+       (ALL_PSPACE_PRIMARY_SYMTABS): Ditto.
+       * dwarf2read.c (dw2_find_symbol_file): Ditto.
+       * linespec.c (iterate_over_all_matching_symtabs): Ditto.
+       * symtab.c (lookup_symbol_aux_objfile): Ditto.
+       (basic_lookup_transparent_type): Ditto.
+
+2012-06-02  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * symtab.c (symbol_demangled_name): New variable `dem_name'.  Use
+       it to optimize resolution of demangled name.
+
+2012-06-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * configure.ac (development): Define new variable.
+       Call AC_CHECK_LIB for mcheck if $development.
+       (ERROR_ON_WARNING): Enable it by default only if $development.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+
+2012-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+       * target.c (target_read_memory): Make LEN argument as size_t.
+       * target.h (target_read_memory): Likewise.
+
+2012-06-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * tilegx-linux-tdep.c (tilegx_l): Use ULL for 64-bit values.
+
+2012-05-31  Edjunior Machado  <emachado@linux.vnet.ibm.com>
+
+       * ppc-linux-nat.c (have_ptrace_booke_interface): Disable ptrace
+       BookE interface for PowerPC server processors if not available
+       in the Linux Kernel.
+
+2012-05-31  Keith Seitz  <keiths@redhat.com>
+
+       * linespec.c (decode_objc): Add cleanup to free
+       INFO.FILE_SYMTABS.
+       (find_linespec_symbols): Add cleanup to free CLASSES.
+       * symfile.c (find_separate_debug_file_by_debuglink): Add
+       cleanup to free DEBUGLINK.
+       * ui-out.c (clear_header_list): No need to check if
+       HEADER_NEXT.COLHDR is NULL.
+       Free HEADER_NEXT.COL_NAME.
+
+2012-05-31  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
+
+       * ada-lang.c (standard_lookup): Prevent uninitialized variable
+       warning.
+
+2012-05-30  Jeff Kenton  <jkenton@tilera.com>
+
+       * configure.host (gdb_host_cpu): Handle tilegx*.
+       (gdb_host): Handle tilegx-*-linux*.
+       * tilegx-linux-nat.c: New file.
+       * config/tilegx/linux.mh: New file.
+
+2012-05-30  Jeff Kenton  <jkenton@tilera.com>
+
+       * Makefile.in (ALL_TARGET_OBJS): Add tilegx-tdep.o and
+       tilegx-linux-tdep.o.
+       (ALLDEPFILES): Add tilegx-linux-nat.c, tilegx-tdep.c and
+       tilegx-linux-tdep.c.
+       * configure.tgt: Handle tilegx-*-linux*.
+       * tilegx-tdep.h: New file.
+       * tilegx-tdep.c: New file.
+       * tilegx-linux-tdep.c: New file.
+       * regformats/reg-tilegx.dat: New file.
+
+2012-05-30  Edjunior Machado  <emachado@linux.vnet.ibm.com>
+
+       * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): fix
+       accounting of hw watchpoints on ppc.
+
+2012-05-30  Thiago Jung Bauermann  <thiago.bauermann@linaro.org>
+
+       * source.c (openp): Expand tilde in path entries.
+
+2012-05-29  Doug Evans  <dje@google.com>
+
+       * buildsym.c (block_compar): Fix comment.
+       (end_symtab): Fix and clarify some comments.
+
+       * stabsread.h (cleanup_undefined_stabs_types): Renamed from
+       cleanup_undefined_types.
+       * stabsread.c (cleanup_undefined_stabs_types): Ditto.
+       All callers updated.
+
+2012-05-29  Tom Tromey  <tromey@redhat.com>
+
+       * symfile.c (symfile_bfd_open): Don't close desc if bfd_fopen
+       fails.
+       * solib.c (solib_bfd_fopen): Don't close fd if bfd_fopen fails.
+       * exec.c (exec_file_attach): Don't close scratch_chan if bfd_fopen
+       fails.
+       * dwarf2read.c (try_open_dwo_file): Don't close fd if bfd_fopen
+       fails.
+
+2012-05-29  Tristan Gingold  <gingold@adacore.com>
+
+       * solib-darwin.c (dyld_all_image_addr, dyld_all_image): Move into...
+       (struct darwin_info): ... New struct.
+       (solib_darwin_pspace_data): New variable.
+       (darwin_pspace_data_cleanup): New function.
+       (get_darwin_info): Likewise.
+       (darwin_dyld_version_ok, darwin_load_image_infos)
+       (darwin_solib_get_all_image_info_addr_at_init)
+       (darwin_solib_read_all_image_info_addr): Add info argument.
+       Adjust code.
+       (darwin_current_sos): Use per pspace structure.
+       (darwin_solib_create_inferior_hook): Likewise.
+       (darwin_clear_solib): Likewise.
+       (_initialize_darwin_solib): Initialize solib_darwin_pspace_data.
+
+2012-05-28  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (wait_for_inferior): Move ecss and ecs locals to the
+       block that uses them.  Clear ecss before handling each event.
+
+2012-05-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * solib-svr4.c (svr4_current_sos): New comment on
+       svr4_current_sos_via_xfer_libraries fall back.
+
+2012-05-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * psymtab.c (lookup_symbol_aux_psymtabs): New variable stab_best.  Use
+       it as a fallback for TYPE_IS_OPAQUE.
+       * symfile.h (struct quick_symbol_functions): Mention TYPE_OPAQUE
+       symbols for lookup_symbol.
+
+2012-05-24  John Steele Scott  <toojays@toojays.net>
+
+       PR symtab/13277: Resolving opaque structures in ICC generated binaries.
+       * dwarf2read.c (struct dwarf2_cu) <producer_is_icc>: New field.
+       (producer_is_gxx_lt_4_6): Move the checking and caching to...
+       (check_producer): ... this new function, which also checks for ICC
+       and caches the result.
+       (producer_is_icc): New function.
+       (read_structure_type): Don't set TYPE_STUB_SUPPORTED if the
+       producer was ICC.
+
+2012-05-24  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/7205
+
+       * arch-utils.c (default_gdb_signal_to_host): Rename to ...
+       (default_gdb_signal_to_target): ... this.  Add comment.
+       (default_gdb_signal_from_host): Rename to ...
+       (default_gdb_signal_from_target): ... this.  Add comment.
+       * arch-utils.h (default_gdb_signal_to_host): Rename to ...
+       (default_gdb_signal_to_target): ... this.
+       (default_gdb_signal_from_host): Rename to ...
+       (default_gdb_signal_from_target): ... this.
+       * corelow.c (core_open): Adjust to naming change.  Replace comment.
+       * gdbarch.sh (gdb_signal_from_host): Rename to ...
+       (gdb_signal_from_target): ... this.  Adjust to
+       default_gdb_signal_from_host naming change.  Extend comment.
+       (gdb_signal_to_host): Rename to ...
+       (gdb_signal_to_target): ... this.  Adjust to
+       default_gdb_signal_to_host naming change.
+       * gdbarch.h, gdbarch.c: Renegerate.
+
 2012-05-24  Pedro Alves  <palves@redhat.com>
 
        PR gdb/7205
This page took 0.025079 seconds and 4 git commands to generate.