public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "daniel at mariadb dot org" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug gdb/17917] gdbserver should lookup build-ids in the remote binaries
Date: Sat, 28 Aug 2021 06:51:23 +0000	[thread overview]
Message-ID: <bug-17917-4717-yaZpE2RkCQ@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-17917-4717@http.sourceware.org/bugzilla/>

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

--- Comment #2 from daniel at mariadb dot org <daniel at mariadb dot org> ---
With https://sourceware.org/pipermail/gdb-patches/2021-August/181718.html


$ ./gdb/gdb 
GNU gdb (GDB) 12.0.50.20210828-git
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
(gdb)  set debug separate-debug-file 1
(gdb)  target extended-remote  :44663
Remote debugging using :44663
warning: Can not parse XML target description; XML support was disabled at
compile time
Reading /usr/sbin/mariadbd from remote target...
warning: File transfers from remote targets can be slow. Use "set sysroot" to
access files locally instead.
Reading /usr/sbin/mariadbd from remote target...
Reading symbols from target:/usr/sbin/mariadbd...

Looking for separate debug info (build-id) for target:/usr/sbin/mariadbd
  Trying
/usr/lib/debug/.build-id/57/c35022dc84dd28479db41cc278f625776c4adc.debug... no,
unable to compute real path
  Trying
target:/usr/lib/debug/.build-id/57/c35022dc84dd28479db41cc278f625776c4adc.debug...Reading
/usr/lib/debug/.build-id/57/c35022dc84dd28479db41cc278f625776c4adc.debug from
remote target...
 yes!
Reading
/usr/lib/debug/.build-id/57/c35022dc84dd28479db41cc278f625776c4adc.debug from
remote target...
Reading symbols from
target:/usr/lib/debug/.build-id/57/c35022dc84dd28479db41cc278f625776c4adc.debug...
Reading /lib/x86_64-linux-gnu/libpcre2-8.so.0 from remote target...
Reading /lib/x86_64-linux-gnu/libcrypt.so.1 from remote target...
Reading /lib/x86_64-linux-gnu/liblz4.so.1 from remote target...
Reading /lib/x86_64-linux-gnu/libsystemd.so.0 from remote target...
Reading /lib/x86_64-linux-gnu/libaio.so.1 from remote target...
Reading /lib/x86_64-linux-gnu/libz.so.1 from remote target...
Reading /lib/x86_64-linux-gnu/libssl.so.1.1 from remote target...
Reading /lib/x86_64-linux-gnu/libcrypto.so.1.1 from remote target...
Reading /lib/x86_64-linux-gnu/libpthread.so.0 from remote target...
Reading /lib/x86_64-linux-gnu/libdl.so.2 from remote target...
Reading /lib/x86_64-linux-gnu/libstdc++.so.6 from remote target...
Reading /lib/x86_64-linux-gnu/libm.so.6 from remote target...
Reading /lib/x86_64-linux-gnu/libc.so.6 from remote target...
Reading /lib64/ld-linux-x86-64.so.2 from remote target...
Reading /lib/x86_64-linux-gnu/librt.so.1 from remote target...
Reading /lib/x86_64-linux-gnu/liblzma.so.5 from remote target...
Reading /lib/x86_64-linux-gnu/libgcrypt.so.20 from remote target...
Reading /lib/x86_64-linux-gnu/libgcc_s.so.1 from remote target...
Reading /lib/x86_64-linux-gnu/libgpg-error.so.0 from remote target...
Reading /lib/x86_64-linux-gnu/libnss_files.so.2 from remote target...
Reading symbols from target:/lib/x86_64-linux-gnu/libpcre2-8.so.0...

Looking for separate debug info (build-id) for
target:/lib/x86_64-linux-gnu/libpcre2-8.so.0
  Trying
/usr/lib/debug/.build-id/dd/36d93c961c18d7164f56a10064cfe3591a7e56.debug... no,
unable to compute real path
  Trying
target:/usr/lib/debug/.build-id/dd/36d93c961c18d7164f56a10064cfe3591a7e56.debug...Reading
/usr/lib/debug/.build-id/dd/36d93c961c18d7164f56a10064cfe3591a7e56.debug from
remote target...
 yes!
Reading
/usr/lib/debug/.build-id/dd/36d93c961c18d7164f56a10064cfe3591a7e56.debug from
remote target...
Reading symbols from
target:/usr/lib/debug/.build-id/dd/36d93c961c18d7164f56a10064cfe3591a7e56.debug...
Reading symbols from target:/lib/x86_64-linux-gnu/libcrypt.so.1...

Looking for separate debug info (build-id) for
target:/lib/x86_64-linux-gnu/libcrypt.so.1
  Trying
/usr/lib/debug/.build-id/46/77a4c8111a47d124c60abe6d1a39f5408875fc.debug... no,
unable to compute real path
  Trying
target:/usr/lib/debug/.build-id/46/77a4c8111a47d124c60abe6d1a39f5408875fc.debug...Reading
/usr/lib/debug/.build-id/46/77a4c8111a47d124c60abe6d1a39f5408875fc.debug from
remote target...
 yes!
Reading
/usr/lib/debug/.build-id/46/77a4c8111a47d124c60abe6d1a39f5408875fc.debug from
remote target...
Reading symbols from
target:/usr/lib/debug/.build-id/46/77a4c8111a47d124c60abe6d1a39f5408875fc.debug...
Reading symbols from target:/lib/x86_64-linux-gnu/liblz4.so.1...

Looking for separate debug info (build-id) for
target:/lib/x86_64-linux-gnu/liblz4.so.1
  Trying
/usr/lib/debug/.build-id/f6/4a53f0f288938d86782cc5547c0ed71063ba3f.debug... no,
unable to compute real path
  Trying
target:/usr/lib/debug/.build-id/f6/4a53f0f288938d86782cc5547c0ed71063ba3f.debug...Reading
/usr/lib/debug/.build-id/f6/4a53f0f288938d86782cc5547c0ed71063ba3f.debug from
remote target...
 yes!
Reading
/usr/lib/debug/.build-id/f6/4a53f0f288938d86782cc5547c0ed71063ba3f.debug from
remote target...
Reading symbols from
target:/usr/lib/debug/.build-id/f6/4a53f0f288938d86782cc5547c0ed71063ba3f.debug...
Reading symbols from target:/lib/x86_64-linux-gnu/libsystemd.so.0...

Looking for separate debug info (build-id) for
target:/lib/x86_64-linux-gnu/libsystemd.so.0
  Trying
/usr/lib/debug/.build-id/af/9d4eb40d9c9a6f95204707e44b67ffe6865f49.debug... no,
unable to compute real path
  Trying
target:/usr/lib/debug/.build-id/af/9d4eb40d9c9a6f95204707e44b67ffe6865f49.debug...Reading
/usr/lib/debug/.build-id/af/9d4eb40d9c9a6f95204707e44b67ffe6865f49.debug from
remote target...
 yes!
Reading
/usr/lib/debug/.build-id/af/9d4eb40d9c9a6f95204707e44b67ffe6865f49.debug from
remote target...

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

  parent reply	other threads:[~2021-08-28  6:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-03  7:09 [Bug gdb/17917] New: " eseidel at google dot com
2021-08-28  3:39 ` [Bug gdb/17917] " daniel at mariadb dot org
2021-08-28  6:51 ` daniel at mariadb dot org [this message]
2021-10-19 17:30 ` cvs-commit at gcc dot gnu.org
2021-10-19 17:42 ` tromey at sourceware dot org
2021-10-20  1:08 ` daniel at mariadb dot org
2021-10-20  2:06 ` tromey at sourceware dot org
2021-10-20  4:42 ` daniel at mariadb dot org
2023-01-02 19:31 ` tromey at sourceware dot org

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=bug-17917-4717-yaZpE2RkCQ@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@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).