This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Breakpoint commands
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb at sourceware dot org
- Date: Sat, 24 Oct 2009 18:30:12 +0200
- Subject: Re: Breakpoint commands
- References: <83iqe4g9t2.fsf@gnu.org> <200910241704.00548.pedro@codesourcery.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Pedro Alves <pedro@codesourcery.com>
> Date: Sat, 24 Oct 2009 17:03:59 +0100
>
> "You can use breakpoint commands to start your program up again. Simply
> use the @code{continue} command, or @code{step}, or any other command
> that resumes execution.
>
> Any other commands in the command list, after a command that resumes
> execution, are ignored. This is because any time you resume execution
> (even with a simple @code{next} or @code{step}), you may encounter
> another breakpoint---which could have its own command list, leading to
> ambiguities about which list to execute."
Thanks for reminding me. We ought to display a warning when any
commands are used on the command list beyond those which resume.