From: Simon Marchi <simark@simark.ca>
To: Andrew Burgess <aburgess@redhat.com>, gdb-patches@sourceware.org
Subject: Re: [PATCHv2] gdb/c++: fix handling of breakpoints on @plt symbols
Date: Wed, 8 Feb 2023 17:22:53 -0500 [thread overview]
Message-ID: <b77aa739-087a-4842-5fd6-8941f98f31df@simark.ca> (raw)
In-Reply-To: <29e560fd9c94874f0839924fa25557a7e8418ad3.1674215225.git.aburgess@redhat.com>
> Lets consider the 3 symbols GDB created. If the function declaration
> is 'void foo ()' then from the main executable we added symbols
> '_Z3foov@plt' and '_Z3foov', while from the shared library we added
> another symbol call '_Z3foov'. When these are demangled they become
> 'foo()@plt', 'foo', and 'foo' respectively.
I think the last two should be 'foo()'?
I have only looked at the code, not the test. That part LGTM. I was
wondering if you could add some unit tests for strncmp_iw_with_mode for
this case though. There are already some just below the implementation.
Simon
next prev parent reply other threads:[~2023-02-08 22:22 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-20 13:55 [PATCH] " Andrew Burgess
2023-01-20 11:48 ` [PATCHv2] " Andrew Burgess
2023-01-30 15:13 ` Andrew Burgess
2023-02-08 9:36 ` Bruno Larsen
2023-02-10 19:09 ` Andrew Burgess
2023-02-13 9:31 ` Bruno Larsen
2023-02-08 22:22 ` Simon Marchi [this message]
2023-02-10 19:10 ` Andrew Burgess
2023-02-10 19:03 ` [PATCHv3] " Andrew Burgess
2023-02-10 20:51 ` Simon Marchi
2023-02-12 6:22 ` Andrew Burgess
2023-02-13 14:14 ` 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=b77aa739-087a-4842-5fd6-8941f98f31df@simark.ca \
--to=simark@simark.ca \
--cc=aburgess@redhat.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).