From: Philippe Waroquiers <philippe.waroquiers@skynet.be>
To: Pedro Alves <palves@redhat.com>,
Ulrich Weigand <uweigand@de.ibm.com>,
Joel Brobecker <brobecker@adacore.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFAv2 3/3] Make symtab.c better styled.
Date: Tue, 12 Feb 2019 18:41:00 -0000 [thread overview]
Message-ID: <1549996909.1438.7.camel@skynet.be> (raw)
In-Reply-To: <d1174f8d-266a-1a7e-d57d-b6c7d77c6f9f@redhat.com>
On Tue, 2019-02-12 at 15:53 +0000, Pedro Alves wrote:
> On 02/12/2019 02:54 PM, Ulrich Weigand wrote:
> > 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 ...
>
> OK, in that case, let's just use with Philippe already has.
Thanks for the review and discussion.
With all this + the feedback of Joel
(in https://sourceware.org/ml/gdb-patches/2019-01/msg00560.html
that confirmed that the ada-lang.c code will effectively use
function style only to style function names), I am assuming
I can push the series (I will retest before that).
Thanks
Philippe
next prev parent reply other threads:[~2019-02-12 18:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20190212145443.E2799D8028D@oc3748833570.ibm.com>
2019-02-12 15:53 ` Pedro Alves
2019-02-12 18:41 ` Philippe Waroquiers [this message]
2019-01-12 22:28 [RFAv2 0/3] Have GDB " Philippe Waroquiers
2019-01-12 22:28 ` [RFAv2 3/3] Make symtab.c " Philippe Waroquiers
2019-01-17 22:25 ` Tom Tromey
2019-02-07 18:58 ` Pedro Alves
2019-02-09 10:36 ` Philippe Waroquiers
2019-02-12 13:27 ` Pedro Alves
2019-02-12 14:04 ` Ulrich Weigand
2019-02-12 14:32 ` Pedro Alves
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1549996909.1438.7.camel@skynet.be \
--to=philippe.waroquiers@skynet.be \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
--cc=palves@redhat.com \
--cc=uweigand@de.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox