2009-06-16 Tristan Gingold <gingold@adacore.com>
authorTristan Gingold <gingold@adacore.com>
Tue, 16 Jun 2009 09:21:36 +0000 (09:21 +0000)
committerTristan Gingold <gingold@adacore.com>
Tue, 16 Jun 2009 09:21:36 +0000 (09:21 +0000)
commit4e99ad6974d2233414bccf6989139dead4132704
tree87efee7814f9afcbbce28d53af557ab29fd88a4f
parent6db7e006e4767a0edcf6f4f7ebf80ea0e35a68c2
2009-06-16  Tristan Gingold  <gingold@adacore.com>

* avr-tdep.c (struct gdbarch_tdep): Replace the unused field with
call_length field.
(avr_register_name): Add const to register_names.
(avr_scan_arg_moves): Move inside avr_scan_prologue.
(avr_scan_prologue): Add pc_end argument.
Only read prologue bytes that can be read.
Limit the scan to the known prologue length.
Makes pattern variables static and const.
Fix indentation.
(avr_skip_prologue): Pass func_end argument to avr_scan_prologue.
Fix indentation.
(avr_breakpoint_from_pc): Constify avr_break_insn.
(avr_extract_return_value): Fix function comment.
(avr_frame_unwind_cache): Fix GNU style violations.
Pass current_pc argument to avr_scan_prologue to stop prologue
analysis to the current pc.  This fixes the bug with the 'next'
command.
Correctly set the SP register of the previous frame (use call_length).
(avr_frame_prev_register): Fix indentation.
Correctly read PC from the stack on avr6 architectures.
(avr_push_dummy_call): Fix indentation.
(avr_gdbarch_init): Set call_length according to the architecture.
gdb/ChangeLog
gdb/avr-tdep.c
This page took 0.040399 seconds and 4 git commands to generate.