Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Michael Veksler <mveksler@tx.technion.ac.il>
To: Thomas Neumann <tneumann@users.sourceforge.net>, 	gdb@sourceware.org
Subject: Re: Organization of breakpoint locations
Date: Mon, 19 Feb 2007 14:54:00 -0000	[thread overview]
Message-ID: <45D9B6EA.6050309@tx.technion.ac.il> (raw)
In-Reply-To: <20070219130342.GA10857@caradoc.them.org>

Daniel Jacobowitz wrote:
> One nice thing is that if you kill or crash GDB today, it tends 
> to leave breakpoints removed.  If it didn't do this huge massive
> removal, it probably wouldn't - perhaps we should add a signal handler
> that takes care of that if we change it.
>   
I always thought (speculated) that breakpoint removal was to simplify 
things like

    (gdb) x /i $pc

Where you don't want to see the INT instruction, but the original value.
GDB crash does sound like another reason.
Being curios, I'd like to ask what was the original reason for
this behavior? Does anyone know? I never saw it documented anywhere.

-- 
Michael Veksler
http:///tx.technion.ac.il/~mveksler


  reply	other threads:[~2007-02-19 14:40 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-19 11:57 Thomas Neumann
2007-02-19 12:54 ` Daniel Jacobowitz
2007-02-19 14:40   ` Thomas Neumann
2007-02-19 14:48     ` Daniel Jacobowitz
2007-02-19 14:54       ` Michael Veksler [this message]
2007-02-19 21:24         ` Daniel Jacobowitz
2007-02-20  4:46       ` Thomas Neumann
2007-02-20 10:26         ` Thomas Neumann
2007-02-21 17:05   ` Michael Snyder
2007-02-21  1:53 ` Michael Snyder

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=45D9B6EA.6050309@tx.technion.ac.il \
    --to=mveksler@tx.technion.ac.il \
    --cc=gdb@sourceware.org \
    --cc=tneumann@users.sourceforge.net \
    /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