This is the mail archive of the gdb@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]

Re: Today's gdb failed


Tom Tromey <tromey@redhat.com> writes:

> I looked a little bit.
> 
> 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.
> I don't know what this means though.  I can't look any more.

It means that I broke it.  Chaninging

#define I386_LINUX_ORIG_EAX_REGNUM 41

into

#define I386_LINUX_ORIG_EAX_REGNUM (NUM_GREGS + NUM_FREGS + NUM_SSE_REGS)

should fix things.  I'll make sure it gets fixed over the next few
days.

Mark


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