This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

Re: RFC add "convenience functions" to gdb


>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:

Tom> For quite a while now I've wanted to be able to make a breakpoint
Tom> conditional on the current frame's caller.  I was never able to think
Tom> of a way to do this.

Of course, after sending this, I remembered that Roland told me how,
by setting multiple breakpoints and having the breakpoint in the outer
frame set a convenience variable.

I never remember this when actually debugging, though.  And, I think
convenience functions will have other uses.  So, please consider the
patch even though my example was a bad one.

Tom


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