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]

wrong PC for "set architecuture xxx" for gdbserver


Hi:

I use "set architecuture xxx" command to change arch for my gdbserver,
and I've traced that, gdb will send a g_packet to gdbserver to fetch
registers' values, and then do some correct-pc-things.

But, if I input the "set arch xxx" command right after the "continue"
command, the value of EIP will always be wrong, it points to the
instruction after the correct one. Why?


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