[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [microblaze-uclinux] User application debug.
I managed to fix the problem by leaving in EDK design only caches among
Microblaze core features - some other available features don't work well
on Spartan-2e.
-----Original Message-----
From: owner-microblaze-uclinux@xxxxxxxxxxxxxx
[mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] On Behalf Of John
Williams
Sent: Thursday, April 05, 2007 4:03 PM
To: microblaze-uclinux@xxxxxxxxxxxxxx
Subject: Re: [microblaze-uclinux] User application debug.
Hi Leonid,
Leonid wrote:
> Petalogix site explains how to debug user applications here
>
http://developer.petalogix.com/wiki/UserGuide/Debugging/UserApplications
> .
>
> However it will work if you have shell prompt and can start
application
> manually. I can also start gdb server from rc script. But what to do
if
> I want to debug busybox - uClinux runs it automatically each time some
> of the applets is called?
You can debug busybox like any other application, just invoke busybox
itself with the applet name as the first param. e.g.
# gdbserver host:1234 /bin/busybox ls /bin/*
If you are unable to get a busybox shell, then prehaps try one of the
other shells (user/vendor settings -> core settings), and set it to be
/bin/sh. Still build the busybox shell, but your system should boot
into the alternative first. Then debug as above.
Regards,
John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive :
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/