This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: DWARF location expressions considered harmful
- From: Daniel Jacobowitz <drow at false dot org>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: gdb at sources dot redhat dot com
- Date: Mon, 12 Apr 2004 18:07:15 -0400
- Subject: Re: DWARF location expressions considered harmful
- References: <jewu4kkgt7.fsf@sykes.suse.de>
On Mon, Apr 12, 2004 at 11:49:24PM +0200, Andreas Schwab wrote:
> The introduction of DWARF location expressions has made debugging of
> optimized code very difficult. Whenever a value is considered unavailable
> by GDB the current operation is aborted immediately. This makes commands
> like "info locals", "info args" or "info frame" pretty useless, because
> there is no way to "skip" over those unavailable values to see the rest of
> the information.
That's because GDB support for location expressions is not in every way
finished. You may want to file bugs with test cases.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer