Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* MI and pending breakpoints
@ 2006-03-15 14:22 Vladimir Prus
  2006-03-15 16:21 ` Jim Ingham
  0 siblings, 1 reply; 10+ messages in thread
From: Vladimir Prus @ 2006-03-15 14:22 UTC (permalink / raw)
  To: gdb

   
Hello!
I've got some problems with "pending breakpoints" functionality, using MI
interface. Here's example session:

   (gdb) break helper.cpp:4 
   break helper.cpp:4
   No source file named helper.cpp.
   Breakpoint 2 (helper.cpp:4) pending.
   ^done
   (gdb) -break-insert helper.cpp:5 
   No source file named helper.cpp.
   ^done

The CLI command correctly adds pending breakpoint. The helper.cpp file is in
dlopen-ed shared library, and the breakpoint will be resolved when the
library is loaded.

The MI command neither errors out (the reply is "^done", not "^error"), nor
it does anything. It does not report breakpoint number, it does not add any
breakpoint at all.

What is the reason for this? Is this a bug? How do other frontend authors
deal with breakpoints in shared libraries, then?

Thanks in advance,
Volodya




^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-03-17  7:07 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-15 14:22 MI and pending breakpoints Vladimir Prus
2006-03-15 16:21 ` Jim Ingham
2006-03-15 16:30   ` Bob Rossi
2006-03-15 16:34     ` Jim Ingham
2006-03-15 16:48       ` Bob Rossi
2006-03-15 23:18         ` Jim Ingham
2006-03-16 15:36         ` Nick Roberts
2006-03-15 16:31   ` Vladimir Prus
2006-03-15 16:39     ` Jim Ingham
2006-03-17 10:35       ` Vladimir Prus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox