Mark Kettenis wrote:
>
> Date: Wed, 15 Mar 2000 20:51:18 +0000
> From: Jonathan Larmour <[EMAIL PROTECTED]>
>
> This is using a CVS GDB (specifically insight) tree updated on March 13th.
>
> I cannot reproduce this on my system (gcc-2.95.2, linux 2.2.14, glibc
> from just before the 2.1.3 release) with a GDB compiled from sources
> checked out half an our ago. I don't use insight, but I cannot
> imagine why that would make a difference.
>
> I'm afraid there's not much that I can do without further information
> (compiler, kernel and libc versions, backtraces etc.).
Ah, okay, so it isn't an "obvious" bug after all. Mea culpa. I assumed it
was something GDB-ish because GDB 4.18 works...
With that in mind, I went and debugged this thing properly, and it seems
like my (redhat modified 2.2.12) kernel's ptrace is broken, specifically
when called from fetch_fpregs() in i386-linux-nat.c where it says:
ret = ptrace (PTRACE_GETFPREGS, tid, 0, (int) &fpregs);
I wonder how 4.18 managed to work.
Jifl
--
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow." || These opinions are all my own fault