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

Tristan Wibberley tristan.wibberley@gmail.com
Wed Jul 25 00:31:00 GMT 2012


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



More information about the Gdb mailing list