Re: gdb's communication to a process/libgdb?

Daniel Jacobowitz
2003-04-16T20:04:14Z

On Wed, Apr 16, 2003 at 12:59:14PM -0700, Smita wrote:
> 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.

You should probably be reading the documentation for "MI". Check the
manual, available online under http://sources.redhat.com/gdb/.

--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer