* gdbarch.sh (addr_bits_remove): Change type to 'm'.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index e4d1930b40a92171331bb89e97109c8f5b1d547f..a2ee6442d27ece04d0981956de2c13c35fd0e919 100644 (file)
@@ -1,3 +1,180 @@
+2008-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdbarch.sh (addr_bits_remove): Change type to 'm'.
+       (smash_text_address): Likewise.
+       * gdbarch.c, gdbarch.h: Regenerate.
+
+       * arch-utils.c (core_addr_identity): Add gdbarch parameter.
+       * arch-utils.h (core_addr_identity): Likewise.
+       * arm-tdep.c (arm_addr_bits_remove): Likewise.
+       (arm_smash_text_address): Likewise.
+       * hppa-tdep.c (hppa_smash_text_address): Likewise.
+       * m88k-tdep.c (m88k_addr_bits_remove): Likewise.
+       * s390-tdep.c (s390_addr_bits_remove): Likewise.
+
+       * mips-tdep.c (mips_addr_bits_remove): Add gdbarch parameter.
+       Use it instead of current_gdbarch.
+
+       * arm-tdep.c (arm_prologue_prev_register, arm_unwind_pc,
+       arm_dwarf2_prev_register): Update calls.
+       * m88k-tdep.c (m88k_unwind_pc): Update call.
+
+2008-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * dwarf2expr.h (dwarf2_read_address): Add gdbarch argument.
+       * dwarf2expr.c (dwarf2_read_address): Add gdbarch argument.
+       Call gdbarch_integer_to_address directly instead of converting
+       to value and back.  Update comment.
+       (execute_stack_op): Update call site.
+       * dwarf2loc.c (find_location_expression): Likewise.
+       (locexpr_describe_location): Update
+
+       * dwarf2expr.h (struct dwarf_expr_context): Add gdbarch member.
+       * dwarf2-frame.c (execute_stack_op): Initialize ctx->gdbarch.
+       * dwarf2loc. (dwarf2_evaluate_loc_desc): Likewise.
+       (dwarf2_loc_desc_needs_frame): Likewise.
+
+2008-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * breakpoint.h (struct bp_location): Change type of section
+       member to "struct obj_section *".
+       * tracepoint.h (struct tracepoint): Likewise.
+       * symtab.h (struct general_symbol_info): Replace bfd_section
+       member with obj_section.
+       (struct symtab_and_line): Change type of section member to
+       "struct obj_section *".
+       (SYMBOL_BFD_SECTION): Remove macro, replace by ...
+       (SYMBOL_OBJ_SECTION): ... this.
+
+       * minsym.c (prim_record_minimal_symbol_and_info): Record symbol
+       section as obj_section instead of bfd_section.
+
+       * ada-lang.c (ada_decode_symbol): Use gsymbol->obj_section
+       directly instead of looking of obj_section from bfd_section.
+
+       * objfiles.h (find_pc_sect_section): Remove.
+       * objfiles.c (find_pc_sect_section): Remove.
+       (find_pc_section): Inline find_pc_sect_section code.
+
+       * symfile.h (find_pc_overlay): Return struct obj_section *.
+       (find_pc_mapped_section): Likewise.
+       (section_is_overlay, section_is_mapped): Change type of section
+       argument to struct obj_section *.
+       (pc_in_mapped_range, pc_in_unmapped_range): Likewise.
+       (overlay_mapped_address, overlay_unmapped_address): Likewise.
+       (symbol_overlayed_address): Likewise.
+       * symtab.h (symbol_overlayed_address): Likewise.
+       * symfile.c (overlay_is_mapped): Remove.
+       (section_is_mapped): Inline overlay_is_mapped code.  Update.
+       (overlay_invalidate_all): Update.
+       (section_is_overlay): Change section argument to type
+       "struct obj_section *".  Use bfd_ methods.
+       (pc_in_unmapped_range): Likewise.  Handle relocated sections.
+       (pc_in_mapped_range): Likewise.  Handle relocated sections.
+       (sections_overlap): Likewise.
+       (overlay_unmapped_address): Likewise.
+       (overlay_mapped_address): Likewise.
+       (symbol_overlayed_address): Likewise.
+       (find_pc_overlay): Return struct obj_section *.
+       (find_pc_mapped_section): Likewise.
+       (list_overlays_command): Update.
+       (map_overlay_command, unmap_overlay_command): Update.
+       (simple_overlay_update): Update.
+
+       * block.h (blockvector_for_pc_sect): Change section argument
+       to type "struct obj_section *".
+       (block_for_pc_sect): Likewise.
+       * block.c (blockvector_for_pc_sect): Change section argument
+       to type "struct obj_section *".
+       (block_for_pc_sect): Likewise.
+       * symtab.h (find_pc_sect_function, find_pc_sect_psymtab,
+       find_pc_sect_symtab, find_pc_sect_psymbol, find_pc_sect_line,
+       lookup_minimal_symbol_by_pc_section, find_function_start_pc): Likewise.
+       (matching_bfd_sections): Rename to ...
+       (matching_obj_sections): ... this.  Update argument types.
+       * blockframe.c (find_pc_sect_function): Likewise.
+       * breakpoint.c (describe_other_breakpoints): Likewise.
+       (breakpoint_has_pc, check_duplicates_for): Likewise.
+       * minsyms.c (lookup_minimal_symbol_by_pc_section_1): Likewise.
+       (lookup_minimal_symbol_by_pc_section): Likewise.
+       * symtab.c (find_pc_sect_psymtab_closer): Likewise.
+       (find_pc_sect_psymtab, find_pc_sect_psymbol, find_pc_sect_symtab,
+       find_pc_sect_line, find_function_start_pc): Likewise.
+       (matching_bfd_sections): Rename to ...
+       (matching_obj_sections): ... this.  Update argument types.
+
+       * blockframe.c (find_pc_partial_function): Update to section
+       type changes.  No longer call find_pc_sect_section.
+       (cache_pc_function_section): Change to type "struct obj_section *".
+       * breakpoint.c (resolve_sal_pc): Update to section type changes.
+       * exec.c (xfer_memory): Likewise.
+       * findvar.c (read_var_value): Likewise.
+       * infcmd.c (jump_command): Likewise.
+       * linespec.c (minsym_found): Likewise.
+       * maint.c (maintenance_translate_address): Likewise.
+       * minsyms.c (lookup_minimal_symbol_by_pc_section_1): Likewise.
+       (lookup_solib_trampoline_symbol_by_pc): Likewise.
+       * parse.c (write_exp_msymbol): Likewise.
+       * printcmd.c (build_address_symbolic): Likewise.
+       (address_info, sym_info): Likewise.
+       * symmisc.c (dump_msymbols, print_symbol): Likewise.
+       * symtab.c (fixup_section): Likewise.
+       (fixup_symbol_section, fixup_psymbol_section): Likewise.
+       (find_pc_line, find_function_start_sal): Likewise.
+       * target.c (memory_xfer_partial): Likewise.
+       * hppa-hpux-tdep.c (hppa64_hpux_in_solib_call_trampoline): Likewise.
+       * spu-tdep.c (spu_overlay_update): Likewise.
+
+2008-09-04  Doug Evans  <dje@google.com>
+
+       * defs.h (plongest,pulongest): Renamed from paddr_u,paddr_d.
+       Change argument of pulongest from CORE_ADDR to ULONGEST.
+       All callers updated.
+       * utils.c (plongest): Renamed from paddr_d.
+       (pulongest): Renamed from paddr_u, change arg type to ULONGEST.
+       * remote-mips.c (send_srec): Use paddr_nz instead of paddr_u in
+       `CORE_ADDR addr' arg of error message.
+
+2008-09-03  Angela Marie Thomas <angela@releasedominatrix.com>
+
+       * ser-tcp.c (ser_tcp_send_break): New function.
+       (_initialize_ser_tcp): Use ser_tcp_send_break.
+       * ser-tcp.h (ser_tcp_send_break): New prototype.
+
+2008-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * spu-tdep.c (spu_push_dummy_call): Update all stack pointer slots
+       when allocating stack frame for inferior call.
+
+2008-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * spu-tdep.c (spu_frame_unwind_cache): Do not attempt to unwind
+       SP or return address if we failed to find a valid frame.
+
+2008-09-03  Aleksandar Ristovski  <aristovski@qnx.com>
+
+       * breakpoint.c (breakpoint_init_inferior): Mark as not inserted only
+       non-permanent breakpoints.
+       (bpstat_stop_status): Change enable_state to bp_disabled only for
+       non-permanent breakpoints.
+       (bp_loc_is_permanent): New function.
+       (create_breakpoint): Check if the location points to a permanent
+       breakpoint and if it does, make breakpoint permanent.
+       (update_breakpoint_locations): Make sure new locations of permanent
+       breakpoints are properly initialized.
+       * i386-tdep.c (i386_skip_permanent_breakpoint): New function.
+       (i386_gdbarch_init): Set gdbarch_skip_permanent_breakpoint.
+
+2008-09-02  Pedro Alves  <pedro@codesourcery.com>
+
+       * breakpoint.c (insert_breakpoints, update_global_location_list):
+       Check breakpoints_always_inserted_mode instead of
+       always_inserted_mode directly.
+
+2008-09-02  Andreas Schwab  <schwab@suse.de>
+
+       * ia64-tdep.c (ia64_get_dyn_info_list): Use obj_section_addr.
+
 2008-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        Stay compatible after the GCC PR fortran/29635 fix.
This page took 0.02638 seconds and 4 git commands to generate.