Hi,
thank you very much....will try to adapt it to my needs. By the way, I
am using gdbserver which comes along uClinux-dist-20070130 which is
pretty old I guess. Maybe I should use gdb-6.7 as you are doing.
Best regards,
Markus
Zitat von Kieran Bingham <[EMAIL PROTECTED]>:
Don't accept this as much more than a hint patch ... its not submitted
yet - but this is all what I did to extend the SH kernel and gdbserver.
--
Hope it helps.
Kieran Bingham
On Fri, 2008-04-11 at 14:39 +0200, Markus Franke wrote:
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