From: nak26 <nak26@drexel.edu>
To: gdb@sources.redhat.com
Subject: RE: gdbserver multithreaded debugging problem
Date: Tue, 24 Jun 2003 14:54:00 -0000 [thread overview]
Message-ID: <3EF85A27@webmail.drexel.edu> (raw)
>===== Original Message From cerickson@mvista.com =====
>Nik,
>The files you need are in the target/lib directory
>
>libthread_db.so.1 link to libthread_db-1.0.so
>libthread_db-1.0.so
>
>and the target/usr/lib directory
>
>libthread_bd.a
>libthread_db.so link to ../../lib/libthread_db.so.1
>libthread_db_p.a
>
>Then things should just be AOK. Now if you stripped your executables
>that are running on your target then you have another problem. So
>be advised that while in debug do not strip any threaded programs.
>
>Cal
Cal:
Sorry to be bugging you again, but I still haven't had success resolving the
issue. I have the links set up as you perscribed, and my lib path includes
/usr/lib (I also tried it including both /usr/lib and /lib in this order and
vice versa) but I'm still seeing the SIG32 messages.
----------------------------------------------------------
Here is my setup:
------------------------------------------------------------------------------
-------
lab@(none):/usr/lib$ ls -l | grep libthread
-rwxr-xr-x 1 root root 95174 Mar 21 05:19 libthread.so
-rw-r--r-- 1 root root 2197690 Mar 21 04:06 libthread_db.a
lrwxrwxrwx 1 root root 27 Jun 24 13:36 libthread_db.so ->
../../lib/libthread_db.so.1
-rwxr-xr-x 1 root root 25911 Mar 21 07:33 libthread_db.so.1.0.20
-rw-r--r-- 1 root root 2199126 Mar 21 04:06 libthread_db_p.a
-rwxr-xr-x 1 root root 301667 Mar 21 05:20 libthreaddbg.so
lab@(none):/usr/lib$
lab@(none):/lib$ ls -l | grep libthread
-rw-r--r-- 1 root root 935480 Mar 21 04:06 libthread_db-1.0.so
lrwxrwxrwx 1 root root 19 May 2 16:00 libthread_db.so.1 ->
libthread_db-1.0.so
lab@(none):/lib$
lab@(none):~$ env | grep LD_LIB
LD_LIBRARY_PATH=/usr/lib:/lib:/opt/intel/mkl/lib/32
lab@(none):~$
--------------------------------------------------------------------
Per Daniel's suggestion I looked at the config.log, and multithreading seems
to be set up correctly prior to the build.
I guess I can try debugging a multithreaded toy example, or hopefully you'll
see something else that I'm doing wrong.
Thanks,
Nik
next reply other threads:[~2003-06-24 14:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-24 14:54 nak26 [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-06-23 19:39 nak26
2003-06-23 19:45 ` Cal Erickson
2003-06-23 19:49 ` Daniel Jacobowitz
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=3EF85A27@webmail.drexel.edu \
--to=nak26@drexel.edu \
--cc=gdb@sources.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