From: Chris Emerson <cemerson@ch...> - 2001-10-04 07:14:52
One of the many current problems I'm having with UML on ppc ATM is
that the gdb proxy isn't working. gdb gets an access error trying to
attach to process 1.
syscall_get_number() returns bogus numbers (often 0, sometimes
enormous) so ptrace etc. can't be properly intercepted. But ptrace
isn't always broken, since init can run within the same UML without
debug. (But runs into other bugs)
I've finally worked out that this particular problem was caused by a
recent host kernel upgrade (2.4.5-pre1ish to 2.4.10-pre12ish). I'd
like to know why it only (AFAICT) seems to break the gdb proxying, and
not the normal UML tracing, or things like strace. Any ideas?
Chris Emerson, obsessed Cambridge juggler
Web page: http://www.chiark.greenend.org.uk/~cemerson/