This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
show register assignment
- From: Baurzhan Ismagulov <ibr at radix50 dot net>
- To: gdb at sources dot redhat dot com
- Date: Wed, 5 Apr 2006 11:04:21 +0200
- Subject: 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.