bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/29075] objdump -S does not support debuginfod


From: mliska at suse dot cz
Subject: [Bug binutils/29075] objdump -S does not support debuginfod
Date: Wed, 07 Sep 2022 20:37:33 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=29075

Martin Liska <mliska at suse dot cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED

--- Comment #29 from Martin Liska <mliska at suse dot cz> ---
Thanks for the implementation. However, I think one piece is missing and it's
find_separate_debug and find_separate_debug rely on fact the debugginfo is
present for a abfd, but can't load it from debuginfod:

$ DEBUGINFOD_VERBOSE=1
/home/marxin/Programming/binutils/objdir/binutils/objdump -S `which true`
(does not get any source file)

while installing coreutils-debuginfo (and *not* coreutils-debugsource) I get:

$ DEBUGINFOD_VERBOSE=1
/home/marxin/Programming/binutils/objdir/binutils/objdump -S `which true`
...
debuginfod_find_source e70d602826c77f5cdfae58a7077c94cc638262c6
/usr/src/debug/coreutils-9.1-4.2.x86_64/src/system.h

server urls "https://debuginfod.opensuse.org/ "
checking build-id
checking filename
suffix ##usr##src##debug##coreutils-9.1-4.2.x86_64##src##system.h
checking cache dir /home/marxin/.cache/debuginfod_client
using timeout 90
init server 0 https://debuginfod.opensuse.org/buildid
url 0
https://debuginfod.opensuse.org/buildid/e70d602826c77f5cdfae58a7077c94cc638262c6/source/usr/src/debug/coreutils-9.1-4.2.x86_64/src/system.h
query 1 urls in parallel

HTTP/2 200 
content-length: 22369
cache-control: public
last-modified: Wed, 13 Apr 2022 19:09:25 GMT
x-debuginfod-file: system.h
x-debuginfod-archive:
/srv/ftp/pub/opensuse/debug/tumbleweed/repo/oss/x86_64/coreutils-debugsource-9.1-4.2.x86_64.rpm
x-debuginfod-size: 22369
content-type: application/octet-stream
date: Wed, 07 Sep 2022 20:37:18 GMT
x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
referrer-policy: no-referrer-when-downgrade
strict-transport-security: max-age=31536000;includeSubDomains;preload

committed to url 0
server response No error
got file from server
found
/home/marxin/.cache/debuginfod_client/e70d602826c77f5cdfae58a7077c94cc638262c6/source##usr##src##debug##coreutils-9.1-4.2.x86_64##src##system.h
(fd=7)
    { "sha512sum", "sha2 utilities" },
    { NULL, NULL }
  };

  char const *node = program;
  struct infomap const *map_prog = infomap;
    249c:       48 89 e3                mov    %rsp,%rbx

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]