Fix auxv data parsing on 64-bit solaris
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 655a5cc9f2f499c743f805d61c72aa2322610afb..a41bf8741cd33a0a07921c9a00c3d880ea9f2b65 100644 (file)
@@ -1,3 +1,130 @@
+2008-05-04  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * target.h (struct target_ops): New field to_auxv_parse.
+       * auxv.c (default_auxv_parse): New, renamed from previous
+       target_auxv_parse.
+       (target_auxv_parse): Try to call target method.  Fallback to
+       default_auxv_parse if not found.
+       * procfs.c (procfs_auxv_parse): New.
+       (init_procfs_ops): On Solaris, in 64-bit mode, install
+       procfs_auxv_parse.
+
+2008-05-03  Adam Nemet  <anemet@caviumnetworks.com>
+
+       * symfile.c (add_symbol_file_command):  Use paddress rather than
+       hex_string to print the address.
+
+2008-05-03  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * rs6000-tdep.c (rs6000_frame_this_id): If info->base is 0,
+       return the null frame ID to terminate the backtrace.
+
+2008-05-03  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * rs6000-tdep.c: Do not include "rs6000-tdep.h".
+       (rs6000_find_toc_address_hook): Move to rs6000-aix-tdep.c.
+       (SIG_FRAME_PC_OFFSET): Likewise.
+       (SIG_FRAME_LR_OFFSET): Likewise.
+       (SIG_FRAME_FP_OFFSET): Likewise.
+       (rs6000_push_dummy_call): Likewise.
+       (rs6000_return_value): Likewise.
+       (rs6000_convert_from_func_ptr_addr): Likewise.
+       (branch_dest, rs6000_software_single_step): Likewise.
+       (deal_with_atomic_sequence): Rename to ...
+       (ppc_deal_with_atomic_sequence): ... this.  Adapt all callers.
+       Do not call branch_dest; inline required parts of that function.
+       (rs6000_skip_trampoline_code): Replace DEPRECATED_SYMBOL_NAME
+       with SYMBOL_LINKAGE_NAME.
+       (struct reg, regsize): Delete.
+       (read_memory_addr): Delete; inline into callers.
+       (rs6000_skip_prologue): Move after skip_prologue.
+       (skip_prologue): Remove prototype.
+       (rs6000_gdbarch_init): Remove sysv_abi variable; perform all
+       initialization as if this variable were true.  Do not install
+       ppc64_sysv_abi_adjust_breakpoint_address.
+
+       * rs6000-aix-tdep.c: Include "gdb_assert.h", "gdbtypes.h",
+       "gdbcore.h", "target.h", "value.h", "infcall.h", "objfiles.h",
+       and "breakpoint.h".
+       (rs6000_find_toc_address_hook): Move here from rs6000-tdep.c.
+       (SIG_FRAME_PC_OFFSET): Likewise.
+       (SIG_FRAME_LR_OFFSET): Likewise.
+       (SIG_FRAME_FP_OFFSET): Likewise.
+       (rs6000_push_dummy_call): Likewise.
+       (rs6000_return_value): Likewise.
+       (rs6000_convert_from_func_ptr_addr): Likewise.
+       (branch_dest, rs6000_software_single_step): Likewise.  Replace
+       tdep->text_segment_base by AIX_TEXT_SEGMENT_BASE.
+       (rs6000_aix_init_osabi): Install rs6000_push_dummy_call,
+       rs6000_return_value, and rs6000_convert_from_func_ptr_addr.
+       Call set_gdbarch_long_double_bit and set_gdbarch_frame_red_zone_size.
+       Set tdep->lr_frame_offset.  Do not set tdep->text_segment_base.
+
+       * rs6000-tdep.h (rs6000_software_single_step): Remove prototype.
+       (AIX_TEXT_SEGMENT_BASE): New macro.
+       * rs6000-nat.c (exec_one_dummy_insn): Replace tdep->text_segment_base
+       by AIX_TEXT_SEGMENT_BASE.
+
+       * ppc-tdep.h (ppc_deal_with_atomic_sequence): Add prototype.
+       (struct gdbarch_tdep): Remove text_segment_base member.
+       * ppc-linux-tdep.c (ppc_linux_init_abi): On 64-bit, install
+       ppc64_sysv_abi_adjust_breakpoint_address.
+
+       * Makefile.in (rs6000-tdep.o): Update dependencies.
+       (rs6000-aix-tdep.o): Likewise.
+
+2008-05-03  Luis Machado  <luisgpm@br.ibm.com>
+           Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+       * cli/cli-decode.c (lookup_cmd_1): Fix indentation.
+       * doublest.c (convert_typed_floating): Fix typo in comment.
+       * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
+       * frame-unwind.h (frame_sniffer_ftype): Likewise.
+       * frame.c (frame_unwind_address_in_block): Likewise.
+       * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Likewise.
+       * symtab.h (struct symbol): Likewise.
+       * tramp-frame.h (struct trad_frame_cache): Likewise.
+       * value.c (allocate_repeat_value): Likewise.
+
+2008-05-03  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * infrun.c (handle_inferior_event): Do not insert breakpoints at
+       TARGET_WAITKIND_LOADED events during startup (i.e. in the shell).
+
+2008-05-03  Pedro Alves  <pedro@codesourcery.com>
+
+       * parse.c (parse_exp_in_context): Don't override
+       expression_context_pc if get_selected_block returned a valid
+       block.
+
+2008-05-03  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * alpha-tdep.h (ALPHA_REGISTER_BYTES): Delete.
+       * arm-tdep.h (STATUS_REGISTER_SIZE): Delete.
+       * breakpoint.c (args_for_catchpoint_enable, current_exception_event):
+       Delete.
+       * c-typeprint.c (c_type_print_base): Delete handling of template
+       instantiations.
+       * cp-support.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET)
+       (METHOD_PTR_TO_VOFFSET): Delete.
+       * defs.h (QUIT_FIXME): Delete.
+       * f-lang.h (DEFAULT_DOTMAIN_NAME_IN_MF77, DEFAULT_MAIN_NAME_IN_MF77)
+       (DEFAULT_DOTMAIN_NAME_IN_XLF_BUGGY, DEFAULT_DOTMAIN_NAME_IN_XLF): Delete.
+       * gdbtypes.h (struct cplus_struct_type): Delete is_inlined,
+       ninstantiations, and instantiations.
+       (TYPE_INSTANTIATIONS, TYPE_NINSTANTIATIONS, TYPE_INSTANTIATION)
+       (TYPE_FN_FIELD_INLINED): Delete.
+       * srec.h (SREC_BINARY): Delete.
+       * symtab.c (symbol_init_demangled_name): Delete.
+       * symtab.h (SYMBOL_INIT_DEMANGLED_NAME, symbol_init_demangled_name)
+       (SYMBOL_OBJFILE, struct exception_event_record, CURRENT_EXCEPTION_KIND)
+       (CURRENT_EXCEPTION_CATCH_SAL, CURRENT_EXCEPTION_CATCH_LINE)
+       (CURRENT_EXCEPTION_CATCH_FILE, CURRENT_EXCEPTION_CATCH_PC)
+       (CURRENT_EXCEPTION_THROW_SAL, CURRENT_EXCEPTION_THROW_LINE)
+       (CURRENT_EXCEPTION_THROW_FILE, CURRENT_EXCEPTION_THROW_PC): Delete.
+       * target.h (enum thread_control_capabilities): Delete tc_switch.
+       (target_can_switch_threads): Delete.
+
 2008-05-03  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * Makefile.in (objfiles.o): Update.
This page took 0.029494 seconds and 4 git commands to generate.