[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] GDB with uClinux
Hi Everyone,
> My development systems are:
a Windows 2000 development system with ISE 6.3 and XPS 6.3 tools installed
a RedHat Linux workstation (ver 8 with 2.4 kernel) with a recent mb-gcc tool chain and uClinux distribution and my application software under development
> My current build/debug process:
> Edit my application c code and compile it, and the uClinux kernel on my RedHat machine, and then TFTP a pImage.romfs file to the U-Boot bootloader which allows me to then boot the new kernel and run my application.
>
> Currently my only debug capability is through printf() to the console. This works, however I'd like to be able to set break points in the c source, step, and examine variables in my application. I've been able to do this using the GDB debugger incorporated in the Xilinx Platform Studio. However, that was for simple applications built on the Windows machine (through cygwin) that I downloaded to the target via the JTAG port, using XPS. I'd like to be able to use this same XPS GDB debugger for my uClinux application and want to know if anyone else has done this and if so, how it is done.
>
> I read on http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux that the uClinux kernel essentially must be built in a true linux environment, rather than the cygwin shell that XPS uses. I'm wondering if it may be possible to take the output from my linux build along with the kernel and my application source code, and have the XPS GDB use it for debugging. Has anyone done this or know of a way to use a debugger for applications under uClinux?
>
> Thanks in advance,
>
> Walt J. White
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/