public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* auto-solib-add when attaching to inferior
@ 2003-04-16 18:59 Kris Warkentin
  2003-04-16 19:04 ` Daniel Jacobowitz
  0 siblings, 1 reply; 6+ messages in thread
From: Kris Warkentin @ 2003-04-16 18:59 UTC (permalink / raw)
  To: gdb

When I run a remote process using our QNX remote protocol, I get a solib
breakpoint set properly and from then on, if solibs are loaded, their
symbols automatically get added (auto-solib-add is on by default).  If,
however, I attach to the process, even if auto-solib-add is on, I still have
to go 'shared' to get them to load.  If I 'maint info breakpoints' on the
attached process, I see that there isn't a shlib-events breakpoint set on
the attached process so I assume either enable_break() isn't getting called
or is failing.

I'm still building my debug gdb to test but I'm hoping someone will tell me,
"Oh, when you attach you should always call such-and-such function" and I
can just add it to our back end code.

cheers,

Kris

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

end of thread, other threads:[~2003-04-17 18:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-16 18:59 auto-solib-add when attaching to inferior Kris Warkentin
2003-04-16 19:04 ` Daniel Jacobowitz
2003-04-16 22:05   ` Kris Warkentin
2003-04-16 22:14     ` Daniel Jacobowitz
2003-04-17 14:12       ` Kris Warkentin
2003-04-17 18:14         ` Kris Warkentin

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).