From: Andrew Cagney <ac131313@redhat.com>
To: Kevin Buettner <kevinb@redhat.com>
Cc: Dan Mosedale <dmose@mozilla.org>,
"Martin M. Hunt" <hunt@redhat.com>,
gdb@sources.redhat.com
Subject: Re: linux, threads and auto-solib-add
Date: Thu, 30 Jan 2003 21:31:00 -0000 [thread overview]
Message-ID: <3E3999AF.90203@redhat.com> (raw)
In-Reply-To: <1030130181325.ZM25461@localhost.localdomain>
> I used the word "needless" above because I think there's a perfectly
> reasonable way that the user can achieve the same effect without
> modifying gdb. Simply place the following commands in a suitable
> .gdbinit file:
>
> set auto-solib-add off
> define hook-stop
> sharedlibrary libpthread
> end
>
> The ``hook-stop'' definition above will attempt to load the libpthread
> shared library every time gdb stops. Of course, once a shared library
> has been loaded, future attempts to load the shared library are
> effectively no-ops since gdb knows that the library is already loaded.
Hey, wow! Consider adding this to the documentation.
Andrew
prev parent reply other threads:[~2003-01-30 21:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-30 0:24 Martin M. Hunt
2003-01-30 0:50 ` Kevin Buettner
2003-01-30 10:20 ` Dan Mosedale
2003-01-30 18:13 ` Kevin Buettner
2003-01-30 21:31 ` Andrew Cagney [this message]
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=3E3999AF.90203@redhat.com \
--to=ac131313@redhat.com \
--cc=dmose@mozilla.org \
--cc=gdb@sources.redhat.com \
--cc=hunt@redhat.com \
--cc=kevinb@redhat.com \
/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