public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
* [Bug breakpoints/15292] New: Pending dprintf don't work @ 2013-03-21 17:20 marc.khouzam at ericsson dot com 2013-03-24 5:41 ` [Bug breakpoints/15292] " teawater at gmail dot com ` (3 more replies) 0 siblings, 4 replies; 5+ messages in thread From: marc.khouzam at ericsson dot com @ 2013-03-21 17:20 UTC (permalink / raw) To: gdb-prs http://sourceware.org/bugzilla/show_bug.cgi?id=15292 Bug #: 15292 Summary: Pending dprintf don't work Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: breakpoints AssignedTo: unassigned@sourceware.org ReportedBy: marc.khouzam@ericsson.com Classification: Unclassified Setting a dprintf that is marked PENDING will not properly become activated. > gdb.7.6 ~/runtime-TestDSF/myapp/Debug/myapp.exe GNU gdb (GDB) 7.6.50.20130318-cvs Reading symbols from /home/lmckhou/runtime-TestDSF/myapp/Debug/myapp.exe...done. (gdb) dprintf mydll.c:2,"h" No source file named mydll.c. Make dprintf pending on future shared library load? (y or [n]) y Dprintf 1 (mydll.c:2,"h") pending. (gdb) info b Num Type Disp Enb Address What 1 dprintf keep y <PENDING> mydll.c:2,"h" (gdb) start Temporary breakpoint 2 at 0x40074d: file ../src/myapp.c, line 15. Starting program: /home/lmckhou/runtime-TestDSF/myapp/Debug/myapp.exe Temporary breakpoint 2, main () at ../src/myapp.c:15 15 int i = 0; (gdb) n 18 handle = dlopen("/home/lmckhou/runtime-TestDSF/myLinuxDll/Debug/libmyLinuxDll", RTLD_LAZY); (gdb) n 19 if (!handle) { (gdb) info b Num Type Disp Enb Address What 1 dprintf keep y 0x00007ffff7633560 in foo at ../src/mydll.c:2 (gdb) or > gdb.7.5 ~/runtime-TestDSF/myapp/Debug/myapp.exe GNU gdb (GDB) 7.5.1 Reading symbols from /home/lmckhou/runtime-TestDSF/myapp/Debug/myapp.exe...done. (gdb) dprintf mydll.c:2,"h" No source file named mydll.c. Make dprintf pending on future shared library load? (y or [n]) y Dprintf 1 (mydll.c:2,"h") pending. (gdb) info b Num Type Disp Enb Address What 1 dprintf keep y <PENDING> mydll.c:2,"h" (gdb) start Temporary breakpoint 2 at 0x40074d: file ../src/myapp.c, line 15. Starting program: /home/lmckhou/runtime-TestDSF/myapp/Debug/myapp.exe Temporary breakpoint 2, main () at ../src/myapp.c:15 15 int i = 0; (gdb) n 18 handle = dlopen("/home/lmckhou/runtime-TestDSF/myLinuxDll/Debug/libmyLinuxDll", RTLD_LAZY); (gdb) n 19 if (!handle) { (gdb) info b Num Type Disp Enb Address What 1 dprintf keep y 0x00007ffff7633560 in foo at ../src/mydll.c:2 (agent printf) ,"h" (gdb) show dprintf-style The style of usage for dynamic printf is "gdb". -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug breakpoints/15292] Pending dprintf don't work 2013-03-21 17:20 [Bug breakpoints/15292] New: Pending dprintf don't work marc.khouzam at ericsson dot com @ 2013-03-24 5:41 ` teawater at gmail dot com 2013-04-12 2:40 ` teawater at gmail dot com ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: teawater at gmail dot com @ 2013-03-24 5:41 UTC (permalink / raw) To: gdb-prs http://sourceware.org/bugzilla/show_bug.cgi?id=15292 teawater <teawater at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |teawater at gmail dot com AssignedTo|unassigned at sourceware |teawater at gmail dot com |dot org | --- Comment #1 from teawater <teawater at gmail dot com> 2013-03-24 05:41:18 UTC --- http://sourceware.org/ml/gdb-patches/2013-03/msg00828.html -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug breakpoints/15292] Pending dprintf don't work 2013-03-21 17:20 [Bug breakpoints/15292] New: Pending dprintf don't work marc.khouzam at ericsson dot com 2013-03-24 5:41 ` [Bug breakpoints/15292] " teawater at gmail dot com @ 2013-04-12 2:40 ` teawater at gmail dot com 2013-04-12 8:23 ` palves at redhat dot com 2014-01-10 15:51 ` marc.khouzam at ericsson dot com 3 siblings, 0 replies; 5+ messages in thread From: teawater at gmail dot com @ 2013-04-12 2:40 UTC (permalink / raw) To: gdb-prs http://sourceware.org/bugzilla/show_bug.cgi?id=15292 teawater <teawater at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #2 from teawater <teawater at gmail dot com> 2013-04-12 02:40:40 UTC --- http://sourceware.org/ml/gdb-cvs/2013-04/msg00097.html http://sourceware.org/ml/gdb-cvs/2013-04/msg00113.html -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug breakpoints/15292] Pending dprintf don't work 2013-03-21 17:20 [Bug breakpoints/15292] New: Pending dprintf don't work marc.khouzam at ericsson dot com 2013-03-24 5:41 ` [Bug breakpoints/15292] " teawater at gmail dot com 2013-04-12 2:40 ` teawater at gmail dot com @ 2013-04-12 8:23 ` palves at redhat dot com 2014-01-10 15:51 ` marc.khouzam at ericsson dot com 3 siblings, 0 replies; 5+ messages in thread From: palves at redhat dot com @ 2013-04-12 8:23 UTC (permalink / raw) To: gdb-prs http://sourceware.org/bugzilla/show_bug.cgi?id=15292 Pedro Alves <palves at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |palves at redhat dot com Target Milestone|--- |7.6 -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug breakpoints/15292] Pending dprintf don't work 2013-03-21 17:20 [Bug breakpoints/15292] New: Pending dprintf don't work marc.khouzam at ericsson dot com ` (2 preceding siblings ...) 2013-04-12 8:23 ` palves at redhat dot com @ 2014-01-10 15:51 ` marc.khouzam at ericsson dot com 3 siblings, 0 replies; 5+ messages in thread From: marc.khouzam at ericsson dot com @ 2014-01-10 15:51 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=15292 Marc Khouzam <marc.khouzam at ericsson dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED --- Comment #3 from Marc Khouzam <marc.khouzam at ericsson dot com> --- Looks good. Thanks! -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-01-10 15:51 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2013-03-21 17:20 [Bug breakpoints/15292] New: Pending dprintf don't work marc.khouzam at ericsson dot com 2013-03-24 5:41 ` [Bug breakpoints/15292] " teawater at gmail dot com 2013-04-12 2:40 ` teawater at gmail dot com 2013-04-12 8:23 ` palves at redhat dot com 2014-01-10 15:51 ` marc.khouzam at ericsson dot com
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).