This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Today's gdb failed
>>>>> "Mark" == Mark Kettenis <kettenis@science.uva.nl> writes:
>> On my system, HAVE_PTRACE_GETFPXREGS is not defined.
>> This means that HAVE_SSE_REGS is not defined.
>> So the value of the above expression seems to be 32.
>> However regnum is 41.
Mark> It means that I broke it. Chaninging
Mark> #define I386_LINUX_ORIG_EAX_REGNUM 41
Mark> into
Mark> #define I386_LINUX_ORIG_EAX_REGNUM (NUM_GREGS + NUM_FREGS + NUM_SSE_REGS)
Thanks, that worked for me.
Tom