This is the mail archive of the insight@sourceware.org mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

watch memory mapped io registers


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]