This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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 = (5238+$lje_bp_line_correction)
  break parser.c:$lje_bp_line_next
[snip]

Based on:

http://sourceware.org/ml/gdb/2008-02/msg00070.html

I guess there's no way to do that :(


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