This is the mail archive of the gdb-patches@sources.redhat.com 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] |
It's supposed to work that way already. Either something's broken, or some register other than the ones you named *is* needed. The 'g' pkt should only go out if gdb needs the value of a register that it doesn't already have.
This can sometimes happen 'indirectly', eg. if you try to set a register, gdb may try to read it first.
Try setting a breakpoint in remote_fetch_registers, then go up the stack and see what register gdb is trying to read.
-- Orjan Friberg Axis Communications
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |