> "Larry" == Larry Evans writes:
Larry> Based on:
Larry> http://sourceware.org/ml/gdb/2008-02/msg00070.html
Larry> I guess there's no way to do that :(
If you use the cvs gdb you can do it using python.
In plain gdb you can do it by using set logging to set the output
file, writing the da
On 07/12/09 10:44, Larry Evans wrote:
[snip]
I was wondering if there was some way to set a convenience
variable:
[snip]
so that the breakpoints could conveniently be adjusted
after changes to the source code. IOW, something like:
set $lje_bp_line_correction = 5
set $lje_bp_line_next = (5
My */gcc/.gdbinit contains lines like:
#cp_parser_template_parameter:./* ...we have a template type parameter.
break parser.c:9730
condition $bpnum expand_location(input_location).line>(99)
commands
call expand_location(token->location)
call cp_lexer_start_debugging(parser->lexer)
end
Now, there