gdb's communication to a process/libgdb?

Smita
2003-04-16T19:59:16Z

Hi,
I am spawing a gdb process from my process and feeding to gdb an input
script.
I want the parent process to be able to control this gdb process. For this
to happen, I want to communicate to the parent process that a breakpoint
has occurred when gdb stops at a breakpoint? Is it possible to to this?
There is something called libgdb. I am not sure if that can be used for
this purpose.

Any feedback on this would be greatly appreciated.
Thanks
Smita