Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Eli Zaretskii" <eliz@elta.co.il>
To: ac131313@redhat.com
Cc: gdb-patches@sources.redhat.com
Subject: Re: [patch/rfc, rfa:doco, 6.0] "set backtrace past-main|limit"
Date: Mon, 04 Aug 2003 15:23:00 -0000	[thread overview]
Message-ID: <7458-Mon04Aug2003181932+0300-eliz@elta.co.il> (raw)
In-Reply-To: <3F2E5CD7.6010403@redhat.com> (message from Andrew Cagney on Mon, 04 Aug 2003 09:17:11 -0400)

> Date: Mon, 04 Aug 2003 09:17:11 -0400
> From: Andrew Cagney <ac131313@redhat.com>
> > 
> > Why should this be anything as scary as `error'?  Isn't a simple
> > notice (not even a `warning') enough?
> 
> The choices I could think of were:
> 
> - warn and return NULL
> but that would become tedious as it would keep occuring - get_prev_frame 
> is called many times.
> 
> - error out
> perhaps add additional information on how to change the limit
> 
> - warn and continue the backtrace
> I don't think this helps
> 
> The difference between a warning and error are largely internal - the 
> latter aborts the command and I think that's better here.

Doesn't `error' say something like "Error: ..."?  If so, I think it's
wrong to scare the user like that.  Perhaps we should have a way to
silently abort the command, if we don't have that already.  Then we
could print a message and quitely stop the command.


  reply	other threads:[~2003-08-04 15:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-02 23:16 Andrew Cagney
2003-08-03  6:02 ` Eli Zaretskii
2003-08-04 13:17   ` Andrew Cagney
2003-08-04 15:23     ` Eli Zaretskii [this message]
2003-08-04 15:59       ` Andrew Cagney
2003-08-07 22:05       ` Andrew Cagney
2003-08-08  7:34         ` Eli Zaretskii
2003-08-09 15:07           ` Andrew Cagney

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=7458-Mon04Aug2003181932+0300-eliz@elta.co.il \
    --to=eliz@elta.co.il \
    --cc=ac131313@redhat.com \
    --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