* thread.c (info_threads_command): Use get_selected_frame ().
[binutils-gdb.git] / gdb / ChangeLog
index 326dd973ca05486692435ea4f970ec8b532e2635..40a6a6a667a8fd9868fae8161cc35f9f40cb0411 100644 (file)
@@ -1,3 +1,129 @@
+2003-07-28  Daniel Jacobowitz  <drow@mvista.com>
+
+       * thread.c (info_threads_command): Use get_selected_frame ().
+       Check that there is at least one non-sentinel frame.
+
+2003-07-27  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * m68hc11-tdep.c (struct frame_extra_info): Remove.
+       (m68hc11_pop_frame): Remove.
+       (m68hc11_frame_saved_pc): Remove.
+       (m68hc11_frame_chain): Remove.
+       (m68hc11_frame_init_saved_regs): Remove.
+       (m68hc11_init_extra_frame_info): Remove.
+       (m68hc11_store_struct_return): Remove.
+       (m68hc11_saved_pc_after_call): Remove.
+
+2003-07-27  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * m68hc11-tdep.c (struct m68hc11_unwind_cache): New struct to hold
+       frame unwind information.
+       (m68hc11_scan_prologue): New function from m68hc11_guess_from_prologue
+       and adapted for frame unwinding.
+       (m68hc11_skip_prologue): Update to scan prologue in temporary object.
+       (m68hc11_unwind_pc): New function.
+       (m68hc11_frame_unwind_cache): New function to analyze frames.
+       (m68hc11_frame_this_id): New function to create new frame struct.
+       (m68hc11_frame_prev_register): New function to unwind a register from
+       the frame.
+       (m68hc11_frame_unwind): Default 68hc11/68hc12 unwinder.
+       (m68hc11_frame_p): New function for the above.
+       (m68hc11_frame_base_address): New function to return fp of frame.
+       (m68hc11_frame_args_address): Update for frame.
+       (m68hc11_frame_base): Default 68hc11/68hc12 frame.
+       (m68hc11_unwind_sp): New function.
+       (m68hc11_unwind_dummy_id): New function.
+       (m68hc11_gdbarch_init): Install the above frames; remove deprecated
+       calls.
+
+2003-07-27  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * m68hc11-tdep.c (m68hc11_analyze_instruction): Don't advance the pc.
+       (m68hc11_guess_from_prologue): Advance the pc and frame size only
+       when we are beyond the current pc.
+
+2003-07-27  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * m68hc11-tdep.c (m68hc11_push_dummy_call): New function adapted
+       from m68hc11_push_arguments.
+       (m68hc11_push_arguments): Remove.
+       (m68hc11_push_return_address): Remove.
+       (m68hc11_gdbarch_init): Install the above; remove above deprecated
+       handlers; remove deprecated_extra_stack_alignment_needed.
+
+2003-07-27  Andrew Cagney  <cagney@redhat.com>
+
+       * config/pa/tm-hppa.h (init_frame_pc_default): Declare.
+       * infcall.c (legacy_push_dummy_code) [GDB_TARGET_IS_HPPA]: Update
+       REAL_PC and not the pointer.
+       * hppa-hpux-tdep.c: Include frame.h
+
+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