On 11/15/06, Grant Likely <[EMAIL PROTECTED]> wrote:
> On 11/15/06, Erwin Haese <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > thinking about ordering a BDI2000, in the information about the BDI2000 it
> > is broadly mentioned to be capable debugging the kernel.
> > Is it also possible to debug Linux user space programs with BDI2000 in a
> > similar way as it is possible with gdbserver running on the target system?
>
> I don't think so, but why would you need to?

It is (I've done it), but it can be tricky.  I did it a while back
with a 2.4 kernel on a 8245-based board.  If I remember correctly the
trick was to set a breakpoint inside a kernel call (I used an ioctl)
that came from your userspace app and then map the userspace
executable to start at address 0x0.  After that you are able to set
breakpoints in the user-space app and do whatever you need.  After
doing it I remember seeing a description of basically the same steps
online somewhere.

>
> > Is there any integration of the BDI2000 to eclipse running at a linux
> > host?
>
> Ultimate solutions has a product that does this.
>
> g.
>
> --
> Grant Likely, B.Sc. P.Eng.
> Secret Lab Technologies Ltd.
> [EMAIL PROTECTED]
> (403) 399-0195
> _______________________________________________
> Linuxppc-embedded mailing list
> [email protected]
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Reply via email to