support for multiple ARM register banks in GDB

Brendan Kehoe
2006-05-11T14:50:49Z

Hi folks,

Is anyone already looking at GDB's port to the ARM, and in particular
what it believes is the single register bank on the chip? For
processors like the ARM7TDMI, there are a few register banks depending
on the current mode of the ARM. In order to debug (not C++) exceptions
on an ARM embedded target, it's necessary to be able to look at a
specific bank's register like r13_irq. This sort of stuff appears to be
in place in the simulator, but not in GDB itself.

I'm curious if the ARM support under GDB mainly intended for RTOS-based
stuff, versus full-fledged embedded development? (sic)

Thanks for any tips,
B