From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E46F93857030; Tue, 14 Jul 2020 10:23:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E46F93857030 From: "jg at jguk dot org" To: gdb-prs@sourceware.org Subject: [Bug gdb/9645] GDB needs a --sysroot command line option Date: Tue, 14 Jul 2020 10:23:30 +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: 6.8 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jg at jguk dot org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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: Tue, 14 Jul 2020 10:23:31 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D9645 Jonny Grant changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jg at jguk dot org --- Comment #4 from Jonny Grant --- I came up with similar on Ubuntu LTS looking at a core file. Looks like sna= ps include allt heir own libs (I'm not really a fan of this approach DLL hell,= but anyway) Would be great to have this feature. $ gdb -c chrome_S6_1594713950.core /snap/chromium/1213/usr/lib/chromium-browser/chrome GNU gdb (Ubuntu 9.1-0ubuntu1) 9.1 For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /snap/chromium/1213/usr/lib/chromium-browser/chrome... (No debugging symbols found in /snap/chromium/1213/usr/lib/chromium-browser/chrome) [New LWP 927798] warning: .dynamic section for "/lib/x86_64-linux-gnu/libpthread.so.0" is no= t at the expected address (wrong library or version mismatch?) warning: .dynamic section for "/lib/x86_64-linux-gnu/librt.so.1" is not at = the expected address (wrong library or version mismatch?) warning: .dynamic section for "/lib/x86_64-linux-gnu/libsystemd.so.0" is no= t at the expected address (wrong library or version mismatch?) warning: .dynamic section for "/lib/x86_64-linux-gnu/libmount.so.1" is not = at the expected address (wrong library or version mismatch?) warning: .dynamic section for "/lib/x86_64-linux-gnu/liblzma.so.5" is not at the expected address (wrong library or version mismatch?) warning: .dynamic section for "/usr/lib/x86_64-linux-gnu/liblz4.so.1" is no= t at the expected address (wrong library or version mismatch?) warning: .dynamic section for "/lib/x86_64-linux-gnu/libblkid.so.1" is not = at the expected address (wrong library or version mismatch?) warning: .dynamic section for "/lib/x86_64-linux-gnu/libgpg-error.so.0" is = not at the expected address (wrong library or version mismatch?) warning: .dynamic section for "/lib/x86_64-linux-gnu/libuuid.so.1" is not at the expected address (wrong library or version mismatch?) warning: Could not load shared library symbols for /lib/x86_64-linux-gnu/libgcrypt.so.20. Do you need "set solib-search-path" or "set sysroot"? --=20 You are receiving this mail because: You are on the CC list for the bug.=