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: [PATCH][gdb/python] Add interface to access minimal_symbols


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


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