public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* DWARF location expressions considered harmful
@ 2004-04-12 22:07 Andreas Schwab
  2004-04-13 14:15 ` Daniel Jacobowitz
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Schwab @ 2004-04-12 22:07 UTC (permalink / raw)
  To: gdb

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.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: DWARF location expressions considered harmful
  2004-04-12 22:07 DWARF location expressions considered harmful Andreas Schwab
@ 2004-04-13 14:15 ` Daniel Jacobowitz
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2004-04-13 14:15 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: gdb

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-04-12 22:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-12 22:07 DWARF location expressions considered harmful Andreas Schwab
2004-04-13 14:15 ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).