* debugging multi threaded application
@ 2008-05-08 1:16 Mudeem Siddiqui
2008-05-08 2:22 ` Daniel Jacobowitz
2008-05-08 18:46 ` Michael Snyder
0 siblings, 2 replies; 7+ messages in thread
From: Mudeem Siddiqui @ 2008-05-08 1:16 UTC (permalink / raw)
To: gdb
Hi,
I am trying to debug a multithreaded application using gdbserver and
gdb. I crossed compiled gdb with --enable-threads option. When I start
the debugger on the host i don't get the print "Using host libthread_db
library". and when I conenct the debugger to remote target I get
[New Thread 127]
0x00000000 in ?? ()
I am also not able to get any info using info threads. I have set
LD_LIBRARY_PATH. I have also tried giving the path of the libthread_db
at the host gdb
set solib-search-path ../../root/lib
set solib-absolute-prefix ../../root/lib
Any pointers what I might be missing.
Thanks
Mudeem
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: debugging multi threaded application
2008-05-08 1:16 debugging multi threaded application Mudeem Siddiqui
@ 2008-05-08 2:22 ` Daniel Jacobowitz
2008-05-08 18:46 ` Michael Snyder
1 sibling, 0 replies; 7+ messages in thread
From: Daniel Jacobowitz @ 2008-05-08 2:22 UTC (permalink / raw)
To: Mudeem Siddiqui; +Cc: gdb
On Wed, May 07, 2008 at 06:16:15PM -0700, Mudeem Siddiqui wrote:
> set solib-search-path ../../root/lib
> set solib-absolute-prefix ../../root/lib
Those aren't the right settings. Take a look at the current version
of the manual on the GDB web site and see if that makes it any clearer
what should set solib-absolute-prefix to? Probably just ../../root in
this case.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: debugging multi threaded application
2008-05-08 1:16 debugging multi threaded application Mudeem Siddiqui
2008-05-08 2:22 ` Daniel Jacobowitz
@ 2008-05-08 18:46 ` Michael Snyder
2008-05-09 20:05 ` Mudeem Siddiqui
1 sibling, 1 reply; 7+ messages in thread
From: Michael Snyder @ 2008-05-08 18:46 UTC (permalink / raw)
To: Mudeem Siddiqui; +Cc: gdb
On Wed, 2008-05-07 at 18:16 -0700, Mudeem Siddiqui wrote:
> Hi,
>
> I am trying to debug a multithreaded application using gdbserver and
> gdb. I crossed compiled gdb with --enable-threads option. When I start
> the debugger on the host i don't get the print "Using host libthread_db
> library". and when I conenct the debugger to remote target I get
>
> [New Thread 127]
> 0x00000000 in ?? ()
>
> I am also not able to get any info using info threads. I have set
> LD_LIBRARY_PATH. I have also tried giving the path of the libthread_db
> at the host gdb
>
> set solib-search-path ../../root/lib
> set solib-absolute-prefix ../../root/lib
>
> Any pointers what I might be missing.
We need to know more about your host and target machines,
operating systems, and how gdb and gdbserver were configured.
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: debugging multi threaded application
2008-05-08 18:46 ` Michael Snyder
@ 2008-05-09 20:05 ` Mudeem Siddiqui
2008-05-10 1:45 ` Mudeem Siddiqui
0 siblings, 1 reply; 7+ messages in thread
From: Mudeem Siddiqui @ 2008-05-09 20:05 UTC (permalink / raw)
To: Michael Snyder; +Cc: gdb
Here is how I configure gdb and gdbserver
Cross-Target binaries are compiled as
./configure --prefix=/home/mudeem/usr/gdb/cross
--target=mipsel-linux-uclibc --enable-threads --enable-shared
--disable-werror
make
make install
Target-native binaries are compiled as
export CC=mipsel-linux-uclibc-gcc
export RANLIB=mipsel-linux-uclibc-ranlib
export LDFLAGS="-L/home/mudeem/usr/cross/termcap/lib"
export CPPFLAGS="-I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include
-I/home/mudeem/usr/cross/termcap/include"
export CFLAGS="-I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include"
./configure --prefix=/home/mudeem/usr/gdb/native
--host=mipsel-linux-uclibc --target=mipsel-linux-uclibc --enable-threads
--enable-shared
make
make install
The tools version are
gdb version 6.8
mipsel-linux-uclibc-gcc 3.2.2
Kernel Version target 2.4.25
Kernel version host 2.4.21
gcc 3.2.3
Then I set solib-search-path in which I have libthread_db but I don't
know if libthread_db is used or not. Another question should
libthread_db be in the lib path while compiling gdb.
Thanks
Mudeem
-----Original Message-----
From: Michael Snyder [mailto:msnyder@specifix.com]
Sent: Thursday, May 08, 2008 11:46 AM
To: Mudeem Siddiqui
Cc: gdb@sourceware.org
Subject: Re: debugging multi threaded application
On Wed, 2008-05-07 at 18:16 -0700, Mudeem Siddiqui wrote:
> Hi,
>
> I am trying to debug a multithreaded application using gdbserver and
> gdb. I crossed compiled gdb with --enable-threads option. When I start
> the debugger on the host i don't get the print "Using host
> libthread_db library". and when I conenct the debugger to remote
> target I get
>
> [New Thread 127]
> 0x00000000 in ?? ()
>
> I am also not able to get any info using info threads. I have set
> LD_LIBRARY_PATH. I have also tried giving the path of the libthread_db
> at the host gdb
>
> set solib-search-path ../../root/lib
> set solib-absolute-prefix ../../root/lib
>
> Any pointers what I might be missing.
We need to know more about your host and target machines, operating
systems, and how gdb and gdbserver were configured.
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: debugging multi threaded application
2008-05-09 20:05 ` Mudeem Siddiqui
@ 2008-05-10 1:45 ` Mudeem Siddiqui
2008-05-10 7:43 ` Andreas Schwab
0 siblings, 1 reply; 7+ messages in thread
From: Mudeem Siddiqui @ 2008-05-10 1:45 UTC (permalink / raw)
To: Mudeem Siddiqui, Michael Snyder; +Cc: gdb
[-- Attachment #1: Type: text/plain, Size: 2990 bytes --]
Hi gdb gurus
I again compiled gdb and gdbserver. I looked in config.log and I see
that it can't find libthread_db.so.1 so it gives the warning
configure:4185: result: no
configure:4188: WARNING: Could not find libthread_db.
configure:4190: WARNING: Disabling thread support in gdbserver.
In my lib directory, I do have libthread_db but with slightly different
name i.e libthread_db.so.0 and libthread_db-0.9.21.so. Attached Is
config.log for the reference. What can I do to get this thing working :)
Thanks
Mudeem
-----Original Message-----
From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On
Behalf Of Mudeem Siddiqui
Sent: Friday, May 09, 2008 1:05 PM
To: Michael Snyder
Cc: gdb@sourceware.org
Subject: RE: debugging multi threaded application
Here is how I configure gdb and gdbserver
Cross-Target binaries are compiled as
./configure --prefix=/home/mudeem/usr/gdb/cross
--target=mipsel-linux-uclibc --enable-threads --enable-shared
--disable-werror make make install
Target-native binaries are compiled as
export CC=mipsel-linux-uclibc-gcc
export RANLIB=mipsel-linux-uclibc-ranlib export
LDFLAGS="-L/home/mudeem/usr/cross/termcap/lib"
export CPPFLAGS="-I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include
-I/home/mudeem/usr/cross/termcap/include"
export CFLAGS="-I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include"
./configure --prefix=/home/mudeem/usr/gdb/native
--host=mipsel-linux-uclibc --target=mipsel-linux-uclibc --enable-threads
--enable-shared make make install
The tools version are
gdb version 6.8
mipsel-linux-uclibc-gcc 3.2.2
Kernel Version target 2.4.25
Kernel version host 2.4.21
gcc 3.2.3
Then I set solib-search-path in which I have libthread_db but I don't
know if libthread_db is used or not. Another question should
libthread_db be in the lib path while compiling gdb.
Thanks
Mudeem
-----Original Message-----
From: Michael Snyder [mailto:msnyder@specifix.com]
Sent: Thursday, May 08, 2008 11:46 AM
To: Mudeem Siddiqui
Cc: gdb@sourceware.org
Subject: Re: debugging multi threaded application
On Wed, 2008-05-07 at 18:16 -0700, Mudeem Siddiqui wrote:
> Hi,
>
> I am trying to debug a multithreaded application using gdbserver and
> gdb. I crossed compiled gdb with --enable-threads option. When I start
> the debugger on the host i don't get the print "Using host
> libthread_db library". and when I conenct the debugger to remote
> target I get
>
> [New Thread 127]
> 0x00000000 in ?? ()
>
> I am also not able to get any info using info threads. I have set
> LD_LIBRARY_PATH. I have also tried giving the path of the libthread_db
> at the host gdb
>
> set solib-search-path ../../root/lib
> set solib-absolute-prefix ../../root/lib
>
> Any pointers what I might be missing.
We need to know more about your host and target machines, operating
systems, and how gdb and gdbserver were configured.
[-- Attachment #2: config.log --]
[-- Type: application/octet-stream, Size: 36199 bytes --]
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ../.././gdb/gdbserver/configure --prefix=/home/mudeem/development/QV15XX_SDK/Linux/QV140X_TOOLS/qv140x --cache-file=./config.cache --with-stabs --prefix=/home/mudeem/development/QV15XX_SDK/Linux/QV140X_TOOLS/qv140x --enable-threads --enable-shared --program-transform-name=s,y,y, --build=x86_64-unknown-linux-gnu --host=mipsel-linux-uclibc --target=mipsel-linux-uclibc --srcdir=.././gdb CC=mipsel-linux-uclibc-gcc CFLAGS=-I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include CPPFLAGS=-I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/usr/cross/termcap/include LDFLAGS=-L/home/mudeem/usr/cross/termcap/lib -L/home/mudeem/development/QV15XX_SDK/Linux/QV140X_TOOLS/qv140x/lib build_alias=x86_64-unknown-linux-gnu host_alias=mipsel-linux-uclibc target_alias=mipsel-linux-uclibc --cache-file=.././config.cache --srcdir=../.././gdb/gdbserver
## --------- ##
## Platform. ##
## --------- ##
hostname = Cobra
uname -m = x86_64
uname -r = 2.4.21-37.ELsmp
uname -s = Linux
uname -v = #1 SMP Wed Sep 7 13:32:18 EDT 2005
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/kerberos/bin
PATH: /usr/local/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /home/mudeem/usr/gdb/cross/bin
PATH: /home/mudeem/development/QV15XX_SDK/Linux/QV140X_TOOLS/qv140x/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1209: loading cache .././config.cache
configure:1308: checking for mipsel-linux-uclibc-gcc
configure:1334: result: mipsel-linux-uclibc-gcc
configure:1616: checking for C compiler version
configure:1619: mipsel-linux-uclibc-gcc --version </dev/null >&5
mipsel-linux-uclibc-gcc (GCC) 3.2.2
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:1622: $? = 0
configure:1624: mipsel-linux-uclibc-gcc -v </dev/null >&5
Reading specs from /home/mudeem/development/QV15XX_SDK/Linux/QV140X_TOOLS/qv140x/bin/../lib/gcc-lib/mipsel-linux/3.2.2/specs
Configured with: /home/qv140x/toolchain_build/gcc-3.2.2/configure --target=mipsel-linux --host=i586-pc-linux-gnu --build=i586-pc-linux-gnu --prefix=/home/qv140x/build/staging_dir --exec-prefix=/home/qv140x/build/staging_dir --bindir=/home/qv140x/build/staging_dir/bin --sbindir=/home/qv140x/build/staging_dir/sbin --sysconfdir=/home/qv140x/build/staging_dir/etc --datadir=/home/qv140x/build/staging_dir/share --localstatedir=/home/qv140x/build/staging_dir/var --mandir=/home/qv140x/build/staging_dir/man --infodir=/home/qv140x/build/staging_dir/info --with-local-prefix=/home/qv140x/build/staging_dir/usr/local --libdir=/home/qv140x/build/staging_dir/lib --includedir=/home/qv140x/build/staging_dir/include --with-gxx-include-dir=/home/qv140x/build/staging_dir/include/c++ --oldincludedir=/home/qv140x/build/staging_dir/include --enable-shared --enable-multilib --enable-target-optspace --disable-nls --with-gnu-ld --disable-__cxa_atexit --enable-languages=c,c++ --program-prefix=mipsel-uclibc-
Thread model: posix
gcc version 3.2.2
configure:1627: $? = 0
configure:1629: mipsel-linux-uclibc-gcc -V </dev/null >&5
mipsel-linux-uclibc-gcc: argument to `-V' is missing
configure:1632: $? = 1
configure:1655: checking for C compiler default output file name
configure:1658: mipsel-linux-uclibc-gcc -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/usr/cross/termcap/include -L/home/mudeem/usr/cross/termcap/lib -L/home/mudeem/development/QV15XX_SDK/Linux/QV140X_TOOLS/qv140x/lib conftest.c >&5
configure:1661: $? = 0
configure:1707: result: a.out
configure:1712: checking whether the C compiler works
configure:1738: result: yes
configure:1745: checking whether we are cross compiling
configure:1747: result: yes
configure:1750: checking for suffix of executables
configure:1752: mipsel-linux-uclibc-gcc -o conftest -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/usr/cross/termcap/include -L/home/mudeem/usr/cross/termcap/lib -L/home/mudeem/development/QV15XX_SDK/Linux/QV140X_TOOLS/qv140x/lib conftest.c >&5
configure:1755: $? = 0
configure:1780: result:
configure:1786: checking for suffix of object files
configure:1832: result: o
configure:1836: checking whether we are using the GNU C compiler
configure:1892: result: yes
configure:1898: checking whether mipsel-linux-uclibc-gcc accepts -g
configure:1949: result: yes
configure:1966: checking for mipsel-linux-uclibc-gcc option to accept ANSI C
configure:2073: result: none needed
configure:2091: mipsel-linux-uclibc-gcc -c -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/usr/cross/termcap/include conftest.c >&5
conftest.c:2: parse error before "me"
configure:2097: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:2268: checking build system type
configure:2286: result: x86_64-unknown-linux-gnu
configure:2294: checking host system type
configure:2308: result: mipsel-unknown-linux-uclibc
configure:2316: checking target system type
configure:2330: result: mipsel-unknown-linux-uclibc
configure:2358: checking for a BSD-compatible install
configure:2413: result: /usr/bin/install -c
configure:2445: checking how to run the C preprocessor
configure:2563: result: mipsel-linux-uclibc-gcc -E
configure:2587: mipsel-linux-uclibc-gcc -E -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/usr/cross/termcap/include conftest.c
configure:2593: $? = 0
configure:2625: mipsel-linux-uclibc-gcc -E -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/usr/cross/termcap/include conftest.c
conftest.c:10:28: ac_nonexistent.h: No such file or directory
configure:2631: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define _GNU_SOURCE 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:2675: checking for egrep
configure:2685: result: grep -E
configure:2690: checking for ANSI C header files
configure:2843: result: yes
configure:2868: checking for sys/types.h
configure:2914: result: yes
configure:2868: checking for sys/stat.h
configure:2914: result: yes
configure:2868: checking for stdlib.h
configure:2914: result: yes
configure:2868: checking for string.h
configure:2914: result: yes
configure:2868: checking for memory.h
configure:2914: result: yes
configure:2868: checking for strings.h
configure:2914: result: yes
configure:2868: checking for inttypes.h
configure:2914: result: yes
configure:2868: checking for stdint.h
configure:2914: result: yes
configure:2868: checking for unistd.h
configure:2914: result: yes
configure:2953: checking for sgtty.h
configure:2958: result: yes
configure:2953: checking for termio.h
configure:2958: result: yes
configure:2953: checking for termios.h
configure:2958: result: yes
configure:2953: checking for sys/reg.h
configure:2958: result: no
configure:2953: checking for string.h
configure:2958: result: yes
configure:2953: checking for proc_service.h
configure:2958: result: no
configure:2953: checking for sys/procfs.h
configure:2958: result: yes
configure:2953: checking for thread_db.h
configure:2958: result: yes
configure:2962: checking linux/elf.h usability
configure:2974: mipsel-linux-uclibc-gcc -c -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/usr/cross/termcap/include conftest.c >&5
configure:2980: $? = 0
configure:2984: test -z
|| test ! -s conftest.err
configure:2987: $? = 0
configure:2990: test -s conftest.o
configure:2993: $? = 0
configure:3003: result: yes
configure:3007: checking linux/elf.h presence
configure:3017: mipsel-linux-uclibc-gcc -E -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/usr/cross/termcap/include conftest.c
configure:3023: $? = 0
configure:3043: result: yes
configure:3078: checking for linux/elf.h
configure:3085: result: yes
configure:2953: checking for stdlib.h
configure:2958: result: yes
configure:2953: checking for unistd.h
configure:2958: result: yes
configure:2962: checking errno.h usability
configure:2974: mipsel-linux-uclibc-gcc -c -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/usr/cross/termcap/include conftest.c >&5
configure:2980: $? = 0
configure:2984: test -z
|| test ! -s conftest.err
configure:2987: $? = 0
configure:2990: test -s conftest.o
configure:2993: $? = 0
configure:3003: result: yes
configure:3007: checking errno.h presence
configure:3017: mipsel-linux-uclibc-gcc -E -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/usr/cross/termcap/include conftest.c
configure:3023: $? = 0
configure:3043: result: yes
configure:3078: checking for errno.h
configure:3085: result: yes
configure:2962: checking fcntl.h usability
configure:2974: mipsel-linux-uclibc-gcc -c -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/usr/cross/termcap/include conftest.c >&5
configure:2980: $? = 0
configure:2984: test -z
|| test ! -s conftest.err
configure:2987: $? = 0
configure:2990: test -s conftest.o
configure:2993: $? = 0
configure:3003: result: yes
configure:3007: checking fcntl.h presence
configure:3017: mipsel-linux-uclibc-gcc -E -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/usr/cross/termcap/include conftest.c
configure:3023: $? = 0
configure:3043: result: yes
configure:3078: checking for fcntl.h
configure:3085: result: yes
configure:2953: checking for signal.h
configure:2958: result: yes
configure:2953: checking for sys/file.h
configure:2958: result: yes
configure:2962: checking malloc.h usability
configure:2974: mipsel-linux-uclibc-gcc -c -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/usr/cross/termcap/include conftest.c >&5
configure:2980: $? = 0
configure:2984: test -z
|| test ! -s conftest.err
configure:2987: $? = 0
configure:2990: test -s conftest.o
configure:2993: $? = 0
configure:3003: result: yes
configure:3007: checking malloc.h presence
configure:3017: mipsel-linux-uclibc-gcc -E -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/usr/cross/termcap/include conftest.c
configure:3023: $? = 0
configure:3043: result: yes
configure:3078: checking for malloc.h
configure:3085: result: yes
configure:2953: checking for sys/ioctl.h
configure:2958: result: yes
configure:2962: checking netinet/in.h usability
configure:2974: mipsel-linux-uclibc-gcc -c -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/usr/cross/termcap/include conftest.c >&5
configure:2980: $? = 0
configure:2984: test -z
|| test ! -s conftest.err
configure:2987: $? = 0
configure:2990: test -s conftest.o
configure:2993: $? = 0
configure:3003: result: yes
configure:3007: checking netinet/in.h presence
configure:3017: mipsel-linux-uclibc-gcc -E -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/usr/cross/termcap/include conftest.c
configure:3023: $? = 0
configure:3043: result: yes
configure:3078: checking for netinet/in.h
configure:3085: result: yes
configure:2962: checking sys/socket.h usability
configure:2974: mipsel-linux-uclibc-gcc -c -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/usr/cross/termcap/include conftest.c >&5
configure:2980: $? = 0
configure:2984: test -z
|| test ! -s conftest.err
configure:2987: $? = 0
configure:2990: test -s conftest.o
configure:2993: $? = 0
configure:3003: result: yes
configure:3007: checking sys/socket.h presence
configure:3017: mipsel-linux-uclibc-gcc -E -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/usr/cross/termcap/include conftest.c
configure:3023: $? = 0
configure:3043: result: yes
configure:3078: checking for sys/socket.h
configure:3085: result: yes
configure:2962: checking netdb.h usability
configure:2974: mipsel-linux-uclibc-gcc -c -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/usr/cross/termcap/include conftest.c >&5
configure:2980: $? = 0
configure:2984: test -z
|| test ! -s conftest.err
configure:2987: $? = 0
configure:2990: test -s conftest.o
configure:2993: $? = 0
configure:3003: result: yes
configure:3007: checking netdb.h presence
configure:3017: mipsel-linux-uclibc-gcc -E -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/usr/cross/termcap/include conftest.c
configure:3023: $? = 0
configure:3043: result: yes
configure:3078: checking for netdb.h
configure:3085: result: yes
configure:2962: checking netinet/tcp.h usability
configure:2974: mipsel-linux-uclibc-gcc -c -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/usr/cross/termcap/include conftest.c >&5
configure:2980: $? = 0
configure:2984: test -z
|| test ! -s conftest.err
configure:2987: $? = 0
configure:2990: test -s conftest.o
configure:2993: $? = 0
configure:3003: result: yes
configure:3007: checking netinet/tcp.h presence
configure:3017: mipsel-linux-uclibc-gcc -E -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/usr/cross/termcap/include conftest.c
configure:3023: $? = 0
configure:3043: result: yes
configure:3078: checking for netinet/tcp.h
configure:3085: result: yes
configure:2962: checking arpa/inet.h usability
configure:2974: mipsel-linux-uclibc-gcc -c -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/usr/cross/termcap/include conftest.c >&5
configure:2980: $? = 0
configure:2984: test -z
|| test ! -s conftest.err
configure:2987: $? = 0
configure:2990: test -s conftest.o
configure:2993: $? = 0
configure:3003: result: yes
configure:3007: checking arpa/inet.h presence
configure:3017: mipsel-linux-uclibc-gcc -E -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/usr/cross/termcap/include conftest.c
configure:3023: $? = 0
configure:3043: result: yes
configure:3078: checking for arpa/inet.h
configure:3085: result: yes
configure:2953: checking for sys/wait.h
configure:2958: result: yes
configure:3104: checking for pread
configure:3161: mipsel-linux-uclibc-gcc -o conftest -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/usr/cross/termcap/include -L/home/mudeem/usr/cross/termcap/lib -L/home/mudeem/development/QV15XX_SDK/Linux/QV140X_TOOLS/qv140x/lib conftest.c >&5
configure:3167: $? = 0
configure:3171: test -z
|| test ! -s conftest.err
configure:3174: $? = 0
configure:3177: test -s conftest
configure:3180: $? = 0
configure:3192: result: yes
configure:3104: checking for pwrite
configure:3161: mipsel-linux-uclibc-gcc -o conftest -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/usr/cross/termcap/include -L/home/mudeem/usr/cross/termcap/lib -L/home/mudeem/development/QV15XX_SDK/Linux/QV140X_TOOLS/qv140x/lib conftest.c >&5
configure:3167: $? = 0
configure:3171: test -z
|| test ! -s conftest.err
configure:3174: $? = 0
configure:3177: test -s conftest
configure:3180: $? = 0
configure:3192: result: yes
configure:3104: checking for pread64
configure:3192: result: yes
configure:3204: checking for errno
configure:3225: mipsel-linux-uclibc-gcc -o conftest -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/usr/cross/termcap/include -L/home/mudeem/usr/cross/termcap/lib -L/home/mudeem/development/QV15XX_SDK/Linux/QV140X_TOOLS/qv140x/lib conftest.c >&5
configure:3231: $? = 0
configure:3235: test -z
|| test ! -s conftest.err
configure:3238: $? = 0
configure:3241: test -s conftest
configure:3244: $? = 0
configure:3246: result: yes - in errno.h
configure:3321: checking whether strerror is declared
configure:3375: result: yes
configure:3391: checking whether perror is declared
configure:3415: mipsel-linux-uclibc-gcc -c -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/usr/cross/termcap/include conftest.c >&5
configure:3421: $? = 0
configure:3425: test -z
|| test ! -s conftest.err
configure:3428: $? = 0
configure:3431: test -s conftest.o
configure:3434: $? = 0
configure:3445: result: yes
configure:3464: checking for socklen_t
configure:3521: result: yes
configure:3666: checking for PTRACE_GETREGS
configure:3687: mipsel-linux-uclibc-gcc -c -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/usr/cross/termcap/include conftest.c >&5
configure:3693: $? = 0
configure:3697: test -z
|| test ! -s conftest.err
configure:3700: $? = 0
configure:3703: test -s conftest.o
configure:3706: $? = 0
configure:3718: result: yes
configure:3728: checking for PTRACE_GETFPXREGS
configure:3749: mipsel-linux-uclibc-gcc -c -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/usr/cross/termcap/include conftest.c >&5
configure:3755: $? = 0
configure:3759: test -z
|| test ! -s conftest.err
configure:3762: $? = 0
configure:3765: test -s conftest.o
configure:3768: $? = 0
configure:3780: result: yes
configure:3792: checking for lwpid_t in sys/procfs.h
configure:3854: result: yes
configure:3857: checking for psaddr_t in sys/procfs.h
configure:3919: result: yes
configure:3922: checking for prgregset_t in sys/procfs.h
configure:3984: result: yes
configure:3987: checking for elf_fpregset_t in sys/procfs.h
configure:4010: mipsel-linux-uclibc-gcc -c -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/usr/cross/termcap/include conftest.c >&5
configure:4016: $? = 0
configure:4020: test -z
|| test ! -s conftest.err
configure:4023: $? = 0
configure:4026: test -s conftest.o
configure:4029: $? = 0
configure:4049: result: yes
configure:4059: checking for libthread_db
configure:4090: mipsel-linux-uclibc-gcc -o conftest -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/usr/cross/termcap/include -L/home/mudeem/usr/cross/termcap/lib -L/home/mudeem/development/QV15XX_SDK/Linux/QV140X_TOOLS/qv140x/lib conftest.c -lthread_db >&5
/home/mudeem/development/QV15XX_SDK/Linux/QV140X_TOOLS/qv140x/bin/../lib/gcc-lib/mipsel-linux/3.2.2/../../../../mipsel-linux/bin/ld: cannot find -lthread_db
collect2: ld returned 1 exit status
configure:4096: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define _GNU_SOURCE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SGTTY_H 1
| #define HAVE_TERMIO_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_PROCFS_H 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_LINUX_ELF_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_TCP_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_PREAD 1
| #define HAVE_PWRITE 1
| #define HAVE_PREAD64 1
| #define HAVE_ERRNO 1
| #define HAVE_DECL_STRERROR 1
| #define HAVE_DECL_PERROR 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_LINUX_USRREGS 1
| #define HAVE_LINUX_REGSETS 1
| #define HAVE_PTRACE_GETREGS 1
| #define HAVE_PTRACE_GETFPXREGS 1
| #define HAVE_LWPID_T 1
| #define HAVE_PSADDR_T 1
| #define HAVE_PRGREGSET_T 1
| #define HAVE_ELF_FPREGSET_T 1
| /* end confdefs.h. */
| void ps_pglobal_lookup() {}
| void ps_pdread() {}
| void ps_pdwrite() {}
| void ps_lgetregs() {}
| void ps_lsetregs() {}
| void ps_lgetfpregs() {}
| void ps_lsetfpregs() {}
| void ps_get_thread_area() {}
| void ps_getpid() {}
| int
| main ()
| {
| td_ta_new();
| ;
| return 0;
| }
configure:4148: mipsel-linux-uclibc-gcc -o conftest -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/usr/cross/termcap/include -L/home/mudeem/usr/cross/termcap/lib -L/home/mudeem/development/QV15XX_SDK/Linux/QV140X_TOOLS/qv140x/lib conftest.c /home/mudeem/development/QV15XX_SDK/Linux/QV140X_TOOLS/qv140x/lib/libthread_db.so.1 >&5
mipsel-linux-uclibc-gcc: /home/mudeem/development/QV15XX_SDK/Linux/QV140X_TOOLS/qv140x/lib/libthread_db.so.1: No such file or directory
configure:4154: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define _GNU_SOURCE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SGTTY_H 1
| #define HAVE_TERMIO_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_PROCFS_H 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_LINUX_ELF_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_TCP_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_PREAD 1
| #define HAVE_PWRITE 1
| #define HAVE_PREAD64 1
| #define HAVE_ERRNO 1
| #define HAVE_DECL_STRERROR 1
| #define HAVE_DECL_PERROR 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_LINUX_USRREGS 1
| #define HAVE_LINUX_REGSETS 1
| #define HAVE_PTRACE_GETREGS 1
| #define HAVE_PTRACE_GETFPXREGS 1
| #define HAVE_LWPID_T 1
| #define HAVE_PSADDR_T 1
| #define HAVE_PRGREGSET_T 1
| #define HAVE_ELF_FPREGSET_T 1
| /* end confdefs.h. */
| void ps_pglobal_lookup() {}
| void ps_pdread() {}
| void ps_pdwrite() {}
| void ps_lgetregs() {}
| void ps_lsetregs() {}
| void ps_lgetfpregs() {}
| void ps_lsetfpregs() {}
| void ps_get_thread_area() {}
| void ps_getpid() {}
| int
| main ()
| {
| td_ta_new();
| ;
| return 0;
| }
configure:4185: result: no
configure:4188: WARNING: Could not find libthread_db.
configure:4190: WARNING: Disabling thread support in gdbserver.
configure:4280: mipsel-linux-uclibc-gcc -o conftest -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/usr/cross/termcap/include -L/home/mudeem/usr/cross/termcap/lib -L/home/mudeem/development/QV15XX_SDK/Linux/QV140X_TOOLS/qv140x/lib -rdynamic conftest.c >&5
configure:4286: $? = 0
configure:4290: test -z
|| test ! -s conftest.err
configure:4293: $? = 0
configure:4296: test -s conftest
configure:4299: $? = 0
configure:4510: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by config.status, which was
generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on Cobra
config.status:674: creating Makefile
config.status:771: creating config.h
config.status:1125: executing default commands
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_build_alias=x86_64-unknown-linux-gnu
ac_cv_c_bigendian=no
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_c_inline=inline
ac_cv_env_CC_set=set
ac_cv_env_CC_value=mipsel-linux-uclibc-gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value=-I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value='-I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/usr/cross/termcap/include'
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-L/home/mudeem/usr/cross/termcap/lib -L/home/mudeem/development/QV15XX_SDK/Linux/QV140X_TOOLS/qv140x/lib'
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-unknown-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=mipsel-linux-uclibc
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=mipsel-linux-uclibc
ac_cv_exeext=
ac_cv_func__mcleanup=no
ac_cv_func_alloca_works=yes
ac_cv_func_canonicalize_file_name=no
ac_cv_func_fork=yes
ac_cv_func_fork_works=yes
ac_cv_func_getgid=yes
ac_cv_func_getpagesize=yes
ac_cv_func_getrusage=yes
ac_cv_func_getuid=yes
ac_cv_func_mmap_fixed_mapped=no
ac_cv_func_monstartup=no
ac_cv_func_poll=yes
ac_cv_func_pread=yes
ac_cv_func_pread64=yes
ac_cv_func_pwrite=yes
ac_cv_func_realpath=yes
ac_cv_func_sbrk=yes
ac_cv_func_setpgid=yes
ac_cv_func_setpgrp=yes
ac_cv_func_setpgrp_void=yes
ac_cv_func_sigaction=yes
ac_cv_func_sigprocmask=yes
ac_cv_func_sigsetmask=yes
ac_cv_func_socketpair=yes
ac_cv_func_syscall=yes
ac_cv_func_ttrace=no
ac_cv_func_vfork=yes
ac_cv_func_vfork_works=yes
ac_cv_func_wborder=no
ac_cv_func_wctype=yes
ac_cv_have_decl_free=yes
ac_cv_have_decl_getopt=yes
ac_cv_have_decl_malloc=yes
ac_cv_have_decl_perror=yes
ac_cv_have_decl_ptrace=yes
ac_cv_have_decl_realloc=yes
ac_cv_have_decl_snprintf=yes
ac_cv_have_decl_strerror=yes
ac_cv_have_decl_strstr=yes
ac_cv_have_decl_vsnprintf=yes
ac_cv_have_x='have_x=yes ac_x_includes=/usr/X11R6/include ac_x_libraries=/usr/X11R6/lib'
ac_cv_header_arpa_inet_h=yes
ac_cv_header_ctype_h=yes
ac_cv_header_cursesX_h=no
ac_cv_header_curses_h=no
ac_cv_header_dirent_dirent_h=yes
ac_cv_header_elf_hp_h=no
ac_cv_header_errno_h=yes
ac_cv_header_fcntl_h=yes
ac_cv_header_gnu_libc_version_h=no
ac_cv_header_inttypes_h=yes
ac_cv_header_libunwind_h=no
ac_cv_header_libunwind_ia64_h=no
ac_cv_header_link_h=yes
ac_cv_header_linux_elf_h=yes
ac_cv_header_machine_reg_h=no
ac_cv_header_malloc_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_ncurses_h=no
ac_cv_header_ncurses_ncurses_h=no
ac_cv_header_ncurses_term_h=no
ac_cv_header_netdb_h=yes
ac_cv_header_netinet_in_h=yes
ac_cv_header_netinet_tcp_h=yes
ac_cv_header_nlist_h=no
ac_cv_header_poll_h=yes
ac_cv_header_proc_service_h=no
ac_cv_header_pthread_h=yes
ac_cv_header_ptrace_h=no
ac_cv_header_sgtty_h=yes
ac_cv_header_signal_h=yes
ac_cv_header_stat_broken=no
ac_cv_header_stdc=yes
ac_cv_header_stddef_h=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_debugreg_h=no
ac_cv_header_sys_fault_h=no
ac_cv_header_sys_file_h=yes
ac_cv_header_sys_filio_h=no
ac_cv_header_sys_ioctl_h=yes
ac_cv_header_sys_param_h=yes
ac_cv_header_sys_poll_h=yes
ac_cv_header_sys_proc_h=no
ac_cv_header_sys_procfs_h=yes
ac_cv_header_sys_ptrace_h=yes
ac_cv_header_sys_reg_h=no
ac_cv_header_sys_resource_h=yes
ac_cv_header_sys_select_h=yes
ac_cv_header_sys_socket_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_syscall_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_sys_user_h=yes
ac_cv_header_sys_wait_h=yes
ac_cv_header_term_h=no
ac_cv_header_termio_h=yes
ac_cv_header_termios_h=yes
ac_cv_header_thread_db_h=yes
ac_cv_header_time_h=yes
ac_cv_header_unistd_h=yes
ac_cv_header_vfork_h=no
ac_cv_header_wait_h=yes
ac_cv_host=mipsel-unknown-linux-uclibc
ac_cv_host_alias=mipsel-linux-uclibc
ac_cv_lib_m_main=yes
ac_cv_libexpat=no
ac_cv_member_struct_reg_r_fs=no
ac_cv_member_struct_reg_r_gs=no
ac_cv_member_struct_stat_st_blksize=no
ac_cv_member_struct_stat_st_blocks=no
ac_cv_member_struct_thread_td_pcb=no
ac_cv_objext=o
ac_cv_prog_AR=mipsel-linux-uclibc-ar
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=mipsel-linux-uclibc-gcc
ac_cv_prog_CPP='mipsel-linux-uclibc-gcc -E'
ac_cv_prog_DLLTOOL=mipsel-linux-uclibc-dlltool
ac_cv_prog_RANLIB=mipsel-linux-uclibc-ranlib
ac_cv_prog_WINDRES=mipsel-linux-uclibc-windres
ac_cv_prog_YACC='bison -y'
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_egrep='grep -E'
ac_cv_search_dlgetmodinfo=no
ac_cv_search_gethostbyname='none required'
ac_cv_search_opendir='none required'
ac_cv_search_socketpair='none required'
ac_cv_search_strerror='none required'
ac_cv_search_tgetent=-ltermcap
ac_cv_search_waddstr=no
ac_cv_target=mipsel-unknown-linux-uclibc
ac_cv_target_alias=mipsel-linux-uclibc
ac_cv_type_int_fast32_t=yes
ac_cv_type_int_least32_t=yes
ac_cv_type_pid_t=yes
ac_cv_type_signal=void
ac_cv_type_socklen_t=yes
ac_cv_type_u_int64_t=no
ac_cv_type_uint64_t=yes
ac_cv_type_uintmax_t=yes
ac_cv_type_uintptr_t=yes
ac_cv_var__etext=yes
ac_cv_var_etext=yes
ac_cv_working_alloca_h=yes
acl_cv_hardcode_direct=no
acl_cv_hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
acl_cv_hardcode_libdir_separator=
acl_cv_hardcode_minus_L=no
acl_cv_libext=a
acl_cv_path_LD=/home/mudeem/development/QV15XX_SDK/Linux/QV140X_TOOLS/qv140x/bin/../lib/gcc-lib/mipsel-linux/3.2.2/../../../../mipsel-linux/bin/ld
acl_cv_prog_gnu_ld=yes
acl_cv_rpath=done
acl_cv_shlibext=so
acl_cv_wl=-Wl,
acx_cv_header_stdint=stdint.h
acx_cv_header_stdint_kind='(already complete)'
am_cv_func_iconv='no, consider installing GNU libiconv'
am_cv_lib_iconv=no
am_cv_prog_cc_stdc=
bfd_cv_have_sys_procfs_type_elf_fpregset_t=yes
bfd_cv_have_sys_procfs_type_fpregset_t=yes
bfd_cv_have_sys_procfs_type_gregset_t=yes
bfd_cv_have_sys_procfs_type_lwpid_t=yes
bfd_cv_have_sys_procfs_type_pr_sigaction64_t=no
bfd_cv_have_sys_procfs_type_pr_siginfo64_t=no
bfd_cv_have_sys_procfs_type_pr_sigset_t=no
bfd_cv_have_sys_procfs_type_prfpregset32_t=no
bfd_cv_have_sys_procfs_type_prfpregset_t=yes
bfd_cv_have_sys_procfs_type_prgregset32_t=no
bfd_cv_have_sys_procfs_type_prgregset_t=yes
bfd_cv_have_sys_procfs_type_prrun_t=no
bfd_cv_have_sys_procfs_type_prsysent_t=no
bfd_cv_have_sys_procfs_type_psaddr_t=yes
bfd_cv_have_sys_procfs_type_pstatus_t=no
gdb_cv_c_long_double=yes
gdb_cv_c_long_long=yes
gdb_cv_func_ptrace_args=int,int,long,long
gdb_cv_func_ptrace_ret=long
gdb_cv_func_sigsetjmp=yes
gdb_cv_have_gnu_regex=yes
gdb_cv_have_procfs_piocset=no
gdb_cv_have_pt_getdbregs=no
gdb_cv_have_pt_getxmmregs=no
gdb_cv_have_ptrace_getfpxregs=yes
gdb_cv_have_ptrace_getregs=yes
gdb_cv_have_struct_link_map32=no
gdb_cv_have_struct_link_map_with_l_members=yes
gdb_cv_have_struct_link_map_with_lm_members=no
gdb_cv_have_struct_so_map_with_som_members=no
gdb_cv_os_cygwin=no
gdb_cv_prfpregset_t_broken=yes
gdb_cv_printf_has_decfloat=no
gdb_cv_printf_has_long_double=no
gdb_cv_printf_has_long_long=no
gdb_cv_scanf_has_long_double=no
gdb_cv_struct_lwp=no
gdb_cv_struct_reg=no
gdb_cv_sys_syscall_h_has_tkill=yes
gdb_cv_thread_db_h_has_td_notalloc=no
gdb_cv_thread_db_h_has_td_notls=no
gdb_cv_thread_db_h_has_td_version=no
gdb_cv_var_elf=no
gdbsrv_cv_have_ptrace_getfpxregs=yes
gdbsrv_cv_have_ptrace_getregs=yes
srv_cv_thread_db=no
## ----------------- ##
## Output variables. ##
## ----------------- ##
CC='mipsel-linux-uclibc-gcc'
CFLAGS='-I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include'
CPP='mipsel-linux-uclibc-gcc -E'
CPPFLAGS='-I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include -I/home/mudeem/usr/cross/termcap/include'
DEFS='-DHAVE_CONFIG_H'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
EXEEXT=''
GDBSERVER_DEPFILES='mips-linux.o linux-low.o linux-mips-low.o hostio-errno.o '
GDBSERVER_LIBS=''
INSTALL_DATA='/usr/bin/install -c -m 644'
INSTALL_PROGRAM='/usr/bin/install -c'
INSTALL_SCRIPT='/usr/bin/install -c'
LDFLAGS='-L/home/mudeem/usr/cross/termcap/lib -L/home/mudeem/development/QV15XX_SDK/Linux/QV140X_TOOLS/qv140x/lib'
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RDYNAMIC='-rdynamic'
SHELL='/bin/sh'
USE_THREAD_DB=''
ac_ct_CC=''
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias='x86_64-unknown-linux-gnu'
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${prefix}/share'
exec_prefix='${prefix}'
host='mipsel-unknown-linux-uclibc'
host_alias='mipsel-linux-uclibc'
host_cpu='mipsel'
host_os='linux-uclibc'
host_vendor='unknown'
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='/home/mudeem/development/QV15XX_SDK/Linux/QV140X_TOOLS/qv140x'
program_transform_name='s,y,y,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
srv_xmlbuiltin='xml-builtin.o'
srv_xmlfiles='target.xml $(XML_DIR)/mips-cpu.xml $(XML_DIR)/mips-cp0.xml $(XML_DIR)/mips-fpu.xml'
srv_xmltarget='$(XML_DIR)/mips-linux.xml'
sysconfdir='${prefix}/etc'
target='mipsel-unknown-linux-uclibc'
target_alias='mipsel-linux-uclibc'
target_cpu='mipsel'
target_os='linux-uclibc'
target_vendor='unknown'
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define HAVE_ARPA_INET_H 1
#define HAVE_DECL_PERROR 1
#define HAVE_DECL_STRERROR 1
#define HAVE_ELF_FPREGSET_T 1
#define HAVE_ERRNO 1
#define HAVE_ERRNO_H 1
#define HAVE_FCNTL_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_LINUX_ELF_H 1
#define HAVE_LINUX_REGSETS 1
#define HAVE_LINUX_USRREGS 1
#define HAVE_LWPID_T 1
#define HAVE_MALLOC_H 1
#define HAVE_MEMORY_H 1
#define HAVE_NETDB_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_PREAD 1
#define HAVE_PREAD64 1
#define HAVE_PRGREGSET_T 1
#define HAVE_PSADDR_T 1
#define HAVE_PTRACE_GETFPXREGS 1
#define HAVE_PTRACE_GETREGS 1
#define HAVE_PWRITE 1
#define HAVE_SGTTY_H 1
#define HAVE_SIGNAL_H 1
#define HAVE_SOCKLEN_T 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_PROCFS_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_TERMIO_H 1
#define HAVE_THREAD_DB_H 1
#define HAVE_UNISTD_H 1
#define HAVE_UNISTD_H 1
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define STDC_HEADERS 1
#define USE_XML 1
#define _GNU_SOURCE 1
configure: exit 0
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by config.status, which was
generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS = config.h:config.in
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on Cobra
config.status:771: creating config.h
config.status:967: config.h is unchanged
config.status:1125: executing default commands
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: debugging multi threaded application
2008-05-10 1:45 ` Mudeem Siddiqui
@ 2008-05-10 7:43 ` Andreas Schwab
2008-05-12 18:44 ` Mudeem Siddiqui
0 siblings, 1 reply; 7+ messages in thread
From: Andreas Schwab @ 2008-05-10 7:43 UTC (permalink / raw)
To: Mudeem Siddiqui; +Cc: Michael Snyder, gdb
"Mudeem Siddiqui" <mudeem@quartics.com> writes:
> In my lib directory, I do have libthread_db but with slightly different
> name i.e libthread_db.so.0 and libthread_db-0.9.21.so. Attached Is
> config.log for the reference. What can I do to get this thing working :)
How did you set up the cross tools? You are missing the link from
libthread_db.so to one of these files. The linker looks for
libthread_db.so and libthread_db.a, but no other file.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, MaxfeldstraÃe 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: debugging multi threaded application
2008-05-10 7:43 ` Andreas Schwab
@ 2008-05-12 18:44 ` Mudeem Siddiqui
0 siblings, 0 replies; 7+ messages in thread
From: Mudeem Siddiqui @ 2008-05-12 18:44 UTC (permalink / raw)
To: Andreas Schwab; +Cc: Michael Snyder, gdb
Hi Andreas,
Actually the tool chain was already compiled and I wasn't involved in it. Is there a way to check if uclibc was compiled with debugable thread support.
Regards
Mudeem
-----Original Message-----
From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf Of Andreas Schwab
Sent: Saturday, May 10, 2008 12:44 AM
To: Mudeem Siddiqui
Cc: Michael Snyder; gdb@sourceware.org
Subject: Re: debugging multi threaded application
"Mudeem Siddiqui" <mudeem@quartics.com> writes:
> In my lib directory, I do have libthread_db but with slightly
> different name i.e libthread_db.so.0 and libthread_db-0.9.21.so.
> Attached Is config.log for the reference. What can I do to get this
> thing working :)
How did you set up the cross tools? You are missing the link from libthread_db.so to one of these files. The linker looks for libthread_db.so and libthread_db.a, but no other file.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-05-12 18:44 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-08 1:16 debugging multi threaded application Mudeem Siddiqui
2008-05-08 2:22 ` Daniel Jacobowitz
2008-05-08 18:46 ` Michael Snyder
2008-05-09 20:05 ` Mudeem Siddiqui
2008-05-10 1:45 ` Mudeem Siddiqui
2008-05-10 7:43 ` Andreas Schwab
2008-05-12 18:44 ` Mudeem Siddiqui
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox