From: Srinath Avadhanula <srinathava@gmail.com>
To: gdb@sourceware.org
Subject: Does GDB have an option to keep symbols loaded after detaching?
Date: Wed, 28 Aug 2019 18:54:00 -0000 [thread overview]
Message-ID: <CAKMNpPEnDbHOFibN_LqbUvq2djGAwO2XwaCBWdiieQ=AbtmmoQ@mail.gmail.com> (raw)
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
next reply other threads:[~2019-08-28 18:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-28 18:54 Srinath Avadhanula [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-08-22 0:34 Srinath Avadhanula
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAKMNpPEnDbHOFibN_LqbUvq2djGAwO2XwaCBWdiieQ=AbtmmoQ@mail.gmail.com' \
--to=srinathava@gmail.com \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).