This is the mail archive of the gdb@sources.redhat.com 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: breakpoint commands and finish


Matt Thomas wrote:
> 
> What should be the behavour of the following?
> 
> break function
> commands
> finish
> continue
> end
> 
> Should finish cause gdb to stop and wait for a prompt
> or should gdb act on the continue?  (gdb5.x does the
> former while gdb4.x did the latter)

Consistant with your observations, the traditional behavior
has been that gdb would stop and prompt for a new command.
I believe that recently someone has changed it so that it
would at least try to execute the finish and the continue.


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