From: Mark Kettenis <mark.kettenis@xs4all.nl>
To: brobecker@adacore.com
Cc: gdb-patches@sourceware.org
Subject: Re: Faster stepping amidst breakpoints
Date: Sun, 13 Feb 2011 15:17:00 -0000 [thread overview]
Message-ID: <201102131516.p1DFGidE017378@glazunov.sibelius.xs4all.nl> (raw)
In-Reply-To: <20110201032338.GI2384@adacore.com> (message from Joel Brobecker on Tue, 1 Feb 2011 07:23:38 +0400)
> Date: Tue, 1 Feb 2011 07:23:38 +0400
> From: Joel Brobecker <brobecker@adacore.com>
>
> > As far as I can remember (you know how much GDB development I do
> > nowadays), the only risks were if GDB crashed and left the application
> > with breakpoints inserted. Of course, I'm in favor of GDB not
> > crashing.
>
> I see this as an acceptable outcome of a debugger crash. I am guessing
> that in most cases, people debug their program, and then want it killed,
> so leaving the inferior behind with breakpoints inserted won't matter
> much (or, not as much as having their session brutally interrupted by
> the crash itself). For the small number of those for whom it matters,
> they can change the switch back...
You're probably right for the case where people start the program from
GDB, but I guess that when people attach to an already running process
they typically don't want to kill it when they're done with debugging.
That said, it is probably a bad idea to have different behaviour for
"run" and "attach" in this case. Let's throw the switch after the 7.3
release and see if people even notice.
next prev parent reply other threads:[~2011-02-13 15:17 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-22 15:06 Maxim Grigoriev
2011-01-24 8:04 ` Daniel Jacobowitz
2011-01-24 21:08 ` Maxim Grigoriev
2011-01-31 7:47 ` Joel Brobecker
2011-01-31 15:39 ` Daniel Jacobowitz
2011-02-01 3:23 ` Joel Brobecker
2011-02-01 18:44 ` Michael Snyder
2011-02-03 4:55 ` Joel Brobecker
2011-02-02 17:10 ` Daniel Jacobowitz
2011-02-03 4:46 ` Joel Brobecker
2011-02-13 15:17 ` Mark Kettenis [this message]
2011-02-14 3:27 ` Joel Brobecker
2011-02-14 10:50 ` Joel Brobecker
2011-02-01 15:12 ` Pedro Alves
2011-02-03 22:54 ` Maxim Grigoriev
2011-02-04 16:06 ` Tom Tromey
2011-02-04 19:32 ` Maxim Grigoriev
2011-02-04 16:33 ` Daniel Jacobowitz
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=201102131516.p1DFGidE017378@glazunov.sibelius.xs4all.nl \
--to=mark.kettenis@xs4all.nl \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
/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