This is the mail archive of the gdb@sourceware.org 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]
Other format: [Raw text]

show register assignment


Hello,

I'm using the GNU toolchain to create binaries for the ARM architecture
(I build with -g -O2, debug info is presumably dwarf2). With "objdump -S
file.o", I'm able to see which source lines generate which code. The
Lauterbach debugger is also able to show which variable a register is
holding, like this: "msr cpsr_c, r4 ; cpsr_c, flags". Is there a way to
see this with gdb or objdump?

Thanks in advance,
Baurzhan.


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