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]

Re: using gdb as runtime library


>>>>> "Edward" == Edward Peschko <edwardp@excitehome.net> writes:
Edward> Is there a 'libgdb.a'? Alternatively, how do you set a
Edward> 'trigger' on a certain line of an application, so that a gdb
Edward> command is run at a certain point in a file, without stopping
Edward> execution of the program?

You set a breakpoint on that line, and then the set of commands to be
run when the breakpoint is set.  If the last command is "continue", 
execution will pick up where it left off.

        --jtc

-- 
J.T. Conklin
RedBack Networks


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