Implementing a GDBStub

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

Reply to
pukys
Loading thread data ...

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.