Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Michael Snyder <Michael.Snyder@palmsource.com>
To: Sascha <sascha@pasalacqua.de>
Cc: 'Daniel Jacobowitz' <drow@false.org>, gdb@sourceware.org
Subject: Re: Disabling breakpoints does not work if rejected from remotestub
Date: Tue, 06 Mar 2007 19:44:00 -0000	[thread overview]
Message-ID: <1173210273.29183.98.camel@localhost.localdomain> (raw)
In-Reply-To: <004401c75fc2$698386b0$02b2a8c0@insanenotebook>

On Tue, 2007-03-06 at 08:38 +0100, Sascha wrote:
> Hi
> 
> >>However, the more serious error is that at this point, the
> "run" (or "step") command is aborted, returning to the gdb
> prompt, but without removing the breakpoints.  The error handling
> code at this point ought to remove all of the breakpoints that
> have been inserted.
> 
> I guess GDB does not have to remove the breakpoints at that point - as long
> as it will remember them later on.

No, that's not how gdb works (unles there's a change that I
don't know about).  We don't leave 'em in, we always remove 'em.


>  You simply have to compare the "DELETE
> BP1/BP2" section and the "DISABLE BP1/BP2" section in the log.
> 
> _Deleting_ the breakpoints causes GDB to send the required "z0" (bp remove)
> packets for those breakpoints which have been inserted already.
> 
> _Disabling_ the breakpoints does nothing. No "z0" packets were send to the
> stub.

That's odd.  Doesn't sound right.
> 
> So I guess the fix is to make GDB send the required z0 packets for disabled
> breakpoints - just like it does for deleted breakpoints. 

Could be.


      reply	other threads:[~2007-03-06 19:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-27 11:55 Disabling breakpoints does not work if rejected from remote stub Sascha
2007-02-27 12:52 ` Daniel Jacobowitz
2007-02-27 19:29   ` Sascha
2007-03-06  1:06     ` Michael Snyder
2007-03-06  7:38       ` Disabling breakpoints does not work if rejected from remotestub Sascha
2007-03-06 19:44         ` Michael Snyder [this message]

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=1173210273.29183.98.camel@localhost.localdomain \
    --to=michael.snyder@palmsource.com \
    --cc=drow@false.org \
    --cc=gdb@sourceware.org \
    --cc=sascha@pasalacqua.de \
    /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