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]

Feature request: support a "resume previous execution" with a breakpoint commands section


Please add a command that is valid within a breakpoint commands
section which simply resumes whatever you were doing (finish, next,
step, continue, until <location>, etc, as if you did not have the
extra breakpoint running some commands automatically).


Background:

It is possible to make gdb to take some action when a breakpoint is hit:

break <location>
commands
  silent
  some-actions
  continue
end


The problem with this that the request will solve:

If you are using "next" to manually step through some code which will
also cause gdb to take those actions then your "next" command
magically turns into a full "continue". This happens also when the
code that will cause the actions to be taken is deeply nested and you
are expecting to step over it.


Please let me know if this request isn't described well.

Regards,
--
Tristan


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