On Wed, 06 Aug 2008 13:42:41 +0200, Jan Kratochvil wrote: > Another possibility is that LOC_UNRESOLVED may no longer be needed for recent > gcc debuginfos always(?) containting `DW_AT_location's, therefore we would not > have to deal with `minimal_symbol's in this case at all. Attached. It has no regressions on x86_64, Fedora gcc-4.3.1-6.x86_64 (but gcc-4.3 has GDB regressions against gcc-4.1). Also tried there are no regressions by check//unix/-gstabs+ (although the three new TLS testcases FAIL there). I do not fully grok why psymtabs were created for DW_AT_type DIEs with no DW_AT_location. IMO (DW_AT_location || DW_AT_const_value) is the right condition (DW_AT_const_value requirement was found by a testsuite run). Regards, Jan