2003-05-19 David Carlton <carlton@bactrian.org>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 83fab1fc094e6996ed525ef4cbdcff2476569f79..3dd4a52d2bac59874c52e6b0af14145c89f666a2 100644 (file)
@@ -1,3 +1,252 @@
+2003-05-19  David Carlton  <carlton@bactrian.org>
+
+       * block.h: Declare block_static_block.
+       * block.c (block_static_block): New.
+       * symtab.c (lookup_symbol_aux): Remove 'static_block' argument to
+       lookup_symbol_aux_local, calling block_static_block instead.
+       (lookup_symbol_aux_local): Delete 'static_block' argument.
+
+2003-05-19  David Carlton  <carlton@bactrian.org>
+
+       * symtab.c (lookup_symbol_aux): Delete #if 0 hunk.
+
+2003-05-19  Michal Ludvig  <mludvig@suse.cz>
+
+       * x86-64-tdep.c (x86_64_dwarf2gdb_regno_map): Fix
+       register numbers mapping.
+
+2003-05-18  Adam Fedor  <fedor@gnu.org>
+
+       * symtab.c (completion_list_objc_symbol): New function.
+       (make_symbol_completion_list): Use it to add ObjC symbols
+       when looking though the list.
+       (language_search_unquoted_string): New function.
+       (make_file_symbol_completion_list): Use it.
+
+2003-05-18  Andreas Schwab  <schwab@suse.de>
+
+       * Makefile (m68klinux-nat.o, m68klinux-tdep.o): Update
+       dependencies.
+       * config/m68k/tm-linux.h (DEPRECATED_EXTRACT_RETURN_VALUE): Define
+       as m68k_linux_extract_return_value.
+       (DEPRECATED_STORE_RETURN_VALUE): Define as
+       m68k_linux_store_return_value.
+       (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Define as
+       m68k_linux_extract_struct_value_address.
+       * m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc): Use
+       get_next_frame, get_frame_base, get_frame_pc.
+       (m68k_linux_frame_saved_pc): Use get_frame_base.
+       (m68k_linux_extract_return_value): New function.
+       (m68k_linux_store_return_value): New function.
+       (m68k_linux_extract_struct_value_address): New function.
+       * config/m68k/tm-m68k.h: Declare m68k_get_longjmp_target.
+
+       * c-exp.y (typebase): Remove duplicate occurence of
+       `SIGNED_KEYWORD LONG LONG'.  Use builtin_type_long_long instead
+       of lookup_signed_typename. 
+
+2003-05-18  Mark Kettenis  <kettenis@gnu.org>
+
+       * dwarf2loc.c (find_location_expression): Change type of second
+       argument to `size_t *'.
+       (loclist_read_variable, loclist_tracepoint_var_ref): Use size_t
+       for size variable.
+
+2003-05-18  David Carlton  <carlton@bactrian.org>
+
+       * symtab.c (lookup_symbol_aux): Rename 'mangled_name' argument to
+       'linkage_name'.  Add comment.
+       (lookup_symbol_aux_local): Rename 'mangled_name' argument to
+       'linkage_name'.
+       (lookup_symbol_aux_block, lookup_symbol_aux_symtabs)
+       (lookup_symbol_aux_psymtabs, lookup_symbol_aux_minsyms)
+       (lookup_block_symbol): Ditto.
+
+2003-05-16  Andrew Cagney  <cagney@redhat.com>
+
+       * gdbarch.sh (DEPRECATED_REGISTER_BYTES): Rename REGISTER_BYTES.
+       * gdbarch.h, gdbarch.c: Re-generate.
+       * arm-linux-tdep.c (arm_linux_extract_return_value): Delete reference.
+       * TODO (REGISTER_BYTES): Delete reference.
+       * alpha-tdep.c (alpha_gdbarch_init): Update.
+       * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
+       * x86-64-tdep.c (x86_64_init_abi): Update.
+       * vax-tdep.c (vax_gdbarch_init): Update.
+       * v850-tdep.c (v850_gdbarch_init): Update.
+       * sparc-tdep.c (sparc_gdbarch_init): Update.
+       * sh-tdep.c (sh_gdbarch_init): Update.
+       * s390-tdep.c (s390_gdbarch_init): Update.
+       * rs6000-tdep.c (rs6000_gdbarch_init): Update.
+       * ns32k-tdep.c (ns32k_gdbarch_init_32082): Update.
+       (ns32k_gdbarch_init_32382): Update.
+       * mn10300-tdep.c (mn10300_gdbarch_init): Update.
+       * mcore-tdep.c (mcore_gdbarch_init): Update.
+       * m68k-tdep.c (m68k_gdbarch_init): Update.
+       * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
+       * ia64-tdep.c (ia64_gdbarch_init): Update.
+       * i386-tdep.c (i386_gdbarch_init): Update.
+       * i386-linux-tdep.c (i386_linux_init_abi): Update.
+       * hppa-tdep.c (hppa_gdbarch_init): Update.
+       * h8300-tdep.c (h8300_gdbarch_init): Update.
+       * frv-tdep.c (frv_gdbarch_init): Update.
+       * cris-tdep.c (cris_gdbarch_init): Update.
+       * avr-tdep.c (avr_gdbarch_init): Update.
+       * arm-tdep.c (arm_gdbarch_init): Update.
+       * sparc-tdep.c (sparc_pop_frame): Update.
+       * rs6000-tdep.c (rs6000_pop_frame): Update.
+       * remote.c (init_remote_state): Update.
+       (remote_prepare_to_store): Update.
+       * remote-vx.c (vx_prepare_to_store): Update.
+       * remote-sds.c (sds_fetch_registers): Update.
+       (sds_prepare_to_store): Update.
+       * remote-array.c: Update.
+       * regcache.c (init_legacy_regcache_descr): Update.
+       (init_regcache_descr): Update.
+       * mips-tdep.c (mips_eabi_extract_return_value): Update.
+       (mips_o64_extract_return_value): Update.
+       * irix5-nat.c (fetch_core_registers): Update.
+       * irix4-nat.c (fetch_core_registers): Update.
+       * i386-tdep.h: Update.
+       * hppa-tdep.c (pa_do_registers_info): Update.
+       (pa_do_strcat_registers_info): Update.
+       * cris-tdep.c (cris_register_bytes_ok): Update.
+       * config/nm-gnu.h (CHILD_PREPARE_TO_STORE): Update.
+       * config/sparc/tm-sparc.h (DEPRECATED_REGISTER_BYTES): Update.
+       * config/sparc/nm-sun4sol2.h (CHILD_PREPARE_TO_STORE): Update.
+       * config/sparc/nm-sun4os4.h (CHILD_PREPARE_TO_STORE): Update.
+       * config/sparc/nm-nbsd.h (CHILD_PREPARE_TO_STORE): Update.
+       * config/sparc/tm-sp64.h (DEPRECATED_REGISTER_BYTES): Update.
+       * config/s390/tm-s390.h (DEPRECATED_REGISTER_BYTES): Update.
+       * config/pa/tm-hppa64.h (DEPRECATED_REGISTER_BYTES): Update.
+       * config/mips/tm-mips.h (DEPRECATED_REGISTER_BYTES): Update.
+       * config/mips/tm-irix6.h (DEPRECATED_REGISTER_BYTES): Update.
+       * config/mips/tm-irix5.h (DEPRECATED_REGISTER_BYTES): Update.
+       * config/m68k/tm-sun3.h (DEPRECATED_REGISTER_BYTES): Update.
+       (REGISTER_BYTES_OK): Update.
+       * config/m68k/nm-sun3.h (CHILD_PREPARE_TO_STORE): Update.
+       * config/ia64/tm-ia64.h (DEPRECATED_REGISTER_BYTES): Update.
+
+2003-05-16  Ian Lance Taylor  <ian@airs.com>
+
+       * vax-tdep.c (INVALID_FLOAT, MAXLEN, NOPCODES): Don't define.
+       (vax_print_insn, print_insn_arg): Remove static functions.
+       (vax_gdbarch_init): Call set_gdbarch_print_insn with
+       print_insn_vax from opcodes library.
+       (_initialize_vax_tdep): Don't set deprecated_tm_print_insn.
+
+2003-05-15  Andrew Cagney  <cagney@redhat.com>
+
+       * arch-utils.h (legacy_breakpoint_from_pc): Delete declaration.
+       * target.h (memory_breakpoint_from_pc): Delete declaration.
+       * mem-break.c (memory_breakpoint_from_pc): Delete function.
+       * arch-utils.c (legacy_breakpoint_from_pc): Delete function.
+       * monitor.c (monitor_insert_breakpoint): Use
+       gdbarch_breakpoint_from_pc instead of memory_breakpoint_from_pc.
+       * gdbarch.sh (BREAKPOINT_FROM_PC): Do not provide a default.
+       * gdbarch.h, gdbarch.c: Re-generate.
+       * sparc-tdep.c (sparc_breakpoint_from_pc): New function.
+       (sparc_gdbarch_init): Set breakpoint_from_pc to
+       sparc_breakpoint_from_pc.
+       * config/sparc/tm-sparc.h (BREAKPOINT): Delete macro.
+       (BREAKPOINT_FROM_PC): Define.
+       (sparc_breakpoint_from_pc): Declare.
+       * hppa-tdep.c (hppa_breakpoint_from_pc): New function.
+       * config/pa/tm-hppa.h (hppa_breakpoint_from_pc): Declare.
+       (BREAKPOINT_FROM_PC): Define.
+       (BREAKPOINT): Delete macro.
+       * target.h: Update comment.
+       * s390-tdep.c (s390_gdbarch_init): Update comments.
+       * remote.c: Update comments.
+       * remote-mips.c: Update comments.
+       * proc-api.c (write_with_trace): Do not check for a breakpoint.
+       * mem-break.c: Update comment.
+       * ia64-tdep.c (IA64_BREAKPOINT): Rename BREAKPOINT.
+       (ia64_memory_insert_breakpoint): Update.
+       * config/sparc/tm-sparc.h: Update comment.
+       * config/pa/tm-hppa64.h: Update comment.
+       * rs6000-tdep.c (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Delete macro.
+       (rs6000_breakpoint_from_pc): Update.
+       * mips-tdep.c (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Delete macro.
+       (PMON_BIG_BREAKPOINT, PMON_LITTLE_BREAKPOINT): Delete macro.
+       (IDT_LITTLE_BREAKPOINT, IDT_LITTLE_BREAKPOINT): Delete macro.
+       (MIPS16_LITTLE_BREAKPOINT, MIPS16_BIG_BREAKPOINT): Delete macro.
+       (mips_breakpoint_from_pc): Update.
+       (mips_dump_tdep): Update.
+
+       * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Delete macro.
+       * minsyms.c (lookup_minimal_symbol): Inline
+       DEPRECATED_SYMBOL_MATCHES_NAME.  Replace STREQ with strcmp.
+
+       * c-lang.c (c_printstr): Delete "extern inspect_it" declaration.
+       * p-valprint.c (pascal_object_print_value_fields): Ditto.
+       * p-lang.c (pascal_printstr): Ditto.
+       * objc-lang.c (objc_printstr): Ditto.
+       * m2-lang.c (m2_printstr): Ditto.
+       * jv-valprint.c (java_print_value_fields): Ditto.
+       * f-lang.c (f_printstr): Ditto.
+       * cp-valprint.c (cp_print_value_fields): Ditto.  Include "valprint.h".
+       * ada-valprint.c (inspect_it, repeat_count_threshold): Ditto, and
+       for repeat_count_threshold.
+       * Makefile.in (cp-valprint.o): Update dependencies.
+
+2003-05-15  Jeff Johnston  <jjohnstn@redhat.com>
+       * ia64-tdep.c: Increase max_skip_non_prologue_insns to 40.
+       (examine_prologue): Support looking through leaf functions, knowing
+       they start with mov r2,r12.  Support skipping over indirect stores 
+       of the input registers.  Upon hitting a non-nop branch instruction 
+       or predicated instruction, bail out by setting lim_pc to the current 
+       pc value in the loop.  At the end, if the lim_pc value is still 
+       beyond our calculated value and we have trust_limit set,
+       use the lim_pc value.
+
+2003-05-15  Andrew Cagney  <cagney@redhat.com>
+
+       * dummy-frame.h (deprecated_find_dummy_frame_regcache): Rename
+       generic_find_dummy_frame.
+       * dummy-frame.c (deprecated_find_dummy_frame_regcache): Update.
+       (deprecated_generic_find_dummy_frame): Update.
+       (deprecated_read_register_dummy): Update.
+       * frame.c (deprecated_generic_get_saved_register): Update.
+
+2003-05-15  Theodore A. Roth  <troth@openavr.org>
+
+       * avr-tdep.c (avr_breakpoint_from_pc): New function.
+       (avr_gdbarch_init): Set breakpoint_from_pc method.
+
+2003-05-15  Andrew Cagney  <cagney@redhat.com>
+
+       * regcache.c (build_regcache): Set deprecated_register_valid
+       directly.
+       (deprecated_grub_regcache_for_register_valid): Delete function.
+       * regcache.h (deprecated_grub_regcache_for_register_valid): Delete
+       declaration.
+
+2003-05-15  David Carlton  <carlton@bactrian.org>
+       
+       Committed by Elena Zannoni <ezannoni@redhat.com>    
+        * symtab.c (lookup_symbol_aux): Delete calls to
+        lookup_symbol_aux_minsyms.
+        (lookup_symbol_aux_minsyms): Comment out function and
+        prototype. Delete lookup by mangled name.
+
+2003-05-14  Kevin Buettner  <kevinb@redhat.com>
+
+       * dwarf2expr.c (new_dwarf_expr_context): Set ``stack_len'' to
+       correctly indicate an empty stack and ``stack_allocated'' to the
+       indicate the number of elements initially allocated.
+       (dwarf_expr_grow_stack): Simplify method for computing new
+       stack size.  Don't loop infinitely if ``stack_len'' is zero.
+       (execute_stack_op): Move ``ctx->in_reg'' initialization
+       out of loop.  Allow DW_OP_reg0 ... DW_OP_reg31 and DW_OP_regx to
+       be used in conjuction with DW_OP_piece.  Revise error message
+       accordingly.
+
+2003-05-14  Theodore A. Roth  <troth@openavr.org>
+
+       * MAINTAINERS: Update my email address.
+       * avr-tdep.c: Ditto.
+
 2003-05-14  Elena Zannoni  <ezannoni@redhat.com>
 
        * symtab.h (enum domain_enum): Rename from namespace_enum.
This page took 0.027207 seconds and 4 git commands to generate.