From: "Theodore A. Roth" <troth@openavr.org>
To: gdb-patches@sources.redhat.com
Subject: [commit] [avr] format and comment cleanup
Date: Mon, 16 Jun 2003 05:55:00 -0000 [thread overview]
Message-ID: <Pine.LNX.4.44.0306152251470.21006-200000@bozoland.mynet> (raw)
[-- 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
reply other threads:[~2003-06-16 5:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.44.0306152251470.21006-200000@bozoland.mynet \
--to=troth@openavr.org \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox