From: Nathan Froyd <froydnj@codesourcery.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Extending gdb stub implementation with ARM926 registers support
Date: Wed, 1 Jul 2009 12:26:37 -0700 [thread overview]
Message-ID: <20090701192637.GF1119@codesourcery.com> (raw)
In-Reply-To: <dd5065570907011005l2cf14fbao5b61d15ecd3563d@mail.gmail.com>
On Wed, Jul 01, 2009 at 09:05:35PM +0400, Dmitry Smirnov wrote:
> As you know, ARM926 has few registers that are not supported by
> current gdb stub. For instance, SPSRs, R13_abt, etc.
>
> Is it possible to extend gdb stub in this way?
> I would try to do it by myself, but I need some guidelines. Obviously,
> I need to extend the stub with some xml files describing these
> registers and add its processing somehow. How?
You'll need to:
- Write the necessary XML file(s) in gdb-xml/. I believe the format of
the XML files is minimally documented in the GDB manual. Reading
other XML files can help as well (both in QEMU and GDB itself);
- Add those XML file(s) to gdb_xml_files in configure for appropriate
targets;
- Add appropriate calls to gdb_register_coprocessor in
target-arm/helper.c:cpu_arm_init.
-Nathan
prev parent reply other threads:[~2009-07-01 19:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-01 17:05 [Qemu-devel] Extending gdb stub implementation with ARM926 registers support Dmitry Smirnov
2009-07-01 19:26 ` Nathan Froyd [this message]
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=20090701192637.GF1119@codesourcery.com \
--to=froydnj@codesourcery.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.