From: Aaron Merey <amerey@redhat.com>
To: gdb-patches@sourceware.org
Cc: aburgess@redhat.com, Aaron Merey <amerey@redhat.com>
Subject: [PATCH 0/7] gdb/debuginfod: Add on-demand debuginfo downloading
Date: Wed, 16 Aug 2023 00:42:51 -0400 [thread overview]
Message-ID: <20230816044259.2675531-1-amerey@redhat.com> (raw)
Patch set that adds support for lazy/on-demand downloading of debuginfo
as well as .gdb_index, .debug_line and .debug_line_str ELF section
downloading.
Aaron Merey (7):
config/debuginfod.m4: Add check for libdebuginfod 0.188
gdb/debuginfod: Add debuginfod_section_query
gdb: Add command 'maint set/show debuginfod download-sections'
gdb: Buffer output streams during events that might download debuginfo
gdb/progspace: Add reverse safe iterator and template for unwrapping
iterator
gdb/debuginfod: Support on-demand debuginfo downloading
gdb/debuginfod: Add .debug_line downloading
binutils/config.in | 3 +
binutils/configure | 108 ++++++-
config/debuginfod.m4 | 13 +-
gdb/cli-out.c | 21 +-
gdb/cli-out.h | 3 +
gdb/completer.c | 18 +-
gdb/config.in | 3 +
gdb/configure | 108 ++++++-
gdb/debuginfod-support.c | 136 +++++++-
gdb/debuginfod-support.h | 24 ++
gdb/doc/gdb.texinfo | 19 +-
gdb/dwarf2/frame.c | 13 +
gdb/dwarf2/frame.h | 4 +
gdb/dwarf2/index-cache.c | 33 ++
gdb/dwarf2/index-cache.h | 13 +
gdb/dwarf2/line-header.c | 215 ++++++++-----
gdb/dwarf2/line-header.h | 10 +
gdb/dwarf2/public.h | 7 +
gdb/dwarf2/read-gdb-index.c | 216 +++++++++++--
gdb/dwarf2/read.c | 354 ++++++++++++++++++++-
gdb/dwarf2/read.h | 47 +++
gdb/dwarf2/section.c | 3 +-
gdb/elfread.c | 2 +-
gdb/frame.c | 7 +
gdb/infrun.c | 16 +-
gdb/jit.c | 7 +-
gdb/mi/mi-out.c | 9 +-
gdb/mi/mi-out.h | 3 +
gdb/objfile-flags.h | 4 +
gdb/objfiles.c | 8 +-
gdb/objfiles.h | 28 +-
gdb/progspace.c | 19 +-
gdb/progspace.h | 31 +-
gdb/python/py-mi.c | 3 +
gdb/quick-symbol.h | 4 +
gdb/stack.c | 35 +-
gdb/symfile.c | 13 +-
gdb/symtab.c | 18 +-
gdb/testsuite/gdb.debuginfod/libsection1.c | 40 +++
gdb/testsuite/gdb.debuginfod/libsection2.c | 37 +++
gdb/testsuite/gdb.debuginfod/section.c | 29 ++
gdb/testsuite/gdb.debuginfod/section.exp | 205 ++++++++++++
gdb/testsuite/gdb.python/py-objfile.exp | 2 +-
gdb/testsuite/lib/debuginfod-support.exp | 27 +-
gdb/thread.c | 171 +++++-----
gdb/ui-file.h | 2 +-
gdb/ui-out.c | 123 +++++++
gdb/ui-out.h | 194 +++++++++++
gdbsupport/safe-iterator.h | 106 ++++++
49 files changed, 2280 insertions(+), 234 deletions(-)
create mode 100644 gdb/testsuite/gdb.debuginfod/libsection1.c
create mode 100644 gdb/testsuite/gdb.debuginfod/libsection2.c
create mode 100644 gdb/testsuite/gdb.debuginfod/section.c
create mode 100644 gdb/testsuite/gdb.debuginfod/section.exp
--
2.41.0
next reply other threads:[~2023-08-16 4:43 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-16 4:42 Aaron Merey [this message]
2023-08-16 4:42 ` [PATCH 1/7] config/debuginfod.m4: Add check for libdebuginfod 0.188 Aaron Merey
2023-09-19 14:33 ` Aaron Merey
2023-09-27 10:28 ` Nick Clifton
2023-09-27 19:14 ` Aaron Merey
2023-08-16 4:42 ` [PATCH 2/7 v3] gdb/debuginfod: Add debuginfod_section_query Aaron Merey
2023-09-19 14:33 ` Aaron Merey
2023-09-28 18:28 ` Andrew Burgess
2023-10-02 18:07 ` Aaron Merey
2023-08-16 4:42 ` [PATCH 3/7 v3] gdb: Add command 'maint set/show debuginfod download-sections' Aaron Merey
2023-08-16 12:45 ` Eli Zaretskii
2023-09-19 14:34 ` Aaron Merey
2023-09-28 18:32 ` Andrew Burgess
2023-10-02 18:08 ` Aaron Merey
2023-08-16 4:42 ` [PATCH 4/7 v5] gdb: Buffer output streams during events that might download debuginfo Aaron Merey
2023-09-19 14:34 ` Aaron Merey
2023-10-10 21:55 ` [PATCH v6] " Aaron Merey
2023-10-24 11:22 ` Andrew Burgess
2023-10-28 0:25 ` Aaron Merey
2023-08-16 4:42 ` [PATCH 5/7 v2] gdb/progspace: Add reverse safe iterator and template for unwrapping iterator Aaron Merey
2023-09-19 14:35 ` Aaron Merey
2023-10-10 21:56 ` [PING*2][PATCH " Aaron Merey
2023-08-16 4:42 ` [PATCH 6/7 v4] gdb/debuginfod: Support on-demand debuginfo downloading Aaron Merey
2023-09-19 14:35 ` Aaron Merey
2023-10-10 21:57 ` [PING*2][PATCH " Aaron Merey
2023-08-16 4:42 ` [PATCH 7/7 v4] gdb/debuginfod: Add .debug_line downloading Aaron Merey
2023-09-19 14:35 ` Aaron Merey
2023-10-10 21:58 ` [PING*2][PATCH " Aaron Merey
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=20230816044259.2675531-1-amerey@redhat.com \
--to=amerey@redhat.com \
--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).