+set debug libthread-db 1 +set auto-load safe-path /home/bold/base/glibc-2.36/compile/nptl_db +set libthread-db-search-path /home/bold/base/glibc-2.36/compile/nptl_db +attach 15009 [New LWP 15010] BFD: /home/bold/base/glibc-2.36/compile/nptl/tst-pthread-gdb-attach-static: unknown type [0x13] section `.relr.dyn' Trying host libthread_db library: /home/bold/base/glibc-2.36/compile/nptl_db/libthread_db.so.1. td_ta_new failed: generic error thread_db_load_search returning 0 Trying host libthread_db library: /home/bold/base/glibc-2.36/compile/nptl_db/libthread_db.so.1. [Thread debugging using libthread_db enabled] Using host libthread_db library "/home/bold/base/glibc-2.36/compile/nptl_db/libthread_db.so.1". thread_db_load_search returning 1 0x00007f7108944d0d in __futex_abstimed_wait_common64 (private=, cancel=true, abstime=, op=, expected=15010, futex_word=) at futex-internal.c:57 57 return INTERNAL_SYSCALL_CANCEL (futex_time64, futex_word, op, expected, +break debugger_inspection_point Breakpoint 1 at 0x88c95d0: file tst-pthread-gdb-attach.c, line 126. +continue [Switching to Thread 0x7f71088c66c0 (LWP 15010)] Thread 2 "tst-pthread-gdb" hit Breakpoint 1, debugger_inspection_point () at tst-pthread-gdb-attach.c:126 126 { +thread 1 [Switching to thread 1 (Thread 0x7f71089ae380 (LWP 15009))] #0 0x00007f7108944d0d in __futex_abstimed_wait_common64 (private=, cancel=true, abstime=, op=, expected=15010, futex_word=) at futex-internal.c:57 57 return INTERNAL_SYSCALL_CANCEL (futex_time64, futex_word, op, expected, +print altered_by_debugger /tmp/tst-pthread-gdb-attach-kqWILN:9: Error in sourced command file: Cannot access memory at address 0x89ae340 [Inferior 1 (process 15009) detached] tst-pthread-gdb-attach.c:229: numeric comparison failure left: 256 (0x100); from: status right: 0 (0x0); from: 0 error: 1 test failures