This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Does today's gdb compile on Linux?



I mananged to compile it under the glibc 2.1.3 in CVS. But thread
debugging doesn't work:

# gdb linuxthreads/ex1
(gdb) r
Starting program: /work/build/gnu/bin/glibc-2.1/linuxthreads/ex1 
[New Thread 1024 (runnable)]

Nothing happened. When I typed "Ctrl-C", I got

thread_db: map_id2thr failed: invalid thread handle
(gdb) bt
#0  0x2aafa2e9 in __sigsuspend (set=0x7ffff75c)
    at ../sysdeps/unix/sysv/linux/sigsuspend.c:48
#1  0x2aacfcc7 in __pthread_wait_for_restart_signal (self=0x2aad7840)
    at pthread.c:744
#2  0x2aacf4d9 in __pthread_create_2_1 (thread=0x7ffff8c8, attr=0x0, 
    start_routine=0x8048520 <process>, arg=0x80486ad) at restart.h:26
#3  0x8048583 in main () at Examples/ex1.c:26
#4  0x2aaf4371 in __libc_start_main (main=0x8048568 <main>, argc=1, 
    argv=0x7ffff934, init=0x804838c <_init>, fini=0x8048674 <_fini>, 
    rtld_fini=0x2aab5c04 <_dl_fini>, stack_end=0x7ffff92c)
    at ../sysdeps/generic/libc-start.c:92
(gdb) 




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]