Implementing a GDBStub

Aug 03, 2005 0 Replies

Hello,



as part of a new project, I need to embed a GDBstub into our bootloader to debug an application running on a NEC VR4148A. We don't run a Linux kernel, it's our own system.



To interface to the GDB debugger, I found some resources on the net, saying that I need to embed remote.c and add 4 system specific functions. Can anyone give me a pointer to a resource, how to implement these functions and information about getting this stuff up and running?



I looked at gcc.gnu.org and searched the official gdb documentation, but especially these chapters of the documentation are left blank. So I need an overview which exceptions I have to hook, and how they are defined. The offical documentation says *nothing* on this topic.



Best Regards,



Frank



Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required