This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Is this a bug? "target remote" doesn't follow "set architecture"
- From: Michael Snyder <msnyder at vmware dot com>
- To: gdb at sourceware dot org
- Date: Sat, 19 Dec 2009 08:24:12 -0800
- Subject: Is this a bug? "target remote" doesn't follow "set architecture"
I built a gdb with target=i686-linux. I also want to use it
for remote debugging.
I was surprised to find that, even though I told it to
"set architecture i386:x86-64", both before and after
"target remote", it still tried to interpret the "g"
regs packet as 32 bit regs, and to display the 32 bit
reg set for "info reg".
Am I wrong to expect this to work?