Re: [Patch]: Little Cleanup

Eli Zaretskii
2007-03-05T21:04:54Z

> 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. */