From: Fabio G. <fg...@ti...> - 2002-07-18 16:50:38
|
Hi, every body, I'm woking on porting linux-sh on a my own sh-3 based board. To debug the software regarding the machvect description, I boot my card using sh-ilp+g and everything works good. Now I'd like to put on the flash of another my development sh-2 based card the gdbstub I found on sourceforge to achieve the following target: 1) power up my card; 2) load on ram my program; 3) execute from ram my program; 4) debug it. Some doubts: 1) How do I have to link my application program I like to debug using gdbstub? 2) Is it possible to use gdbstub to debug a loaded program (using (gdb) load /root/myrog command); or gdbstub has to be a part of my application program? 3) Can I try to compile sh-ipl+g for may sh-7044 based card, or it has too much specific part sh-3 and sh-4 related? Thanks for your answer. Fabio Goiovagnini. |