* [PATCH] gdb-xml/avr-cpu.xml: fix pc and sp dimension
@ 2021-03-18 16:46 Arkadiy
0 siblings, 0 replies; only message in thread
From: Arkadiy @ 2021-03-18 16:46 UTC (permalink / raw)
To: qemu-devel; +Cc: S.E.Harris, f4bug, NDNF, Arkasha, mrolnik, pavel.dovgaluk
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-03-18 17:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-18 16:46 [PATCH] gdb-xml/avr-cpu.xml: fix pc and sp dimension Arkadiy
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).