Am Donnerstag, den 27.11.2008, 09:06 +0100 schrieb Michael Schnell:
> So,
> Am I right to understand:
> 
> To do remote Debugging (using gdb and Eclipse on a PC) for 
> target-userland programs via Ethernet the only option I need to activate 
> is "gdbserver".
> 
> Am I right to understand that "gdbserver" does not need any support by 
> the Kernel but itself just is a userland program ?
> 
Hello Michael,
gdbserver needs ptrace support in the kernel. For a specific
architecture, it may be necessary to adapt ptrace in the kernel as well
as the low level gdbserver functions.

> I was told that with this MMU-less NIOS distr there is some glitch that 
> prevent the remote debugger see threads (by libpthread) in a userland 
> program. As this is absolutely essential for my work this needs to be 
> fixed.
I'm not sure if gdbserver is working with pthreads on non-mmu at all,
because the threads are in the same address space. I have never tried
it, however, and may be wrong.

-Erwin


_______________________________________________
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