Is this a bug? "target remote" doesn't follow "set architecture"

Michael Snyder
Sat Dec 19 16:26:00 GMT 2009

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?

More information about the Gdb mailing list