From: Daniel Jacobowitz <drow@false.org>
To: Andreas Schwab <schwab@suse.de>
Cc: gdb-patches@sources.redhat.com
Subject: Re: Don't error out when variable not available
Date: Sun, 02 Jan 2005 22:57:00 -0000 [thread overview]
Message-ID: <20050102225745.GA28488@nevyn.them.org> (raw)
In-Reply-To: <m3wtuvqyly.fsf@igel.m5r.de>
On Sun, Jan 02, 2005 at 11:01:45PM +0100, Andreas Schwab wrote:
> With the introduction of DWARF location lists it became impossible to get
> the full list of local variables of a function when any of them is not
> available. This is especially annoying when the first local or function
> parameter is missing. Here is an attempt at correcting this. It is
> suboptimal because it still prints the error message including the newline
> which badly messes up the output. Any idea how to fix that properly?
How about reusing the LOC_OPTIMIZED_OUT handling to describe this case?
I believe that will print "foo = <optimized out>".
--
Daniel Jacobowitz
next prev parent reply other threads:[~2005-01-02 22:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-02 22:13 Andreas Schwab
2005-01-02 22:57 ` Daniel Jacobowitz [this message]
2005-01-02 23:49 ` Andreas Schwab
2005-01-03 0:49 ` Daniel Jacobowitz
2005-01-03 13:41 ` Andreas Schwab
2005-01-04 22:20 ` Andrew Cagney
2005-01-05 19:23 ` Andreas Schwab
2005-02-28 20:53 ` 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=20050102225745.GA28488@nevyn.them.org \
--to=drow@false.org \
--cc=gdb-patches@sources.redhat.com \
--cc=schwab@suse.de \
/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