[PATCH 0/8] Extension for looking up debug info by build-id
Andrew Burgess
aburgess@redhat.com
Thu Jul 18 13:25:13 GMT 2024
I've gone ahead and committed the v2 patches. If there's any feedback
post-commit just let me know and I can made any changes needed.
Thanks,
Andrew
Andrew Burgess <aburgess@redhat.com> writes:
> In v2:
>
> - First 4 patches from v1 were approved, and have been merged.
>
> - Reamining 4 patches have been rebased to HEAD of master. This did
> throw up an issue in sysroot-debug-lookup.exp, but I think the
> test needed updating (see patch #4 for details).
>
> - Otherise, patches are unchagned from v1.
>
> In v1:
>
> - Patches #1, #2, & #3 add target_ops::fileio_stat() function.
>
> - Patch #4 adds an extension to how GDB looks for files based on
> build-id.
>
> ---
>
> Andrew Burgess (4):
> gdb: add target_fileio_stat, but no implementations yet
> gdb: add GDB side target_ops::fileio_stat implementation
> gdbserver: add gdbserver support for vFile::stat packet
> gdb: check for multiple matching build-id files
>
> gdb/NEWS | 5 +
> gdb/build-id.c | 175 ++++++++++++----
> gdb/doc/gdb.texinfo | 11 +
> gdb/inf-child.c | 15 ++
> gdb/inf-child.h | 2 +
> gdb/remote.c | 83 +++++++-
> gdb/target.c | 31 +++
> gdb/target.h | 16 ++
> gdb/testsuite/gdb.base/build-id-seqno.c | 22 ++
> gdb/testsuite/gdb.base/build-id-seqno.exp | 133 ++++++++++++
> .../gdb.base/sysroot-debug-lookup.exp | 13 +-
> gdb/testsuite/gdb.server/build-id-seqno.c | 22 ++
> gdb/testsuite/gdb.server/build-id-seqno.exp | 198 ++++++++++++++++++
> gdbserver/hostio.cc | 38 ++++
> 14 files changed, 707 insertions(+), 57 deletions(-)
> create mode 100644 gdb/testsuite/gdb.base/build-id-seqno.c
> create mode 100644 gdb/testsuite/gdb.base/build-id-seqno.exp
> create mode 100644 gdb/testsuite/gdb.server/build-id-seqno.c
> create mode 100644 gdb/testsuite/gdb.server/build-id-seqno.exp
>
>
> base-commit: 5a011d5b86bea5af144f7242192b21e18c349142
> --
> 2.25.4
More information about the Gdb-patches
mailing list