From: Andrew Cagney <ac131313@cygnus.com>
To: Michael Elizabeth Chastain <chastain@cygnus.com>
Cc: gdb@sources.redhat.com
Subject: Re: abort() to internal_error()
Date: Fri, 16 Feb 2001 08:36:00 -0000 [thread overview]
Message-ID: <3A8D55E6.AF875E4B@cygnus.com> (raw)
In-Reply-To: <200102161555.HAA23672@bosch.cygnus.com>
Michael Elizabeth Chastain wrote:
>
> > (gdb) pwd
> > internal_error: /a/b/c/d/foo.c:47: function calls abort ()
> > ....
>
> Fine with me.
Just FYI. The principal was debated and agreed to months (years?) ago.
The only remaining issue (and so minor to really not be anything at all)
is the message. Even there I don't expect people to disagree -
internal_error() regardless of the message, is infinatly better than
calling abort().
For the curious, the exact message is:
/home/scratch/GDB/src/gdb/maint.c:118: gdb-internal-error: function
calls abort ()
as in:
(gdb) maint internal-error
/home/scratch/GDB/src/gdb/maint.c:118: gdb-internal-error: internal
maintenance
An internal GDB error was detected. This may make further
debugging unreliable. Continue this debugging session? (y or n) y
Create a core file containing the current state of GDB? (y or n) n
(gdb)
enjoy,
Andrew
next prev parent reply other threads:[~2001-02-16 8:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-16 7:55 Michael Elizabeth Chastain
2001-02-16 8:36 ` Andrew Cagney [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-02-16 7:09 Andrew Cagney
[not found] ` <ac131313@cygnus.com>
2001-02-16 11:59 ` Kevin Buettner
2001-02-16 12:08 ` J.T. Conklin
2001-02-16 12:16 ` Andrew Cagney
2001-02-16 12:39 ` Kevin Buettner
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=3A8D55E6.AF875E4B@cygnus.com \
--to=ac131313@cygnus.com \
--cc=chastain@cygnus.com \
--cc=gdb@sources.redhat.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