threads/74370: Cannot get lwp 0 registers in gdb

Alexander Nedotsukov bland at FreeBSD.org
Thu Nov 25 05:10:28 PST 2004


>Number:         74370
>Category:       threads
>Synopsis:       Cannot get lwp 0 registers in gdb
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-threads
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 25 13:10:28 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Nedotsukov
>Release:        5.3-STABLE, 6-CURRENT
>Organization:
>Environment:
FreeBSD nest.bbnest.net 6.0-CURRENT FreeBSD 6.0-CURRENT #1: Fri Nov 19 23:03:42 JST 2004     bland at nest.bbnest.net:/usr/obj/usr/src/sys/NEST  i386
>Description:
      For any program linked against libpthread gdb unable to continue execution after stop-on-solib-event.
>How-To-Repeat:
$gdb ./a.out
(gdb) set stop-on-solib-events 1
(gdb) r
Starting program: /usr/home/bland/a.out
[Switching to LWP 100092]
Stopped due to shared library event
(gdb) c
Continuing.
Cannot get lwp 0 registers: Operation not permitted

>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-threads mailing list