* [commit] [avr] format and comment cleanup
@ 2003-06-16 5:55 Theodore A. Roth
0 siblings, 0 replies; only message in thread
From: Theodore A. Roth @ 2003-06-16 5:55 UTC (permalink / raw)
To: gdb-patches
[-- Attachment #1: Type: TEXT/PLAIN, Size: 252 bytes --]
Hi,
Committed the attached.
This is only and format and comment change.
Ted Roth
2003-06-15 Theodore A. Roth <troth@openavr.org>
* avr-tdep.c (avr_register_type): Remove a blank line.
(avr_scan_prologue): Correct some comments.
[-- Attachment #2: Type: TEXT/PLAIN, Size: 1252 bytes --]
2003-06-15 Theodore A. Roth <troth@openavr.org>
* avr-tdep.c (avr_register_type): Remove a blank line.
(avr_scan_prologue): Correct some comments.
Index: avr-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/avr-tdep.c,v
retrieving revision 1.58
diff -u -r1.58 avr-tdep.c
--- avr-tdep.c 16 Jun 2003 00:36:59 -0000 1.58
+++ avr-tdep.c 16 Jun 2003 05:47:41 -0000
@@ -184,7 +184,6 @@
{
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 @@
sbiw r28,<LOCALS_SIZE>
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 @@
/* 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-06-16 5:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-16 5:55 [commit] [avr] format and comment cleanup Theodore A. Roth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox