From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0E9193858D34; Sat, 28 Aug 2021 06:51:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0E9193858D34 From: "daniel at mariadb dot 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 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: daniel at mariadb dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Aug 2021 06:51:24 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D17917 --- Comment #2 from daniel at mariadb dot org -= -- With https://sourceware.org/pipermail/gdb-patches/2021-August/181718.html $ ./gdb/gdb=20 GNU gdb (GDB) 12.0.50.20210828-git Copyright (C) 2021 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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: . Find the GDB manual and other documentation resources online at: . 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.d= ebug...Reading /usr/lib/debug/.build-id/57/c35022dc84dd28479db41cc278f625776c4adc.debug fr= om remote target... yes! Reading /usr/lib/debug/.build-id/57/c35022dc84dd28479db41cc278f625776c4adc.debug fr= om remote target... Reading symbols from target:/usr/lib/debug/.build-id/57/c35022dc84dd28479db41cc278f625776c4adc.d= ebug... 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.d= ebug...Reading /usr/lib/debug/.build-id/dd/36d93c961c18d7164f56a10064cfe3591a7e56.debug fr= om remote target... yes! Reading /usr/lib/debug/.build-id/dd/36d93c961c18d7164f56a10064cfe3591a7e56.debug fr= om remote target... Reading symbols from target:/usr/lib/debug/.build-id/dd/36d93c961c18d7164f56a10064cfe3591a7e56.d= ebug... 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.d= ebug...Reading /usr/lib/debug/.build-id/46/77a4c8111a47d124c60abe6d1a39f5408875fc.debug fr= om remote target... yes! Reading /usr/lib/debug/.build-id/46/77a4c8111a47d124c60abe6d1a39f5408875fc.debug fr= om remote target... Reading symbols from target:/usr/lib/debug/.build-id/46/77a4c8111a47d124c60abe6d1a39f5408875fc.d= ebug... 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.d= ebug...Reading /usr/lib/debug/.build-id/f6/4a53f0f288938d86782cc5547c0ed71063ba3f.debug fr= om remote target... yes! Reading /usr/lib/debug/.build-id/f6/4a53f0f288938d86782cc5547c0ed71063ba3f.debug fr= om remote target... Reading symbols from target:/usr/lib/debug/.build-id/f6/4a53f0f288938d86782cc5547c0ed71063ba3f.d= ebug... 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.d= ebug...Reading /usr/lib/debug/.build-id/af/9d4eb40d9c9a6f95204707e44b67ffe6865f49.debug fr= om remote target... yes! Reading /usr/lib/debug/.build-id/af/9d4eb40d9c9a6f95204707e44b67ffe6865f49.debug fr= om remote target... --=20 You are receiving this mail because: You are on the CC list for the bug.=