This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Feature request: support a "resume previous execution" with a breakpoint commands section
- From: Tristan Wibberley <tristan dot wibberley at gmail dot com>
- To: gdb at sourceware dot org
- Date: Wed, 25 Jul 2012 01:30:09 +0100
- Subject: 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