[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [netbsd-6] src/external/gpl3/gdb/dist/gdb
Module Name: src
Committed By: riz
Date: Mon Feb 18 18:24:00 UTC 2013
src/external/gpl3/gdb/dist/gdb [netbsd-6]: nbsd-thread.c
Pull up following revision(s) (requested by martin in ticket #828):
external/gpl3/gdb/dist/gdb/nbsd-thread.c: revision 1.17
When searching for an active thread (e.g. right after switching to threaded
mode), if no lwp is signaled, just stay with the current (inferior_ptid.lwp).
This fixes gdb -p to a threaded process with all threads active.
Previously we eroneously restored an lwp of 0 (returned as sentinel from
ptrace) to inferior_ptid.lwp, which then would not match any thread in
thread_list and caused assertion failures.
To generate a diff of this commit:
cvs rdiff -u -r18.104.22.168 -r22.214.171.124 src/external/gpl3/gdb/dist/gdb/nbsd-thread.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |