From: Fabien Chouteau <chouteau@adacore.com>
To: qemu-trivial@nongnu.org
Cc: peter.maydell@linaro.org, qemu-devel@nongnu.org,
afaerber@suse.de, lcapitulino@redhat.com
Subject: [Qemu-devel] [PATCH 3/3] Add ARM registers definitions in Monitor commands
Date: Tue, 24 Sep 2013 18:46:01 +0200 [thread overview]
Message-ID: <1380041161-13266-4-git-send-email-chouteau@adacore.com> (raw)
In-Reply-To: <1380041161-13266-1-git-send-email-chouteau@adacore.com>
Signed-off-by: Fabien Chouteau <chouteau@adacore.com>
---
monitor.c | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/monitor.c b/monitor.c
index 74f3f1b..e40c20d 100644
--- a/monitor.c
+++ b/monitor.c
@@ -3351,6 +3351,23 @@ static const MonitorDef monitor_defs[] = {
{ "cleanwin", offsetof(CPUSPARCState, cleanwin) },
{ "fprs", offsetof(CPUSPARCState, fprs) },
#endif
+#elif defined(TARGET_ARM)
+ { "r0", offsetof(CPUARMState, regs[0]) },
+ { "r1", offsetof(CPUARMState, regs[1]) },
+ { "r2", offsetof(CPUARMState, regs[2]) },
+ { "r3", offsetof(CPUARMState, regs[3]) },
+ { "r4", offsetof(CPUARMState, regs[4]) },
+ { "r5", offsetof(CPUARMState, regs[5]) },
+ { "r6", offsetof(CPUARMState, regs[6]) },
+ { "r7", offsetof(CPUARMState, regs[7]) },
+ { "r8", offsetof(CPUARMState, regs[8]) },
+ { "r9", offsetof(CPUARMState, regs[9]) },
+ { "r10", offsetof(CPUARMState, regs[10]) },
+ { "r11", offsetof(CPUARMState, regs[11]) },
+ { "r12", offsetof(CPUARMState, regs[12]) },
+ { "r13|sp", offsetof(CPUARMState, regs[13]) },
+ { "r14|lr", offsetof(CPUARMState, regs[14]) },
+ { "r15|pc", offsetof(CPUARMState, regs[15]) },
#endif
{ NULL },
};
--
1.7.9.5
next prev parent reply other threads:[~2013-09-24 16:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-24 16:45 [Qemu-devel] [PATCH 0/3] Few minor improvements of monitor disas command (v2) Fabien Chouteau
2013-09-24 16:45 ` [Qemu-devel] [PATCH 1/3] Fix coding style Fabien Chouteau
2013-09-24 17:33 ` Andreas Färber
2013-09-24 16:46 ` [Qemu-devel] [PATCH 2/3] Improve Monitor disas with symbol lookup Fabien Chouteau
2013-09-24 16:46 ` Fabien Chouteau [this message]
2013-09-24 23:53 ` [Qemu-devel] [PATCH 3/3] Add ARM registers definitions in Monitor commands Peter Maydell
2013-09-25 15:38 ` Fabien Chouteau
2013-09-25 15:51 ` Peter Maydell
2013-09-25 16:29 ` Fabien Chouteau
2013-09-26 0:05 ` Peter Maydell
2013-09-26 14:50 ` Fabien Chouteau
2013-09-26 15:28 ` Peter Maydell
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=1380041161-13266-4-git-send-email-chouteau@adacore.com \
--to=chouteau@adacore.com \
--cc=afaerber@suse.de \
--cc=lcapitulino@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@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).