[RFAv2 3/3] Make symtab.c better styled.
Ulrich Weigand
uweigand@de.ibm.com
Tue Feb 12 14:54:00 GMT 2019
Pedro Alves wrote:
> So the question becomes a simple cosmetic one. In this case:
>
> > (gdb) info variables
> > [...]
> > Non-debugging symbols:
> > 0x0000000010020088 main
>
> Should "main" be printed with function style, or variable style.
> This basically affects the color used to print the symbol.
>
> In Philippe's patch, we'd print it in variable style. If we used
> msymbol_is_function instead of his "is text symbol" check, we'd
> print it in function style.
Ah, I see. I guess that doesn't really matter that much at this
point. Since we're already showing it under "variables" we might
as well use the variable style. But in the end either way would
be fine with me ...
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU/Linux compilers and toolchain
Ulrich.Weigand@de.ibm.com
More information about the Gdb-patches
mailing list