From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6EBD93858C98; Fri, 19 Jan 2024 14:04:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6EBD93858C98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1705673097; bh=ATdHN1fqbsbSclyTORn0BSm1YIHoEmfiK+xASFyVjIs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Dk+2rcbEloihD07cyruOP82toPjk631PWUXJG+1LBZOnfZrIVMRL/vieVfqigA0O1 tXY4jRV0P0aGSqJ04MH8YILoCJ1rlisDIW3qk/UQiKy7Qk6+0fPK+6zlyjmuYLCeJK 6E+ogHymZwIIBBGDYw+xODxM6osGVrVkVOuVCl8Y= From: "ssbssa at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug shlibs/7885] Problem to debug a DLL Date: Fri, 19 Jan 2024 14:04:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: shlibs X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ssbssa at sourceware dot org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc bug_status resolution target_milestone 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D7885 Hannes Domani changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ssbssa at sourceware dot o= rg Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |7.5 --- Comment #3 from Hannes Domani --- Debugging a dll when the main application has no debug symbols works for me since gdb-7.5: ``` Reading symbols from C:\src\tests\gdb-7885-main.exe...(no debugging symbols found)...done. (gdb) b indll No symbol table is loaded. Use the "file" command. Make breakpoint pending on future shared library load? (y or [n]) y Breakpoint 1 (indll) pending. (gdb) r Starting program: C:\src\tests\gdb-7885-main.exe [New Thread 8308.0x25f8] Breakpoint 1, indll (x=3D12) at gdb-7885-dll.c:4 4 return x + 2; (gdb) p x $1 =3D 12 (gdb) c Continuing. indll =3D 14 [Inferior 1 (process 8308) exited normally] ``` --=20 You are receiving this mail because: You are on the CC list for the bug.=