From: Tom Tromey <tom@tromey.com>
To: gdb-patches@sourceware.org
Subject: [PATCH v2 0/5] Cleanups in lookup_minimal_symbol_by_pc_section
Date: Tue, 28 May 2024 13:23:53 -0600 [thread overview]
Message-ID: <20240528-dwarf-race-relocate-v2-0-a8d042e75925@tromey.com> (raw)
This series is taken from an earlier approach to fix some races in the
DWARF reader. It is just a few cleanups and one possible bug fix
related to an invalid (IMO) address comparison.
Regression tested on x86-64 Fedora 38.
---
Changes in v2:
- Removed the DWARF reader changes
- Link to v1: https://inbox.sourceware.org/gdb-patches/20240217-dwarf-race-relocate-v1-0-d3d2d908c1e8@tromey.com
---
Tom Tromey (5):
Compare section index in lookup_minimal_symbol_by_pc_section
Remove unnecessary null check in lookup_minimal_symbol_by_pc_section
Hoist a call to frob_address
Use bound_minimal_symbol more in lookup_minimal_symbol_by_pc_section
Fix address comparison in lookup_minimal_symbol_by_pc_section
gdb/minsyms.c | 42 ++++++++++++++++--------------------------
1 file changed, 16 insertions(+), 26 deletions(-)
---
base-commit: f95ecfc6e07f619aaa183716cc3749f32b678d6e
change-id: 20240217-dwarf-race-relocate-287780f3ac82
Best regards,
--
Tom Tromey <tom@tromey.com>
next reply other threads:[~2024-05-28 19:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-28 19:23 Tom Tromey [this message]
2024-05-28 19:23 ` [PATCH v2 1/5] Compare section index " Tom Tromey
2024-05-28 19:23 ` [PATCH v2 2/5] Remove unnecessary null check " Tom Tromey
2024-05-28 19:23 ` [PATCH v2 3/5] Hoist a call to frob_address Tom Tromey
2024-05-28 19:23 ` [PATCH v2 4/5] Use bound_minimal_symbol more in lookup_minimal_symbol_by_pc_section Tom Tromey
2024-05-28 19:23 ` [PATCH v2 5/5] Fix address comparison " 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=20240528-dwarf-race-relocate-v2-0-a8d042e75925@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).