From: Aaron Merey <amerey@redhat.com>
To: gdb-patches@sourceware.org
Cc: aburgess@redhat.com, thiago.bauermann@linaro.org,
Aaron Merey <amerey@redhat.com>
Subject: [PATCH 0/4] On-demand debuginfo downloading
Date: Wed, 17 Jan 2024 10:48:51 -0500 [thread overview]
Message-ID: <20240117154855.2057850-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.
Previous version can be found here:
https://sourceware.org/pipermail/gdb-patches/2023-October/203589.html
Aaron Merey (4):
gdb: Buffer output streams during events that might download debuginfo
gdb/progspace: Add reverse safe iterator
gdb/debuginfod: Support on-demand debuginfo downloading
gdb/debuginfod: Add .debug_line downloading
gdb/cli-out.c | 21 +-
gdb/cli-out.h | 3 +
gdb/completer.c | 18 +-
gdb/debuginfod-support.c | 15 +-
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 | 161 +++++++---
gdb/dwarf2/line-header.h | 10 +
gdb/dwarf2/public.h | 7 +
gdb/dwarf2/read-gdb-index.c | 185 ++++++++++-
gdb/dwarf2/read.c | 355 ++++++++++++++++++++-
gdb/dwarf2/read.h | 47 +++
gdb/dwarf2/section.c | 3 +-
gdb/elfread.c | 3 +-
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 | 14 +-
gdb/objfiles.h | 30 ++
gdb/progspace.c | 19 +-
gdb/progspace.h | 31 +-
gdb/python/py-uiout.h | 3 +
gdb/quick-symbol.h | 4 +
gdb/stack.c | 35 +-
gdb/symfile-debug.c | 45 ++-
gdb/symfile.c | 13 +-
gdb/symtab.c | 18 +-
gdb/testsuite/gdb.debuginfod/libsection1.c | 43 +++
gdb/testsuite/gdb.debuginfod/libsection2.c | 37 +++
gdb/testsuite/gdb.debuginfod/section.c | 29 ++
gdb/testsuite/gdb.debuginfod/section.exp | 199 ++++++++++++
gdb/testsuite/gdb.python/py-objfile.exp | 2 +-
gdb/testsuite/lib/debuginfod-support.exp | 27 +-
gdb/testsuite/lib/gdb.exp | 8 +-
gdb/thread.c | 180 ++++++-----
gdb/ui-file.h | 2 +-
gdb/ui-out.c | 144 +++++++++
gdb/ui-out.h | 204 ++++++++++++
gdbsupport/safe-iterator.h | 106 ++++++
44 files changed, 1910 insertions(+), 220 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.43.0
next reply other threads:[~2024-01-17 15:49 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-17 15:48 Aaron Merey [this message]
2024-01-17 15:48 ` [PATCH 1/4 v8] gdb: Buffer output streams during events that might download debuginfo Aaron Merey
2024-01-18 11:22 ` Andrew Burgess
2024-01-19 5:28 ` Aaron Merey
2024-01-19 14:35 ` Luis Machado
2024-01-19 17:13 ` Aaron Merey
2024-01-19 19:34 ` Tom de Vries
2024-01-19 19:52 ` Aaron Merey
2024-01-17 15:48 ` [PATCH 2/4 v3] gdb/progspace: Add reverse safe iterator Aaron Merey
2024-01-18 12:02 ` Andrew Burgess
2024-01-19 5:09 ` Aaron Merey
2024-02-07 21:24 ` [PING][PATCH " Aaron Merey
2024-02-22 22:22 ` [PING*2][PATCH " Aaron Merey
2024-03-01 0:09 ` [PING*3][PATCH " Aaron Merey
2024-03-12 22:14 ` Aaron Merey
2024-01-17 15:48 ` [PATCH 3/4 v5] gdb/debuginfod: Support on-demand debuginfo downloading Aaron Merey
2024-01-18 15:34 ` Andrew Burgess
2024-01-19 5:12 ` Aaron Merey
2024-02-07 21:25 ` [PING][PATCH " Aaron Merey
2024-02-22 22:23 ` [PING*2][PATCH " Aaron Merey
2024-03-01 0:09 ` [PING*3][PATCH " Aaron Merey
2024-03-12 22:15 ` Aaron Merey
2024-03-27 10:58 ` [PATCH " Andrew Burgess
2024-03-27 23:56 ` Aaron Merey
2024-01-17 15:48 ` [PATCH 4/4 v6] gdb/debuginfod: Add .debug_line downloading Aaron Merey
2024-02-07 21:25 ` [PING][PATCH " Aaron Merey
2024-02-22 22:23 ` [PING*2][PATCH " Aaron Merey
2024-03-01 0:10 ` [PING*3][PATCH " Aaron Merey
2024-03-12 22:15 ` Aaron Merey
-- strict thread matches above, loose matches on Subject: below --
2023-10-28 0:20 [PATCH 0/4] On-demand debuginfo downloading 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=20240117154855.2057850-1-amerey@redhat.com \
--to=amerey@redhat.com \
--cc=aburgess@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=thiago.bauermann@linaro.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