Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: gdb-patches@sourceware.org
Subject: Re: [RFA] [gdb.threads/testsuite] failure while checking backtrace into main
Date: Sat, 03 Feb 2007 01:35:00 -0000	[thread overview]
Message-ID: <20070203013502.GA21164@nevyn.them.org> (raw)
In-Reply-To: <45C3545A.6020902@st.com>

On Fri, Feb 02, 2007 at 04:10:18PM +0100, Denis PILAT wrote:
> There is no location for argc and argv. It might be a gcc4.1.1 bug, I 
> don't know how much it can optimize the code, argc and argv are not used.
> 
> For gcc3.3 there are DW_AT_location for both argc and argv.

The missing location is strange, since you're compiling without
optimization; that's probably a bug.  But it's a separate bug that
they don't show up in the list; I'd rather fix dwarf2read.c than the
test.

IIRC the problem is that we use different LOC_* values for function
arguments.  I have a patch somewhere that used a different mechanism,
so that we could mark arguments as LOC_OPTIMIZED_OUT.  I'll try to port
it to the current GDB next week.

-- 
Daniel Jacobowitz
CodeSourcery


      reply	other threads:[~2007-02-03  1:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-31 19:36 Denis PILAT
2007-02-02 14:28 ` Denis PILAT
2007-02-02 14:36   ` Daniel Jacobowitz
2007-02-02 15:18     ` Denis PILAT
2007-02-03  1:35       ` Daniel Jacobowitz [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=20070203013502.GA21164@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb-patches@sourceware.org \
    /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