[PATCH][gdb/python] Add interface to access minimal_symbols

Simon Marchi simon.marchi@polymtl.ca
Mon Nov 26 21:31:00 GMT 2018


On 2018-10-31 12:59, Tom de Vries wrote:
> AFAIU, the purpose of repr is to print a unique representation, and
> distinct symbols can have the same name, so I went for:
> ...
> <gdb.MinSymbol name=%s filename=%s objfile=%s>
> ...
> for local symbols, dropping the filename=%s part for local symbols.

Thanks, that make sense.

The patch looks good to me, but since adding some new Python API is kind 
of a big deal (we are stuck with it after), I'd really like if Phil 
and/or Tom could give their opinions.  Especially since I remember Phil 
mentioning he had other plans for minimal symbols...

Simon



More information about the Gdb-patches mailing list