From: Tom Tromey <tom@tromey.com>
To: gdb-patches@sourceware.org
Subject: [PATCH 0/6] Use unrelocate_addr in more places
Date: Tue, 21 Mar 2023 13:18:25 -0600 [thread overview]
Message-ID: <20230321-submit-unrelocated-type-v1-0-2a1fb6117abf@tromey.com> (raw)
Minimal symbols, partial symbols, and partial symtabs all use
unrelocated addresses right now. This series converts these to use
the unrelocated_addr type, revealing (I believe) a few latent bugs.
Regression tested on x86-64 Fedora 36.
Tom
---
Tom Tromey (6):
Use function_view in gdb_bfd_lookup_symbol
Move definition of unrelocated_addr earlier
Use unrelocated_addr in partial symbol tables
Use unrelocated_addr in psymbols
Use unrelocated_addr in minimal symbols
Rename "raw" to "unrelocated"
gdb/coff-pe-read.c | 13 +++---
gdb/coffread.c | 12 +++---
gdb/ctfread.c | 27 +++++++------
gdb/dbxread.c | 114 ++++++++++++++++++++++++++++++++---------------------
gdb/elfread.c | 22 ++++++-----
gdb/findvar.c | 4 +-
gdb/machoread.c | 4 +-
gdb/mdebugread.c | 104 +++++++++++++++++++++++++++++-------------------
gdb/minsyms.c | 68 ++++++++++++++++----------------
gdb/minsyms.h | 6 +--
gdb/mips-tdep.c | 6 ++-
gdb/mipsread.c | 2 +-
gdb/parse.c | 2 +-
gdb/printcmd.c | 2 +-
gdb/psympriv.h | 42 ++++++++++----------
gdb/psymtab.c | 11 +++---
gdb/solib-dsbt.c | 17 ++++----
gdb/solib-frv.c | 15 +++----
gdb/solib-svr4.c | 20 +++++-----
gdb/solib.c | 31 ++++++---------
gdb/solib.h | 14 +++----
gdb/stabsread.h | 2 +-
gdb/symmisc.c | 2 +-
gdb/symtab.c | 2 +-
gdb/symtab.h | 43 ++++++++++++++++----
gdb/xcoffread.c | 55 +++++++++++++++-----------
26 files changed, 358 insertions(+), 282 deletions(-)
---
base-commit: 70ea5a46bd926149fb4a9c3da32c2fc14f6e83c3
change-id: 20230321-submit-unrelocated-type-c256e0e7da50
Best regards,
--
Tom Tromey <tom@tromey.com>
next reply other threads:[~2023-03-21 19:18 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-21 19:18 Tom Tromey [this message]
2023-03-21 19:18 ` [PATCH 1/6] Use function_view in gdb_bfd_lookup_symbol Tom Tromey
2023-03-28 13:23 ` Simon Marchi
2023-03-28 21:17 ` Tom Tromey
2023-03-21 19:18 ` [PATCH 2/6] Move definition of unrelocated_addr earlier Tom Tromey
2023-03-21 19:18 ` [PATCH 3/6] Use unrelocated_addr in partial symbol tables Tom Tromey
2023-03-21 19:18 ` [PATCH 4/6] Use unrelocated_addr in psymbols Tom Tromey
2023-03-21 19:18 ` [PATCH 5/6] Use unrelocated_addr in minimal symbols Tom Tromey
2023-03-28 13:46 ` Simon Marchi
2023-03-28 21:23 ` Tom Tromey
2023-03-30 3:52 ` Thiago Jung Bauermann
2023-04-03 15:04 ` Tom Tromey
2023-04-04 18:05 ` Thiago Jung Bauermann
2023-03-21 19:18 ` [PATCH 6/6] Rename "raw" to "unrelocated" Tom Tromey
2023-03-28 12:36 ` [PATCH 0/6] Use unrelocate_addr in more places Alexandra Petlanova Hajkova
2023-03-28 21:23 ` 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=20230321-submit-unrelocated-type-v1-0-2a1fb6117abf@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).