This is the mail archive of the gdb@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: MI and pending breakpoints


On Wed, Mar 15, 2006 at 08:19:59AM -0800, Jim Ingham wrote:
> You need to set the gdb variable "pending" to "on" before setting the  
> breakpoint.  Since this is kind of a pain, we added a "-f" option to - 
> break-insert that will do this for you wrapped around the breakpoint  
> setting ("-f" because this feature was called "future-break" in the  
> NeXT gdb many years ago.)
> 
> It's also arguable that for -break-insert you ALWAYS want "pending"  
> to be "on".

That's how annotate=2 works. However, I think GDB should query the user
the same way it does from the CLI. It's wierd when people start using my
front end and ask why it behaves differently than the CLI.

Bob Rossi


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