What to do with info addr and location expressions
Andrew Cagney
ac131313@redhat.com
Fri Jul 18 15:50:00 GMT 2003
[added binutils: gdb needs a way of printing out dwarf2 location
expressions]
> There are plenty of ways to fix it. In general, we need a location
> expression pretty-printer - this is quite complicated, so no one's done
> it yet. However, in specific, take a look at
> locexpr_describe_location. You could just add another case which
> recognizes the form GCC emits for thread-local variables to fix the
> regression.
>
> Is that good enough?
Why not share the readelf code? Print both the actual expression and
(for simple cases) an english translation.
Andrew
More information about the Binutils
mailing list