* dbxread.c (process_one_symbol): Constify section_offsets parameter.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index a94f65955077af3bf0de46bbf3639a850e34a255..a0742776a0cf71cf709635d9f7f5f9e04877ece5 100644 (file)
@@ -1,3 +1,196 @@
+2013-05-06  Doug Evans  <dje@google.com>
+
+       * dbxread.c (process_one_symbol): Constify section_offsets parameter.
+       * stabsread.h (process_one_symbol): Update declaration.
+       * dwarf2read.c (dw2_relocate): Constify new_offsets, delta parameters.
+       * elfread.c (elf_symfile_relocate_probe): Ditto.
+       * psymtab.c (relocate_psymtabs): Ditto.
+       * objfiles.c (objfile_relocate1): Constify new_offsets parameter.
+       (objfile_relocate): Ditto.
+       * objfiles.h (objfile_relocate): Update declaration.
+       * symfile.c (relative_addr_info_to_section_offsets): Constify
+       addrs parameter.
+       (default_symfile_offsets): Ditto.
+       (syms_from_objfile_1): Constify offsets parameter.
+       (syms_from_objfile): Ditto.
+       (symbol_file_add_with_addrs_or_offsets): Ditto.
+       (symfile_map_offsets_to_segments): Constify data parameter.
+       * symfile.h (struct quick_symbol_functions): Constify new_offsets,
+       delta parameters of member relocate.
+       (struct sym_probe_fns): Constify new_offsets,
+       delta parameters of member sym_relocate_probe.
+       (struct sym_fns): Constify section_addr_info parameter of member
+       sym_offsets.
+       (relative_addr_info_to_section_offsets): Update declaration.
+       (default_symfile_offsets): Ditto.
+       (syms_from_objfile): Ditto.
+       (symfile_map_offsets_to_segments): Ditto.
+
+       * symfile.c (syms_from_objfile_1): Use correct section count when
+       objfile->sf == NULL.
+
+2013-05-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * common/linux-btrace.c (intel_supports_btrace): Fix indentation.
+
+2013-05-06  Doug Evans  <dje@google.com>
+
+       * psympriv.h (struct partial_symtab): Augment comment for member
+       section_offsets.
+
+2013-05-06  Joel Brobecker  <brobecker@adacore.com>
+
+       Reimplement shared library support on ppc-aix...
+       * target.h (TARGET_OBJECT_AIX_LIBRARIES): New target_object enum.
+       * features/library-list-aix.dtd: New file.
+       * solib-aix.h, solib-aix.c: New file.
+       * rs6000-aix-tdep.c: #include "solib.h" and "solib-aix.h".
+       (rs6000_find_toc_address_hook): Delete.
+       (rs6000_push_dummy_call): Rewrite code setting the TOC value.
+       (rs6000_aix_init_osabi): Register solib_aix_so_ops.
+       * rs6000-nat.c: Remove "xcoffsolib.h" include.  Include
+       "xml-utils.h".
+       (map_vmap, vmap_exec, vmap_ldinfo, add_vmap, objfile_symbol_add)
+       (vmap_symtab, fixup_breakpoints): Delete.
+       (rs6000_xfer_shared_libraries): New function.
+       (rs6000_xfer_partial): Add TARGET_OBJECT_AIX_LIBRARIES handling.
+       (vmap_secs, bss_data_overlap, vmap_add_symbols): Delete.
+       (xcoff_relocate_symtab, xcoff_relocate_core): Delete.
+       (rs6000_ptrace_ldinfo, rs6000_core_ldinfo)
+       (rs6000_xfer_shared_library): New function.
+       (find_toc_address): Delete.
+       (_initialize_rs6000_nat): Do not set rs6000_find_toc_address_hook.
+       * rs6000-tdep.h (rs6000_find_toc_address_hook): Remove.
+       * xcoffread.c (record_minimal_symbol): Reloate symbol address
+       before creating minimal symbol.  Adjust function description
+       accordingly.
+       (scan_xcoff_symtab): Replace call to
+       prim_record_minimal_symbol_and_info by call to
+       record_minimal_symbol.
+       (xcoff_symfile_offsets): Reimplement mostly as a wrapper
+       around default_symfile_offsets.
+       * configure.tgt: Add solib-aix.o to gdb_target_obs for
+       powerpc-aix targets.
+       * config/rs6000/nm-rs6000.h: Delete.
+       * config/powerpc/aix.mh (NAT_FILE): Delete.
+       (NATDEPFILES): Remove xcoffsolib.o.
+       * Makefile.in (XMLFILES): Add library-list-aix.dtd.
+       (ALL_TARGET_OBS): Add solib-aix.o.
+       (HFILES_NO_SRCDIR): Remove xcoffsolib.h and
+       config/rs6000/nm-rs6000.h.  Add solib-aix.h.
+       (ALLDEPFILES): Add solib-aix.c.  Remove xcoffsolib.c.
+       * xcoffsolib.h, xcoffsolib.c: Delete.
+
+       * solib.c (reload_shared_libraries): Remove reference to
+       SOLIB_CREATE_INFERIOR_HOOK.
+       * breakpoint.c (handle_solib_event): Remove reference to SOLIB_ADD.
+       (disable_breakpoints_in_shlibs): Remove reference to PC_SOLIB.
+       (momentary_bkpt_re_set): Replace SOLIB_ADD by solib_add in
+       comment.
+       * corelow.c (deprecated_core_resize_section_table): Delete.
+       * exec.c: Remove include of xcoffsolib.h".
+       (map_vmap, vmap): Delete.
+       (exec_close_1): Remove references to vmap.
+       (exec_file_attach): Remove vmap handling code, and reference
+       to DEPRECATED_IBM6000_TARGET.
+       (bfdsec_to_vmap): Delete.
+       (exec_files_info): Remove block of code handling VMAP.
+       * infcmd.c (post_create_inferior): Remove reference to
+       SOLIB_CREATE_INFERIOR_HOOK and SOLIB_ADD.
+       * infrun.c (follow_exec): Remove reference to
+       SOLIB_CREATE_INFERIOR_HOOK.
+       * stack.c (print_frame): Remove reference to PC_SOLIB.
+       * solib-dsbt.c (dsbt_current_sos): Adjust comment.
+       (dsbt_relocate_main_executable): Likewise.
+       * solib-frv.c (frv_current_sos): Likewise.
+
+2013-05-06  Joel Brobecker  <brobecker@adacore.com>
+
+       * sol-thread.c (rw_common): Cast BUF to "gdb_byte *" in calls
+       to target_write_memory and target_read_memory.
+
+2013-05-06  Joel Brobecker  <brobecker@adacore.com>
+
+       * darwin-nat.c (darwin_setup_fake_stop_event): New function.
+       (darwin_attach): Adjust using darwin_setup_fake_stop_event.
+
+2013-05-06  Joel Brobecker  <brobecker@adacore.com>
+
+       * darwin-nat.c: Replace all "%x" instances in format strings
+       into "0x%x" throughout.
+
+2013-05-06  Joel Brobecker  <brobecker@adacore.com>
+
+       * darwin-nat.c (darwin_mourn_inferior): Replace call to
+       gdb_assert by call to MACH_CHECK_ERROR.
+       (darwin_attach_pid): Raise an error rather than a failed
+       assertion when various system calls failed.  Report a warning
+       instead of raising a failed assertion when PREV_NOT is not NULL
+       after call to mach_port_request_notification.
+       (darwin_ptrace_me): Raise an error rather than a failed
+       assertion when read returns nonzero.
+
+2013-05-06  Joel Brobecker  <brobecker@adacore.com>
+
+       * amd64-darwin-tdep.c: Remove #include "gdb_assert.h".
+
+2013-05-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * cleanups.c (restore_my_cleanups): New gdb_assert for SENTINEL_CLEANUP.
+
+2013-05-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * event-top.c (display_gdb_prompt): Call missing do_cleanups.
+       * infcmd.c (get_return_value) <!stop_regs>: Do not overwrite CLEANUP.
+       * symfile.c (symfile_bfd_open): New variable back_to.  Do not leave
+       a stale cleanup.  Fix double free of NAME.
+
+2013-05-04  Eli Zaretskii  <eliz@gnu.org>
+
+       * windows-nat.c (windows_delete_thread): Accept an additional
+       argument, the thread's exit code, and announce thread death when
+       print_thread_events is non-zero and we are deleting a thread that
+       is not the main thread.
+       (get_windows_debug_event): Pass thread exit code to
+       windows_delete_thread.
+
+2013-05-03  Kevin Buettner  <kevinb@redhat.com>
+
+       * v850-tdep.c (elf-bfd.h, elf/v850.h): Include.
+       (R_149_REGNUM, E_NUM_OF_V850E2_REGS, E_SELID_1_R0_REGNUM)
+       (E_SELID_1_R31_REGNUM, E_SELID_2_R0_REGNUM, E_SELID_2_R31_REGNUM)
+       (E_SELID_3_R0_REGNUM, E_SELID_3_R31_REGNUM, E_SELID_4_R0_REGNUM)
+       (E_SELID_4_R31_REGNUM, E_SELID_5_R0_REGNUM, E_SELID_5_R31_REGNUM)
+       (E_SELID_6_R0_REGNUM, E_SELID_6_R31_REGNUM, E_SELID_7_R0_REGNUM, E_SELID_7_R31_REGNUM)
+       (E_VR0_REGNUM, E_VR31_REGNUM, E_NUM_OF_V850E3V5_REGS): Define.
+       (v850_abi, V850_ABI_GCC, V850_ABI_RH850): New enum and constants.
+       (gdbarch_tdep): New struct.
+       (v850e2_register_name): Use E_NUM_OF_V850E2_REGS instead of
+       E_NUM_REGS.
+       (v850e3v5_register_name): New function.
+       (v850_register_type): v850e3v5 vector registers are 64-bits wide.
+       (v850_use_struct_convention): Add `gdbarch' parameter.  Add new
+       code handling the struct return conventions for the RH850 ABI.
+       Update all callers.
+       (v850_eight_byte_align_p): New function.
+       (v850_push_call_dummy): Push structs by value, not by reference
+       for the RH850 ABI.  Add support for eight byte alignment.
+       (v850_dbtrap_breakpoint_from_pc): New function.
+       (v850_gdbarch_init): Add ABI detection code.  Register
+       v850e3v5_register_name for the v850e3v5 architecture.  Set the
+       number of registers for v850e3v5.  Register
+       v850_dbtrap_breakpoint_from_pc as appropriate.
+       (_initialize_gdbarch_init): Registration bfd_arch_v850_rh850.
+
+2013-05-03  Doug Evans  <dje@google.com>
+
+       * objfiles.c (objfile_relocate): Use gdb_bfd_count_sections instead
+       of bfd_count_sections.
+       * solib-target.c (solib_target_relocate_section_addresses): Ditto.
+       * symfile.c (default_symfile_offsets): Ditto.
+       (syms_from_objfile_1): Ditto.  Make dummy addrs list an array of
+       one entry, not bfd_count_sections entries.
+
 2013-05-03  Kevin Buettner  <kevinb@redhat.com>
 
        * rl78-tdep.c (rl78_register_reggroup_p): Include SP in the
        (_initialize_ctf): New.
        * tracepoint.c (get_tracepoint_number): New
        (get_uploaded_tsv): Remove 'static'.
-       (struct traceframe_info, trace_regblock_size): Move it to ...
+       (struct traceframe_info, trace_regblock_size): Move it to ...
        * tracepoint.h: ... here.
        (get_tracepoint_number): Declare it.
        (get_uploaded_tsv): Declare it.
 
 2013-03-12  Paul Hilfinger  <hilfingr@adacore.com>
 
-        * ada-lex.l (rules): Only recognize 'thread' as a
-        delimiter when followed by numerals, as for c-exp.y.
-        Use new rewind_to_char function to rewind the input for
-        expression-delimiting tokens.
-        (rewind_to_char): New function.
+       * ada-lex.l (rules): Only recognize 'thread' as a
+       delimiter when followed by numerals, as for c-exp.y.
+       Use new rewind_to_char function to rewind the input for
+       expression-delimiting tokens.
+       (rewind_to_char): New function.
 
 2013-03-11  Pedro Alves  <palves@redhat.com>
            Jan Kratochvil  <jan.kratochvil@redhat.com>
            Pedro Alves  <palves@redhat.com>
 
        * tracepoint.c (tfile_trace_find): For tfind
-       pc/tp/range/outside, look for the next trace frame instead of
-       always starting from frame 0.
+       pc/tp/range/outside, look for the next trace frame instead of
+       always starting from frame 0.
 
 2013-02-26  Anthony Green  <green@moxielogic.com>
 
This page took 0.032982 seconds and 4 git commands to generate.