From: "Simon Marchi (Code Review)" <gerrit@gnutoolchain-gerrit.osci.io>
To: Andrew Burgess <andrew.burgess@embecosm.com>, gdb-patches@sourceware.org
Subject: [review v2] gdb: Split global symbol search into separate functions
Date: Tue, 03 Dec 2019 02:18:00 -0000 [thread overview]
Message-ID: <20191203021847.EC63C2816F@gnutoolchain-gerrit.osci.io> (raw)
In-Reply-To: <gerrit.1575314132000.I06b26920f35c268f7a38d8203dc2c2813aa501c6@gnutoolchain-gerrit.osci.io>
Simon Marchi has posted comments on this change.
Change URL: https://gnutoolchain-gerrit.osci.io/r/c/binutils-gdb/+/738
......................................................................
Patch Set 2:
(1 comment)
I left one comment, but otherwise LGTM.
| --- gdb/symtab.c
| +++ gdb/symtab.c
| @@ -4435,0 +4591,19 @@ global_symbol_searcher::add_matching_symbols
| + || treg_matches_sym_type_name (*treg,
| + sym)))
| + || (kind == TYPES_DOMAIN
| + && SYMBOL_CLASS (sym) == LOC_TYPEDEF
| + && SYMBOL_DOMAIN (sym) != MODULE_DOMAIN)
| + || (kind == MODULES_DOMAIN
| + && SYMBOL_DOMAIN (sym) == MODULE_DOMAIN
| + && SYMBOL_LINE (sym) != 0))))
| + {
| + /* Match, insert if not already in the results. */
PS2, Line 4600:
This part is not accurate for this patch, should be added by the
following patch, I guess.
| + results->emplace_back (block, sym);
| + }
| + }
| + }
| + }
| +}
| +
| +/* See symtab.h. */
| +
--
Gerrit-Project: binutils-gdb
Gerrit-Branch: master
Gerrit-Change-Id: I06b26920f35c268f7a38d8203dc2c2813aa501c6
Gerrit-Change-Number: 738
Gerrit-PatchSet: 2
Gerrit-Owner: Andrew Burgess <andrew.burgess@embecosm.com>
Gerrit-Reviewer: Andrew Burgess <andrew.burgess@embecosm.com>
Gerrit-CC: Simon Marchi <simon.marchi@polymtl.ca>
Gerrit-Comment-Date: Tue, 03 Dec 2019 02:18:43 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
next prev parent reply other threads:[~2019-12-03 2:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-02 19:15 [review] " Andrew Burgess (Code Review)
2019-12-02 19:42 ` Simon Marchi (Code Review)
2019-12-02 23:44 ` [review v2] " Andrew Burgess (Code Review)
2019-12-02 23:44 ` Andrew Burgess (Code Review)
2019-12-03 2:18 ` Simon Marchi (Code Review) [this message]
2019-12-03 10:56 ` [review v4] " Andrew Burgess (Code Review)
2019-12-03 16:38 ` Simon Marchi (Code Review)
2019-12-04 10:49 ` [pushed] " Sourceware to Gerrit sync (Code Review)
2019-12-04 10:49 ` Sourceware to Gerrit sync (Code Review)
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=20191203021847.EC63C2816F@gnutoolchain-gerrit.osci.io \
--to=gerrit@gnutoolchain-gerrit.osci.io \
--cc=andrew.burgess@embecosm.com \
--cc=gdb-patches@sourceware.org \
--cc=gnutoolchain-gerrit@osci.io \
/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