gdb/mi, frontend, windows

Hi,

I am doing frontend for gdb.
Got such things in place:

  • gdb from mingw package
  • windows OS
  • sample aplication to be debugged
  • my application (frontend)

I can open sample application under gdb and debug it.
What I want is to connect somehow from my application to gdb and debug sample application sending and receiving gdb/mi commands.

Do not have any idea how to connect from my application to gdb (through gdb/mi). There is nothing about it on the internet.
Has anyone ever experienced such problems?