From: Theodore A. Roth Date: Mon, 16 Jun 2003 05:50:16 +0000 (+0000) Subject: * avr-tdep.c (avr_register_type): Remove a blank line. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=72fab6974b421615622b0fc5f03f0422461f71a0;p=binutils-gdb.git * avr-tdep.c (avr_register_type): Remove a blank line. (avr_scan_prologue): Correct some comments. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b121dc9193f..60ae4722612 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-06-15 Theodore A. Roth + + * avr-tdep.c (avr_register_type): Remove a blank line. + (avr_scan_prologue): Correct some comments. + 2003-06-15 Theodore A. Roth * avr-tdep.c (avr_scan_prologue): Update comment describing the various diff --git a/gdb/avr-tdep.c b/gdb/avr-tdep.c index 62f977d9e6a..c9c5df07ecb 100644 --- a/gdb/avr-tdep.c +++ b/gdb/avr-tdep.c @@ -184,7 +184,6 @@ avr_register_type (struct gdbarch *gdbarch, int reg_nr) { if (reg_nr == AVR_PC_REGNUM) return builtin_type_uint32; - if (reg_nr == AVR_SP_REGNUM) return builtin_type_void_data_ptr; else @@ -375,9 +374,9 @@ avr_read_fp (void) sbiw r28, in __tmp_reg__,__SREG__ cli - out __SP_L__,r28 - out __SREG__,__tmp_reg__ out __SP_H__,r29 + out __SREG__,__tmp_reg__ + out __SP_L__,r28 A typical AVR function prologue without a frame pointer might look like this: @@ -672,7 +671,7 @@ avr_scan_prologue (struct frame_info *fi) /* Third stage of the prologue scanning. (Really two stages) Scan for: sbiw r28,XX or subi r28,lo8(XX) - sbci r29,hi8(XX) + sbci r29,hi8(XX) in __tmp_reg__,__SREG__ cli out __SP_H__,r29