This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [Patch]: Little Cleanup
> Date: Mon, 05 Mar 2007 06:57:50 +0100
> From: Markus Deuling <deuling@de.ibm.com>
> CC: Pedro Alves <pedro_alves@portugalmail.pt>, gdb-patches@sourceware.org
>
> if (!breakpoints_inserted && !ecs->another_trap)
> {
> - breakpoints_failed = insert_breakpoints ();
> - if (breakpoints_failed)
> + if (insert_breakpoints () != 0)
> {
> stop_stepping (ecs);
> return;
I thought we agreed about adding a comment here, something like:
/* insert_breakpoints returns non-zero if it fails to insert the
breakpoints. */