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]

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?


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