Subject: CVS commit: [nathanw_sa] gnusrc/gnu/dist/toolchain/gdb
To: None <source-changes@netbsd.org>
From: Nathan J Williams <nathanw@netbsd.org>
List: source-changes
Date: 10/01/2002 23:48:26
Module Name: gnusrc
Committed By: nathanw
Date: Tue Oct 1 20:48:25 UTC 2002
Modified Files:
gnusrc/gnu/dist/toolchain/gdb [nathanw_sa]: nbsd-thread.c
Log Message:
* nbsd_core_open(): grab the PID from the BFD structure, iterate
over the .reg* BFD sections to create a LWP->thread mapping,
and call nbsd_find_new_threads() so that the list is set up
(it's not as if a core dump is going to create any new ones).
* nbsd_thread_proc_getregs(): use the LWP ID and main_pid to construct
an inferior_pid value that will cause registers to be fetched from
the right BFD section for the LWP.
To generate a diff of this commit:
cvs rdiff -r1.1.2.2 -r1.1.2.3 gnusrc/gnu/dist/toolchain/gdb/nbsd-thread.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.