From: Pedro Alves <pedro@codesourcery.com>
To: gdb-patches@sourceware.org
Cc: Vladimir Prus <vladimir@codesourcery.com>,
gdb-patches@sources.redhat.com,
Nick Roberts <nickrob@snap.net.nz>,
Marc Khouzam <marc.khouzam@ericsson.com>
Subject: Re: [RFC/RFA] -break-insert -d
Date: Mon, 26 Jan 2009 17:50:00 -0000 [thread overview]
Message-ID: <200901261751.38003.pedro@codesourcery.com> (raw)
Message-ID: <20090126175000.1yksFJ4ktHqxCTU-462updJ16YkGQ8YKaffZN_r2WUY@z> (raw)
In-Reply-To: <200901261614.25050.vladimir@codesourcery.com>
On Monday 26 January 2009 13:14:24, Vladimir Prus wrote:
>
> Presently, the -break-insert command always creates enabled breakpoint. Marc has noticed
> that in Eclipse, with non-stop mode, this case lead to races. Specifically, if a breakpoint
> is disabled in UI, then Eclipse first inserts a breakpoint, and then makes it disabled. So,
> there's a window when the breakpoint is inserted in the target. One possible solution is
> to modify Eclipse to never insert disabled breakpoint in GDB. However, this special-casing
> has to be done in every frontend, and GDB-side solution is better. The below patch implements
> new -d option to the -break-insert command, which causes the newly created breakpoints to be
> disabled.
>
> Is the breakpoint.c change OK.
Looks fine to me.
> Any comments on MI changes?
--
Pedro Alves
next prev parent reply other threads:[~2009-01-26 17:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-26 13:14 Vladimir Prus
2009-01-26 18:47 ` Pedro Alves [this message]
2009-01-26 17:50 ` Pedro Alves
2009-01-30 16:30 ` Vladimir Prus
2009-01-30 16:39 ` Vladimir Prus
2009-01-30 17:41 ` Eli Zaretskii
2009-01-30 17:18 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200901261751.38003.pedro@codesourcery.com \
--to=pedro@codesourcery.com \
--cc=gdb-patches@sources.redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=marc.khouzam@ericsson.com \
--cc=nickrob@snap.net.nz \
--cc=vladimir@codesourcery.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox