Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Michael Snyder <Michael.Snyder@access-company.com>
To: Pedro Alves <pedro_alves@portugalmail.pt>
Cc: Eli Zaretskii <eliz@gnu.org>, gdb-patches@sourceware.org
Subject: Re: [Cygwin] Fix for: detaching crashes the inferior.
Date: Tue, 10 Apr 2007 18:35:00 -0000	[thread overview]
Message-ID: <1176230129.10789.10.camel@svmsnyderlnx.palmsource.com> (raw)
In-Reply-To: <4053daab0704100333j194f42b8xecc9a81a0fe479d6@mail.gmail.com>

On Tue, 2007-04-10 at 11:33 +0100, Pedro Alves wrote:
> On 4/9/07, Eli Zaretskii <eliz@gnu.org> wrote:
> > > Date: Mon, 09 Apr 2007 03:06:20 +0100
> > > From: Pedro Alves <pedro_alves@portugalmail.pt>
> > >
> > > Is there a case where we can get to to_detach
> > > without remove_breakpoints being called?  I don't think there
> > > is - we always get here through normal_stop, right?
> >
> > If you think this must be so, but are unsure, you can add a flag that
> > is turned off in remove_breakpoints and turned on when a breakpoint is
> > set.  Then, in to_detach, if the flag is on, you can scream bloody
> > murder (and even abort(), if you think it's fatal).  Once users start
> > using the modified version, you will soon know whether the assumption
> > was wrong...
> >
> 
> :) Thanks for the hint, I'll try to do that.
> 
> I think that gdb by design always removes the breakpoints from the
> inferior when it stops, but it would be nice if someone would confirm
> or unconfirm this.

GDB by design always removes the beakpoints from the 
inferior when it stops.  

;-)



  parent reply	other threads:[~2007-04-10 18:35 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-08 11:37 Pedro Alves
2007-04-08 23:03 ` Pedro Alves
2007-04-09  2:08   ` Pedro Alves
2007-04-09  7:06     ` Eli Zaretskii
2007-04-10 10:33       ` Pedro Alves
2007-04-10 12:07         ` Daniel Jacobowitz
2007-04-10 18:35         ` Michael Snyder [this message]
2007-04-10 18:58         ` Eli Zaretskii
2007-04-10  5:15     ` Christopher Faylor
2007-04-10  9:31       ` Corinna Vinschen
2007-04-10 10:48         ` Pedro Alves
2007-04-10 10:45       ` Pedro Alves
2007-04-19 12:20         ` Christopher Faylor
2007-04-19 22:06           ` Pedro Alves
2007-04-10 21:40       ` Pedro Alves
2007-04-13 13:40         ` Corinna Vinschen

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=1176230129.10789.10.camel@svmsnyderlnx.palmsource.com \
    --to=michael.snyder@access-company.com \
    --cc=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=pedro_alves@portugalmail.pt \
    /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