public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug shlibs/7885] Problem to debug a DLL
[not found] <bug-7885-4717@http.sourceware.org/bugzilla/>
@ 2024-01-19 14:04 ` ssbssa at sourceware dot org
0 siblings, 0 replies; only message in thread
From: ssbssa at sourceware dot org @ 2024-01-19 14:04 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=7885
Hannes Domani <ssbssa at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ssbssa at sourceware dot org
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |7.5
--- Comment #3 from Hannes Domani <ssbssa at sourceware dot org> ---
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=12) at gdb-7885-dll.c:4
4 return x + 2;
(gdb) p x
$1 = 12
(gdb) c
Continuing.
indll = 14
[Inferior 1 (process 8308) exited normally]
```
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-01-19 14:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-7885-4717@http.sourceware.org/bugzilla/>
2024-01-19 14:04 ` [Bug shlibs/7885] Problem to debug a DLL ssbssa at sourceware dot org
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).