[PATCH + 8.3] Don't derive partial_symbol from general_symbol_info

Christian Biesinger via gdb-patches gdb-patches@sourceware.org
Wed Aug 28 23:09:00 GMT 2019


>>>>> "Tom" == Tom Tromey <tom@tromey.com> writes:
Tom> This patch partly reverts commit 8a6d42345 ("Change representation of
Tom> psymbol to flush out accessors"); specifically, it changes
Tom> partial_symbol to no longer derive from general_symbol_info.

Hi Tom,

I don't really understand this patch, could you elaborate a bit about how
inheriting makes it less likely that fields will be initialized? In
particular the value field, since it sounds like that's where the problem
is.

Thanks!
Christian



More information about the Gdb-patches mailing list