Don't error out when variable not available

Andreas Schwab schwab@suse.de
Sun Jan 2 23:49:00 GMT 2005


Daniel Jacobowitz <drow@false.org> writes:

> How about reusing the LOC_OPTIMIZED_OUT handling to describe this case? 
> I believe that will print "foo = <optimized out>".

LOC_OPTIMIZED_OUT is not a value, but a static property of a symbol.  I
don't think it fits into the dynamic nature of unavailable values.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, 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."



More information about the Gdb-patches mailing list