This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA 1/3] language-specific read_var_value for Ada renamings


> I think the patch is fine, given that we've already gone pretty far down
> this road.

Awesome, thanks for looking at the patch.

> I wonder whether it would be possible to deal with the renaming when
> reading symbols. [...]

I have thought about this many times in the past. But I am not sure how
to do this. At least some of them seem really hard to do. For instance,
this issue with renamings: It would seem to me that the way to go would
be to translate the textual expression from the symbol name into some
kind of location expression. A little like the DWARF locations, but with
possible symbol lookups, array subscripting, taking record components,
etc.

In this case, I'd rather continue pushing for standard DWARF, and just
get rid of the encoding altogether...

-- 
Joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]