Re: [gdb]howto specify breakpoints with gdb convenience variables

2009-07-12 Thread Tom Tromey
> "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

Re: [gdb]howto specify breakpoints with gdb convenience variables

2009-07-12 Thread Larry Evans
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