This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


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

Advise needed on memory mapped control registers


I'm changing gdb to work with a new CPU architecture that defines a bunch of
(80) memory mapped control registers.  I have at least two options for
refering to these registers in the debugger by name:

1. Have the assembler generate stabs for each control register name and
address.  But then gdb will only know about the control registers when
executable has debug info.
 
2. Create global symbols for each control register within gdb so that can
use control register names regardless if debug info is available.

Any opinions?

--
Dan Olson
dolson@dotcast.com



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