This is the mail archive of the
insight@sourceware.org
mailing list for the Insight project.
watch memory mapped io registers
- From: Brian Sidebotham <micros at valvers dot com>
- To: insight at sourceware dot org
- Date: Tue, 03 Jul 2007 17:39:34 +0100
- Subject: watch memory mapped io registers
- Reply-to: micros at valvers dot com
Hi guys,
I am debugging an application for an ARM processor which has many
peripheral IO registers memory mapped.
Is it possible to name a watch. For example, if I type the following
into the watch expression:
(unsigned int *)0xe01fc004
Insight correctly evaluates the pointer and displays the contents of
that memory region. However, it would be *MUCH* easier if I could assign
that pointer with the register name, in this case it would be MAMTIM.
Then I could use a .gdbinit file to load up all of the register space
with meaningful information.
Is there a way to do this currently? I've looked at the docs, but it
seems like it's not a feature that's advertised freely if it is available?
I tried using the pre-processor define, which is the same as the watch
expression manually typed in and Insight tells me it is unaware of the
symbol.
Thanks in advance,
Brian Sidebotham.