From: Tom Tromey <tom@tromey.com>
To: Dmitry Neverov <dmitry.neverov@jetbrains.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH v3][PR symtab/30520 1/4] gdb/symtab: check name matches before expanding a CU
Date: Tue, 07 May 2024 11:03:51 -0600 [thread overview]
Message-ID: <87edada70o.fsf@tromey.com> (raw)
In-Reply-To: <20240506150920.1220092-1-dmitry.neverov@jetbrains.com> (Dmitry Neverov's message of "Mon, 6 May 2024 17:09:17 +0200")
>>>>> "Dmitry" == Dmitry Neverov <dmitry.neverov@jetbrains.com> writes:
Thank you for your continued work on this.
Dmitry> + const language_defn *lang_def = language_def (entry->lang);
Dmitry> + lookup_name_info last_segment_lookup_name (
Dmitry> + last_name.data (), symbol_name_match_type::FULL,
Dmitry> + false, true);
Normally in gdb the open paren would go on the next line, like
> + lookup_name_info last_segment_lookup_name
> + (last_name.data (), symbol_name_match_type::FULL,
> + false, true);
... depending on how long the lines are -- it would be split after some
',' if each line would then fit in 80 columns.
Dmitry> + symbol_name_matcher_ftype *name_matcher
Dmitry> + = lang_def->get_symbol_name_matcher
Dmitry> + (last_segment_lookup_name);
This also looks weird by gdb rules.
Tom
next prev parent reply other threads:[~2024-05-07 17:04 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-06 15:09 Dmitry Neverov
2024-05-06 15:09 ` [PATCH v3][PR symtab/30520 2/4] gdb/symtab: reuse last segment lookup name info by creating it outside the loop Dmitry Neverov
2024-05-07 17:09 ` Tom Tromey
2024-05-06 15:09 ` [PATCH v3][PR symtab/30520 3/4] gdb/symtab: compute match_type " Dmitry Neverov
2024-05-07 17:10 ` Tom Tromey
2024-05-06 15:09 ` [PATCH v3][PR symtab/30520 4/4] gdb/symtab: use symbol name matcher for all segments in a qualified name Dmitry Neverov
2024-05-06 15:23 ` Dmitry Neverov
2024-05-07 17:26 ` Tom Tromey
2024-05-07 17:03 ` Tom Tromey [this message]
2024-05-08 11:32 ` [PATCH v3][PR symtab/30520 1/4] gdb/symtab: check name matches before expanding a CU Dmitry.Neverov
2024-05-08 15:48 ` Tom Tromey
2024-05-09 5:55 ` Dmitry.Neverov
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=87edada70o.fsf@tromey.com \
--to=tom@tromey.com \
--cc=dmitry.neverov@jetbrains.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