I would like to control the gdb (GNU Debugger) from a Java Application: start a debugging session, setting breakpoints, stepping etc. One solution for this problem is of course to run the gdb via:
Runtime.exec(String command);
The downside of this approach is the additional coding effort for parsing results, sending commands etc. To overcome this, I would like to use an existing API or library (preferably written in Java) which acts as middleware between my Java program and the gdb.