|
Re: Re: remote gdb makefile? (building gdb to use with gdbserver): msg#00106lib.uclibc.general
On Mon Mar 10, 2003 at 02:44:24PM -0800, David Wuertele wrote: > >> configure: warning: Could not find libthread_db. > >> configure: warning: Disabling thread support in gdbserver. > >> > >> I looked for libthread* in the toolchain but didn't find it. Is this > >> something that I can enable? > > Erik> You need to enable PTHREADS_DEBUG_SUPPORT in uClibc'c .config > > this is what I had already in buildroot/sources/uClibc.config: > > UCLIBC_HAS_THREADS=y > PTHREADS_DEBUG_SUPPORT=y > > Is there somewhere else? I just tracked this one down. I had only tested with DODEBUG enabled. Well it turns out I was being a bit overzealous at stripping libpthread when DODEBUG was disabled, which unfortunately prevented PTHREADS_DEBUG_SUPPORT from working. Care to try again with the latest and greatest uClibc? gdb needs to be linked vs uClibc so it can dlopen uClibc's libthread_db which allows it to debug libpthread, -Erik -- Erik B. Andersen http://codepoet-consulting.com/ --This message was written using 73% post-consumer electrons-- |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Error in newly checked in file: 00106, Erik Andersen |
|---|---|
| Next by Date: | Re: Quest for missing symbols: __gxx_personality_v0 solved, __fixdfsi not: 00106, David Wuertele |
| Previous by Thread: | Re: remote gdb makefile? (building gdb to use with gdbserver)i: 00106, David Wuertele |
| Next by Thread: | Re: remote gdb makefile? (building gdb to use with gdbserver): 00106, David Wuertele |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |