Hello,
  I had a closer look at programs using libdbi.  Most of them seem to
link to libpthread. Programs such as rrdtool and syslog-ng use it.

So I changed my command line to build my simple test program I
sent in my initial report from:
   gcc -o test -ldbi -ggdb test.c
 to:
   gcc -o test -ldbi -lpthread -ggdb test.c

GDB now works as you expect, info threads sees threads and all is well.
The question is, should gdb work fine without the program having to
link to libpthread? Or is there a problem in libdbi?

I built my own libdbi 0.8.3 just in case it was a problem with 0.8.2
but get the same results.

 - Craig
-- 
Craig Small      GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
http://www.enc.com.au/                             csmall at : enc.com.au
http://www.debian.org/          Debian GNU/Linux, software should be Free 



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to