qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Arkadiy <arkaisp2021@gmail.com>
To: qemu-devel@nongnu.org
Cc: S.E.Harris@kent.ac.uk, f4bug@amsat.org,
	NDNF <arkaisp2021@gmail.com>, Arkasha <ivanovrkasha@gmail.com>,
	mrolnik@gmail.com, pavel.dovgaluk@ispras.ru
Subject: [PATCH] gdb-xml/avr-cpu.xml: fix pc and sp dimension
Date: Thu, 18 Mar 2021 19:46:01 +0300	[thread overview]
Message-ID: <20210318164601.20926-1-arkaisp2021@gmail.com> (raw)

From: NDNF <arkaisp2021@gmail.com>

fix pc and sp dimension in xml for avr-gdb

Signed-off-by: Arkasha <ivanovrkasha@gmail.com>
---
 gdb-xml/avr-cpu.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gdb-xml/avr-cpu.xml b/gdb-xml/avr-cpu.xml
index c4747f5b40..89458b717f 100644
--- a/gdb-xml/avr-cpu.xml
+++ b/gdb-xml/avr-cpu.xml
@@ -10,7 +10,7 @@
      register descriptions.  -->
 
 <!DOCTYPE feature SYSTEM "gdb-target.dtd">
-<feature name="org.gnu.gdb.riscv.cpu">
+<feature name="org.gnu.gdb.avr.cpu">
   <reg name="r0" bitsize="8" type="int" regnum="0"/>
   <reg name="r1" bitsize="8" type="int"/>
   <reg name="r2" bitsize="8" type="int"/>
@@ -44,6 +44,6 @@
   <reg name="r30" bitsize="8" type="int"/>
   <reg name="r31" bitsize="8" type="int"/>
   <reg name="sreg" bitsize="8" type="int"/>
-  <reg name="sp" bitsize="8" type="int"/>
-  <reg name="pc" bitsize="8" type="int"/>
+  <reg name="sp" bitsize="16" type="data_ptr"/>
+  <reg name="pc" bitsize="22" type="code_ptr"/>
 </feature>
-- 
2.17.1



                 reply	other threads:[~2021-03-18 17:18 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=20210318164601.20926-1-arkaisp2021@gmail.com \
    --to=arkaisp2021@gmail.com \
    --cc=S.E.Harris@kent.ac.uk \
    --cc=f4bug@amsat.org \
    --cc=ivanovrkasha@gmail.com \
    --cc=mrolnik@gmail.com \
    --cc=pavel.dovgaluk@ispras.ru \
    --cc=qemu-devel@nongnu.org \
    /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;
as well as URLs for NNTP newsgroup(s).