This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

using gdb as runtime library


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]