[PATCH] gdb: change type of `general_symbol_info::m_section` to int

Simon Marchi simon.marchi@efficios.com
Thu Sep 12 14:41:57 GMT 2024


On 9/12/24 9:28 AM, Tom de Vries wrote:
> Hi Simon,
> 
> LGTM.
> 
> I wonder if using auto instead of int in set_section_index and section_index would be cleaner.

For section_index, I can see, so that the return type of that method
will follow the type of the m_section field.  I will make that change.
But for set_section_index, I don't really see how I can use auto.

Simon


More information about the Gdb-patches mailing list