Re: NPTL thread support

J. Johnston
2003-05-12T19:24:19Z

H.J.,

Can you confirm that configuration set HAVE_TKILL_SYSCALL to 1
in config.h? Can you also confirm that the value: tkill_failed in
lin-lwp.c is not set to true when running the debugger?

-- Jeff J.

H. J. Lu wrote:
> On Fri, May 09, 2003 at 12:31:42PM -0400, Elena Zannoni wrote:
>
>>All the patches have been posted by Jeff Johnston to the gdb-patches list.
>>I think in the last 2 months or so. They should still apply cleanly.
>>
>>If you try them, could you post to the list how it went?
>>
>>elena
>>
>
>
> I tried those patches. Gdb compiled ok. But "make check" never finished
> under RedHat 9. I got
>
> FAIL: gdb.asm/asm-source.exp: x/i globalvar (memory read error)
> FAIL: gdb.base/selftest.exp: step into xmalloc call
> FAIL: gdb.java/jmisc.exp: setting breakpoint at jmisc.main
> FAIL: gdb.java/jmisc.exp: ptype jmisc
> FAIL: gdb.java/jmisc.exp: p args
> FAIL: gdb.java/jmisc.exp: p *args
> FAIL: gdb.java/jmisc1.exp: ptype jmisc
> FAIL: gdb.java/jmisc2.exp: ptype jmisc
> FAIL: gdb.mi/mi-var-display.exp: get children local variable weird
> FAIL: gdb.mi/mi1-var-display.exp: get children local variable weird
> FAIL: gdb.objc/basicclass.exp: breakpoint method
> FAIL: gdb.objc/basicclass.exp: breakpoint method with colon
> FAIL: gdb.objc/basicclass.exp: breakpoint class method with colon
> FAIL: gdb.objc/basicclass.exp: continue until method breakpoint
> FAIL: gdb.objc/basicclass.exp: resetting breakpoints when rerunning
> FAIL: gdb.objc/basicclass.exp: continue until method breakpoint
> FAIL: gdb.objc/basicclass.exp: print an ivar of self
> FAIL: gdb.objc/basicclass.exp: print self
> FAIL: gdb.objc/basicclass.exp: print contents of self
> FAIL: gdb.objc/basicclass.exp: breakpoint in category method
> FAIL: gdb.objc/basicclass.exp: continue until category method
> FAIL: gdb.objc/basicclass.exp: Call an Objective-C method with no arguments
> FAIL: gdb.objc/basicclass.exp: Call an Objective-C method with one argument
> FAIL: gdb.objc/basicclass.exp: Use of the print-object command
> FAIL: gdb.objc/basicclass.exp: Use of the po (print-object) command
> FAIL: gdb.threads/gcore-thread.exp: thread 2 is running (timeout)
> FAIL: gdb.threads/gcore-thread.exp: save a corefile (timeout)
> FAIL: gdb.threads/gcore-thread.exp: re-load generated corefile (file not found)
> FAIL: gdb.threads/killed.exp: GDB exits after multi-threaded program exits messily (timeout)
> FAIL: gdb.threads/linux-dp.exp: (timeout) create philosopher: 1
> FAIL: gdb.threads/linux-dp.exp: continue to breakpoint: about to create philosopher: 2 (timeout)
> FAIL: gdb.threads/linux-dp.exp: (timeout) create philosopher: 2
> FAIL: gdb.threads/linux-dp.exp: continue to breakpoint: about to create philosopher: 3 (timeout)
> FAIL: gdb.threads/linux-dp.exp: (timeout) create philosopher: 3
> FAIL: gdb.threads/linux-dp.exp: continue to breakpoint: about to create philosopher: 4 (timeout)
> FAIL: gdb.threads/linux-dp.exp: (timeout) create philosopher: 4
> FAIL: gdb.threads/linux-dp.exp: list linux-dp.c:1,1 (timeout)
> FAIL: gdb.threads/linux-dp.exp: find line number containing "linuxthreads.exp: info threads 2" (timeout)
> FAIL: gdb.threads/linux-dp.exp: setting breakpoint at -1 (timeout)
> FAIL: gdb.threads/linux-dp.exp: continue to breakpoint: main thread's sleep (timeout)
> FAIL: gdb.threads/linux-dp.exp: info threads 2 (timeout)
> FAIL: gdb.threads/linux-dp.exp: setting breakpoint at print_philosopher thread 5 (timeout)
> FAIL: gdb.threads/linux-dp.exp: continue to breakpoint: thread 5's print (timeout)
> FAIL: gdb.threads/linux-dp.exp: first thread-specific breakpoint hit (timeout)
> FAIL: gdb.threads/linux-dp.exp: continue to breakpoint: thread 5's print, pass: 0 (timeout)
> FAIL: gdb.threads/linux-dp.exp: thread-specific breakpoint is thread-specific (timeout)
> FAIL: gdb.threads/linux-dp.exp: selected thread: 1 (timeout)
> FAIL: gdb.threads/linux-dp.exp: philosopher is distinct: 1 (timeout)
> FAIL: gdb.threads/linux-dp.exp: selected thread: 2 (timeout)
> FAIL: gdb.threads/linux-dp.exp: philosopher is distinct: 2 (timeout)
> FAIL: gdb.threads/linux-dp.exp: selected thread: 3 (timeout)
> FAIL: gdb.threads/linux-dp.exp: philosopher is distinct: 3 (timeout)
> FAIL: gdb.threads/linux-dp.exp: selected thread: 4 (timeout)
> FAIL: gdb.threads/linux-dp.exp: philosopher is distinct: 4 (timeout)
> FAIL: gdb.threads/linux-dp.exp: selected thread: 5 (timeout)
> FAIL: gdb.threads/linux-dp.exp: philosopher is distinct: 5 (timeout)
> FAIL: gdb.threads/linux-dp.exp: selected thread: 6 (timeout)
> FAIL: gdb.threads/linux-dp.exp: philosopher is distinct: 6 (timeout)
> FAIL: gdb.threads/linux-dp.exp: found an interesting thread
> FAIL: gdb.threads/print-threads.exp: Running threads (slow) (timeout)
> FAIL: gdb.threads/print-threads.exp: Running threads (slow with kill breakpoint) (timeout)
> FAIL: gdb.threads/pthreads.exp: Continue to creation of second thread (timeout)
> FAIL: gdb.threads/pthreads.exp: set var common_routine::hits=0 (timeout)
> FAIL: gdb.threads/pthreads.exp: set var common_routine::from_thread1=0 (timeout)
> FAIL: gdb.threads/pthreads.exp: set var common_routine::from_thread2=0 (timeout)
> FAIL: gdb.threads/pthreads.exp: set var common_routine::from_main=0 (timeout)
> FAIL: gdb.threads/pthreads.exp: set var common_routine::full_coverage=0 (timeout)
> FAIL: gdb.threads/pthreads.exp: disable (timeout)
> FAIL: gdb.threads/pthreads.exp: tbreak common_routine if hits >= 15 (timeout)
> FAIL: gdb.threads/pthreads.exp: continue until common routine run 15 times
>
> and the lat 2 lines in gdb.log are
>
> FAIL: gdb.threads/pthreads.exp: continue until common routine run 15 times
> PASS: gdb.threads/pthreads.exp: Continue with all threads running
>
>
>
> H.J.
>