Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <cagney@gnu.org>
To: Daniel Jacobowitz <drow@mvista.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [commit] Don't call deprecated_inside_entry_file from ...id_unwind()
Date: Sat, 01 Nov 2003 02:02:00 -0000	[thread overview]
Message-ID: <3FA3141C.7040900@gnu.org> (raw)
In-Reply-To: <20031101004443.GB11987@nevyn.them.org>


> Are you certain that none of those other architectures needed the hack
> anyway?

To sound like a scratched record, until there is hard evidence that this 
test is needed it should _not_ be enabled.  So far the only evidence is 
that it is anything but needed:

   /* NOTE: vinschen/2003-04-01: Disabled.  It turns out that the call
      to deprecated_inside_entry_file destroys a meaningful backtrace
      under some conditions.  E. g. the backtrace tests in the
      asm-source testcase are broken for some targets.  In this test
      the functions are all implemented as part of one file and the
      testcase is not necessarily linked with a start file (depending
      on the target).  What happens is, that the first frame is printed
      normaly and following frames are treated as being inside the
      enttry file then.  This way, only the #0 frame is printed in the
      backtrace output.  */

Also, as I noted:

 > That innocent looking code as quitely spread to at least 4 other
 > architectures (there was no comment saying "hey you don't need this").

the mere presence of that code in those up-to-date targets was a great 
big foobar.

> Also, snce GDB does support backtracing when main isn't even in the
> equation, I don't think we should break that unless the check is
> actually harmful.

The only testcase that comes close to having a problem is asm-source and 
that breaks with the test present.

You'll note that I've not touched legacy targets.

Andrew



  reply	other threads:[~2003-11-01  2:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-01  0:00 Andrew Cagney
2003-11-01  0:44 ` Daniel Jacobowitz
2003-11-01  2:02   ` Andrew Cagney [this message]
2003-11-02  4:17     ` 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=3FA3141C.7040900@gnu.org \
    --to=cagney@gnu.org \
    --cc=drow@mvista.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