2003-07-27 Andrew Cagney <cagney@redhat.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 7d5eedb08f34d03535a3118424f39988bda42ca6..a66510104579eb2633f899b69c5104815bd834ef 100644 (file)
@@ -1,3 +1,160 @@
+2003-07-27  Andrew Cagney  <cagney@redhat.com>
+
+       * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Set to
+       GDB_MULTI_ACH_PARTIAL.
+
+2003-07-27  Andrew Cagney  <cagney@redhat.com>
+
+       Patch from 2003-07-22 Kei Sakamoto <sakamoto.kei@renesas.com>:
+       * m32r-tdep.c (m32r_memory_insert_breakpoint): Fix code style -
+       operator at start and not end of line.
+       (decode_prologue): Ditto.
+       (m32r_frame_unwind_cache, m32r_unwind_sp, m32r_unwind_pc): Use
+       frame_unwind_register_unsigned instead of
+       frame_unwind_unsigned_register.
+       (m32r_read_pc): Use regcache_cooked_read_unsigned instead of
+       read_register.
+       (m32r_push_dummy_call): Use register_size instead of
+       REGISTER_RAW_SIZE.
+       (m32r_frame_sniffer): Replace m32r_frame_p.
+       (m32r_gdbarch_init): Call frame_unwind_append_sniffer.
+       * m32r-rom.c (report_transfer_performance): Delete extern
+       declaration.
+       (m32r_load, m32r_upload_command): Use print_transfer_performance
+       instead of report_transfer_performance.
+       (_initialize_m32r_rom): Use add_setshow_cmd instead of add_set_cmd
+       / add_show_from_set.
+
+2003-07-26  Andrew Cagney  <cagney@redhat.com>
+
+       * m68hc11-tdep.c (m68hc11_gdbarch_init): Set non-deprecated
+       store_return_value and extract_struct_value_address.
+
+2003-07-26  Daniel Jacobowitz  <drow@mvista.com>
+
+       PR c++/1267
+       * minsyms.c (lookup_minimal_symbol_by_pc_section): If SECTION is
+       NULL, default to the section containing PC.
+
+2003-07-24  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * NEWS: Mention "regs" deprecated for m68hc11 too.
+
+       * m68hc11-tdep.c (_initialize_m68hc11_tdep): Deprecate "regs" command.
+       (m68hc11_print_register): New function to print out one register.
+       (m68hc11_print_registers_info): New function to print registers.
+       (show_regs): Deprecate and use the above.
+       (m68hc11_gdbarch_init): Install the print_registers_info.
+
+2003-07-24  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Verify
+       that we have a SIGTRAP before returning non-zero.
+
+2003-07-23  Michal Ludvig  <mludvig@suse.cz>
+           Elena Zannoni  <ezannoni@redhat.com>
+
+       * linespec.c (decode_line_2): Avoid crash if 
+       find_function_start_sal() returns empty record.
+
+2003-07-23  Andreas Schwab  <schwab@suse.de>
+
+       * ia64-tdep.c (ia64_print_insn): New function.
+       (ia64_gdbarch_init): Set print_insn to it.
+       (_initialize_ia64_tdep): Don't set deprecated_tm_print_insn and
+       deprecated_tm_print_insn_info.
+
+2003-07-22  Michael Snyder  <msnyder@redhat.com>
+
+       * h8300-tdep.c (h8300_extract_return_value): Teach it how to
+       handle 8-bit returns (long long).
+       (h8300h_extract_return_value): Ditto.
+       (h8300_gdbarch_init): Long long is 8 bytes, char is unsigned.
+
+2003-07-22  Andrew Cagney  <cagney@redhat.com>
+
+       * gdbarch.c Include "gdb_obstack.h".
+       (struct gdbarch): Add an "obstack".
+       (alloc_gdbarch_data): Allocate the gdbarch data using
+       GDBARCH_OBSTACK_CALLOC.
+       (free_gdbarch_data): Delete function.
+       (gdbarch_obstack_zalloc): New function.
+       (gdbarch_free): Free the obstack, do not call free_gdbarch_data.
+       Assert that the architecture is not initialized.
+       (gdbarch_alloc): Allocate an obstack, allocate the architecture
+       vector from the obstack.
+       (alloc_gdbarch_data, init_gdbarch_swap): Allocate memory using the
+       architecture obstack.
+       (GDBARCH_OBSTACK_CALLOC, GDBARCH_OBSTACK_ZALLOC): Define.
+       (set_gdbarch_data): Assert that the data is not initialized.
+       (struct gdbarch_data): Delete member "free".
+       (register_gdbarch_data): Do not initialize "free".
+       * gdbarch.h, gdbarch.c: Re-generate.
+       
+2003-07-22  Andrew Cagney  <cagney@redhat.com>
+
+       * configure.in (build_warnings): Add -Wformat-nonliteral.
+       * configure: Re-generate.
+
+2003-07-22  Elena Zannoni  <ezannoni@redhat.com>
+
+       * dwarf2loc.c (locexpr_describe_location): Fix typos.
+
+2003-07-22  Elena Zannoni  <ezannoni@redhat.com>
+
+       * findvar.c (read_var_value): Remove case for thread local storage
+       variables.  It is now entirely handled by the dwarf2 location
+       expression code.
+       * printcmd.c (address_info): Ditto.
+       * symtab.h (address_class): Remove LOC_THREAD_LOCAL_STATIC
+       enumeration value.
+       (struct symbol): Remove objfile field, which was used by
+       LOC_THREAD_LOCAL_STATIC only.
+       * dwarf2read.c (decode_locdesc): Remove is_thread_local variable.
+       * dwarf2loc.h (struct dwarf2_loclist_baton): Add comment about
+       usage of objfile pointer.
+       * dwarf2loc.c (locexpr_describe_location): Add case to handle
+       thread local variables.
+       Add include of objfiles.h.
+       * dwarf2expr.c (execute_stack_op): Add comments about thread local
+       storage variables.
+       * Makefile.in (dwarf2loc.o): Update dependencies.
+
+2003-07-22  Andrew Cagney  <cagney@redhat.com>
+
+       * config/pa/tm-hppa64.h (FRAME_SAVED_PC_IN_SIGTRAMP): Use
+       get_frame_base.
+       (FRAME_BASE_BEFORE_SIGTRAMP): Ditto.
+       (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Ditto.
+       (struct value): Add opaque declaration.
+       (DEPRECATED_FRAME_ARGS_ADDRESS): Delete.
+
+2003-07-21  Andrew Cagney  <cagney@redhat.com>
+
+       From 2003-07-04 Kei Sakamoto <sakamoto.kei@renesas.com>:
+       * m32r-tdep.c, m32r-stub.c, m32r-tdep.c: Rewrite.
+
+2003-07-20  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * m68hc11-tdep.c (m68hc11_pseudo_register_read): Use 
+       regcache_cooked_read_unsigned instead of read_register.
+       (m68hc11_saved_pc_after_call): Likewise.
+       (m68hc11_pseudo_register_write): Use regcache_cooked_write_unsigned
+       instead of write_register.
+       (m68hc11_register_type): New function.
+       (m68hc11_register_virtual_type): Remove.
+       (m68hc11_store_return_value): Convert to use the regcache.
+       (m68hc11_extract_struct_value_address): Likewise.
+       (m68hc11_gdbarch_init): Remove deprecated ops for register to use
+       m68hc11_register_type; undeprecate store_return_value and
+       extract_struct_value_address.
+
+2003-07-20  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * m68hc11-tdep.c (m68hc11_extract_return_value): Use regcache_raw_read
+       and translate to use regcache.
+       (m68hc11_gdbarch_init): Undeprecate extract_return_value.
+
 2003-07-18  Andrew Cagney  <cagney@redhat.com>
 
        * gdbarch.sh (DWARF2_BUILD_FRAME_INFO): Delete method.
This page took 0.034928 seconds and 4 git commands to generate.