public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Does GDB have an option to keep symbols loaded after detaching?
@ 2019-08-28 18:54 Srinath Avadhanula
  0 siblings, 0 replies; 2+ messages in thread
From: Srinath Avadhanula @ 2019-08-28 18:54 UTC (permalink / raw)
  To: gdb

Hi,

Is there a way to tell GDB to keep all the shared library symbols
loaded when it detaches from the inferior?

That way if we attach to a new instance of the same executable with no
(or very minor) modifications to any of the shared libraries, it
should attach much quicker.

As a comparison, I see that LLDB does seem to re-attach much faster
than the first time attach. GDB takes almost the same time every time.

Regards,
Srinath

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

* Does GDB have an option to keep symbols loaded after detaching?
@ 2019-08-22  0:34 Srinath Avadhanula
  0 siblings, 0 replies; 2+ messages in thread
From: Srinath Avadhanula @ 2019-08-22  0:34 UTC (permalink / raw)
  To: gdb

Hi,

Is there a way to tell GDB to keep all the shared library symbols
loaded when it detaches from the inferior?

That way if we attach to a new instance of the same executable with no
(or very minor) modifications to any of the shared libraries, it
should attach much quicker.

As a comparison, I see that LLDB does seem to re-attach much faster
than the first time attach. GDB takes almost the same time every time.

Regards,
Srinath

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

end of thread, other threads:[~2019-08-28 18:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-28 18:54 Does GDB have an option to keep symbols loaded after detaching? Srinath Avadhanula
  -- strict thread matches above, loose matches on Subject: below --
2019-08-22  0:34 Srinath Avadhanula

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