From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9445 invoked by alias); 18 Aug 2018 13:23:49 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 9430 invoked by uid 89); 18 Aug 2018 13:23:48 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=peace, Hx-languages-length:808, loader X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (208.118.235.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 18 Aug 2018 13:23:47 +0000 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fr1Cg-0007uG-2e for gdb@sourceware.org; Sat, 18 Aug 2018 09:23:45 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33126) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fr1Cf-0007uC-W9 for gdb@sourceware.org; Sat, 18 Aug 2018 09:23:42 -0400 Received: from [176.228.60.248] (port=2635 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fr1Cf-0004En-KT for gdb@sourceware.org; Sat, 18 Aug 2018 09:23:41 -0400 Date: Sat, 18 Aug 2018 13:23:00 -0000 Message-Id: <83h8jrg65m.fsf@gnu.org> From: Eli Zaretskii To: gdb@sourceware.org Subject: Using separate debug info files with Windows DLLs X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-IsSubscribed: yes X-SW-Source: 2018-08/txt/msg00040.txt.bz2 Does the "debug link" method work with Windows DLLs produces by MinGW GCC and GNU Binutils? The "Separate Debug Files" node of the GDB manual talks only about executables, and doesn't mention shared libraries. If those methods are supposed to work with shared libraries in general, and Windows DLLs in particular, then I wonder (a) would the Windows loader live in peace with the additional .gnu_debuglink section that needs to be put there, and (b) when will GDB load the debug info using this method? My use case is that I have an installed DLL which is stripped of its symbols, but I need some of the debug information from the library to display opaque data structures the library exposes to the calling applications. Thanks in advance for any help.