Zitat von Kieran Bingham <[EMAIL PROTECTED]>:
I've been talking to one of the GDB dev's on IRC, and he's pointed me
towards gdb-6.7.1/gdb/gdbserver/linux-low.c

the part that does the offsets is in linux_read_offsets(). If it doesn't
have the correct values defined for PTrace to obtain them, then you'll
probably have to find them out yourself, or as it was in my case, extend
the kernel implementation for PTrace to support the required
PT_TEXT_ADDR PT_TEXT_END_ADDR and PT_DATA_ADDR.

I've done this now, and it lets me load as normal without playing around

Well, I guess I'll have to extend the kernel implementation in "arch/m68knommu/ptrace.c" as well. As far as I can see there is nothing mentioned about PT_TEXT_ADDR, PT_TEXT_END_ADDR or PT_DATA_ADDR. I had a look at "arch/v850/kernel/ptrace.c:arch_ptrace()". Seems like that the above mentioned functionality is implemented there. Any hints how I can do this for my arch?

Best Regards,
Markus


_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to