using gdb as runtime library

Edward Peschko edwardp@excitehome.net
Wed Mar 21 15:59:00 GMT 2001


hey all -

I'd like to be able to use the gdb interactive commands inside of a c++ 
program, especially 'print' with 'set print pretty on' (I'd like to define a 
dump method in terms of the 'print' method which produces the same output 
as the gdb program without need for gdb).

Is this possible? Is there a 'libgdb.a'? Alternatively, how do you set a 
'trigger' on a certain line of an application, so that a gdb command is run at 
a certain point in a file, without stopping execution of the program?

Ed



More information about the Gdb mailing list