From: Tom Tromey <tom@tromey.com>
To: Keith Seitz via Gdb-patches <gdb-patches@sourceware.org>
Subject: Re: [PATCH v2 1/3] Move find_toplevel_char to utils.[ch]
Date: Fri, 24 Apr 2020 13:57:32 -0600 [thread overview]
Message-ID: <87a7301wsz.fsf@tromey.com> (raw)
In-Reply-To: <20200420215708.42314-2-keiths@redhat.com> (Keith Seitz via Gdb-patches's message of "Mon, 20 Apr 2020 14:57:06 -0700")
>>>>> "Keith" == Keith Seitz via Gdb-patches <gdb-patches@sourceware.org> writes:
Keith> find_toplevel_char is being used more and more outside of linespec.c, so
Keith> this patch moves it into utils.[ch].
Keith> This patch was previously approved:
Keith> https://sourceware.org/pipermail/gdb-patches/2018-February/146819.html
Keith> gdb/ChangeLog:
Keith> * linespec.c (find_toplevel_char): Moved to ...
Keith> * utils.c (find_toplevel_char): ... here.
Keith> * linespec.h (find_toplevel_char): Moved to ...
Keith> * utils.h (find_toplevel_char): ... here.
If this is C++-specific, maybe cp-support.c would be a better spot?
What do you think?
Tom
next prev parent reply other threads:[~2020-04-24 19:57 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-20 21:57 [PATCH v2 0/3] Completer C++ template support Keith Seitz
2020-04-20 21:57 ` [PATCH v2 1/3] Move find_toplevel_char to utils.[ch] Keith Seitz
2020-04-24 19:57 ` Tom Tromey [this message]
2020-04-20 21:57 ` [PATCH v2 2/3] Remove hard-coded line number from templates.exp Keith Seitz
2020-04-24 19:58 ` Tom Tromey
2020-04-20 21:57 ` [PATCH v2 3/3] Support template lookups in strncmp_iw_with_mode Keith Seitz
2020-04-22 15:26 ` Simon Marchi
2020-04-24 20:14 ` Tom Tromey
2020-04-22 15:15 ` [PATCH v2 0/3] Completer C++ template support Simon Marchi
2020-04-22 17:27 ` Keith Seitz
2020-04-22 17:45 ` Simon Marchi
2020-04-24 20:15 ` Tom Tromey
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=87a7301wsz.fsf@tromey.com \
--to=tom@tromey.com \
--cc=gdb-patches@sourceware.org \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).