From: Jeff Johnston <jjohnstn@redhat.com>
To: Jeff Johnston <jjohnstn@redhat.com>
Cc: Andrew Cagney <cagney@gnu.org>,
Joel Brobecker <brobecker@gnat.com>,
gdb-patches@sources.redhat.com
Subject: Re: [RFA]: issue warnings for frame offenses
Date: Thu, 04 Nov 2004 18:28:00 -0000 [thread overview]
Message-ID: <418A74BC.4020302@redhat.com> (raw)
In-Reply-To: <418A58F3.8000603@redhat.com>
Jeff Johnston wrote:
>
> Sounds fine. I'll start working on it. I assume you meant
> non_fatal_error below for the new function that issues the quit.
>
Ignore my question above. I understand what is asked for now. I was reading
QUIT as being QUIT the current operation, but you mean it to be more severe so
what you say below makes sense.
-- Jeff J.
>> - add a new fatal_error():
>>
>> There should be a new error mechanism that throws a QUIT instead of
>> ERROR. Code should not normally be catching QUIT (much unfortunately
>> does). A fatal error is things like: syntax error; no target; lost
>> target. Things like a memory access violation though are not fatal.
>>
>> - think about stopping code catching and then discarding QUIT
>> Grep for RETURN_MASK_ALL in the sources - it should be
>> RETURN_MASK_ERROR :-/
>>
>> - modify the backtrace code to catch ERROR, but not QUIT
>>
>> Along the lines of Joel's suggestion, the backtrace command should
>> catch ERROR (but should not catch QUIT). That way simple problems
>> don't abort the script but fatal ones do.
>>
>>
next prev parent reply other threads:[~2004-11-04 18:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-26 21:22 Jeff Johnston
2004-10-26 21:30 ` Joel Brobecker
2004-11-04 0:09 ` Andrew Cagney
2004-11-04 16:29 ` Jeff Johnston
2004-11-04 18:28 ` Jeff Johnston [this message]
2004-11-04 23:06 ` Jeff Johnston
2004-11-05 15:49 ` Andrew Cagney
2004-11-05 20:35 ` Jeff Johnston
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=418A74BC.4020302@redhat.com \
--to=jjohnstn@redhat.com \
--cc=brobecker@gnat.com \
--cc=cagney@gnu.org \
--cc=gdb-patches@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