This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Fix -break-insert -i.
- From: Daniel Jacobowitz <drow at false dot org>
- To: Vladimir Prus <vladimir at codesourcery dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Tue, 22 Jan 2008 14:29:03 -0500
- Subject: Re: [RFA] Fix -break-insert -i.
- References: <200801222226.35445.vladimir@codesourcery.com>
On Tue, Jan 22, 2008 at 10:26:34PM +0300, Vladimir Prus wrote:
>
> It appears my breakpoint refactoring broke the -i parameter (ignore count)
> for -break-insert. This patch fixes that, as well as adding a test for
> that feature. OK?
>
> - Volodya
>
> gdb/
> * breakpoint.c (break_command_really): New parameter
> ignore_count.
> (break_command_1): Pass 0 as
> ignore_count to break_command_really.
> (gdb_breakpoint): Pass ignore_count to
> break_command_really.
>
> gdb/testsuite
> * gdb.mi/basics.c: Setup for testing breakpoints
> ignore count.
> * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
> * gdb.mi/mi-cli.exp: Adjust.
> * gdb.mi/mi2-cli.exp: Adjust.
OK.
--
Daniel Jacobowitz
CodeSourcery