Read-only archive of the All About Symbian forum (2001–2013) · About this archive

Problems with GDB & gdbstub

6 replies · 2,644 views · Started 23 April 2004

Hi all developers,

I have some problems with ON TARGET DEBUGGING on a Intergator board:

Where do I find gdbstub.exe to download on target?

In my devkit, there isn't this file and I don't know as build it.

Please help me.

Thanks for your support.

bye

You speak of a devkit and Integrator... Rather than using a hobbyist forum like this one, it sounds to me that you should contact Symbian Ltd (regarding what is or isn't in the Symbian DevKit) and/or Texas Instruments (regarding issues specific to the TI Integrator board) for support.

N/A wrote:You speak of a devkit and Integrator... Rather than using a hobbyist forum like this one, it sounds to me that you should contact Symbian Ltd (regarding what is or isn't in the Symbian DevKit) and/or Texas Instruments (regarding issues specific to the TI Integrator board) for support.

Ok!

If you have a Symbian phone and if you want to debug a new application on phone,in this case, what do you do?

I think you use gdb for epoc (free debugger): but for On target Debugging, you must download on target (phone) the gdbstub.exe + gdbseal.dll.

My problem is this: I have gdb.exe but I haven't got gdbstub.exe and so I cannot debug my new application on phone.

How do I built it ?

Is there a Web site where I can download this gdbstub?

I hope that you can help me.

bye

Try reading an article on NewLC.com about debugging with gdb.

If u have standard devkit from symbian u can build gdbstub.exe from this path in 7.0s
C:\Symbian\<Symbian Realease>\src\BEECH\GENERIC\tools\debugger_stub\gdbstub

see gdbstub.mmp builds gdbstub.exe also u have to build gdbseal.dll from here.

TRAP wrote:If u have standard devkit from symbian u can build gdbstub.exe from this path in 7.0s
C:\Symbian\<Symbian Realease>\src\BEECH\GENERIC\tools\debugger_stub\gdbstub

see gdbstub.mmp builds gdbstub.exe also u have to build gdbseal.dll from here.

thanks a lot

jinetto wrote:thanks a lot

Their is one note before u debug ,the gdb(this one) doesn't show you the line number u r debugging,which causes a major bottleneck.It starts debugging from _E32Startup ete etc....so u wont get much info while debugging application.

Also the GUI version of gdb is not work.If u make it work please tell me also.