Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <cagney@gnu.org>
To: Joel Brobecker <brobecker@gnat.com>
Cc: David Carlton <carlton@kealia.com>, gdb <gdb@sources.redhat.com>
Subject: Re: backtrace issues
Date: Tue, 10 Feb 2004 22:22:00 -0000	[thread overview]
Message-ID: <402959B5.1020100@gnu.org> (raw)
In-Reply-To: <20040207042507.GI18961@gnat.com>

> At the time when we discussed this, we argued that the only hope was
> with dwarf2 CFI, but it just so happens that I noticed the exact same
> sort of problem on Windows XP (where we don't have dwarf-2 :-/).
> 
> I have been brooding for a while over this, and really don't see any
> solution to this, right now. Maybe it's unfair to say this: I find
> the new frame code well structured and blissfully free of all the hacks
> we used to have. However, it seems less tolerant to difficult cases,
> where we just stop unwinding while we used to be able to have a useful
> backtrace with 5.3.
> 
> (please don't see this as a complaint or don't think I am pointing
> finger at anybody - if I had found a better solution, believe me, 
> I would have sent a suggestion).

Have a look at the output from "set debug frame 1" (yes it is extreemly 
verbose but all the info is in there).  Two things could be going wrong 
(only two?):

- the debug info for the frame is wrong (gdb looses)
If you comment out the code adding the dwarf2 sniffer does it work 
better?  Things to do one day include "set backtrace unwind dwarf2 
{on,off}".  That it happens with XP indicates it is actually ...

- we lost something in translation
It's already using the traditional unwinder but the conversion frayed an 
edge case - straight debugging.

Andrew



      reply	other threads:[~2004-02-10 22:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-06 18:32 David Carlton
2004-02-06 19:20 ` David Carlton
2004-02-07  4:25   ` Joel Brobecker
2004-02-10 22:22     ` Andrew Cagney [this message]

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=402959B5.1020100@gnu.org \
    --to=cagney@gnu.org \
    --cc=brobecker@gnat.com \
    --cc=carlton@kealia.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