freebsd-skq/sys
Marcel Moolenaar fbc3247d81 Implement the PT_LWPINFO request. This request can be used by the
tracing process to obtain information about the LWP that caused the
traced process to stop. Debuggers can use this information to select
the thread currently running on the LWP as the current thread.

The request has been made compatible with NetBSD for as much as
possible. This implementation differs from NetBSD in the following
ways:
1.  The data argument is allowed to be smaller than the size of the
    ptrace_lwpinfo structure known to the kernel, but not 0. This
    is opposite to what NetBSD allows. The reason for this is that
    we can extend the structure without affecting older binaries.
2.  On NetBSD the tracing process is to set the pl_lwpid field to
    the Id of the LWP it wants information of. We don't do that.
    Our ptrace interface allows passing the LWP Id instead of the
    PID. The tracing process is to set the PID to the LWP Id it
    wants information of.
3.  When the PID is actually the PID of the tracing process, this
    request returns the information about the LWP that caused the
    process to stop. This was the whole purpose of the request in
    the first place.

When the traced process has exited, this request will return the
LWP Id 0, indicating that the process state is not the result of
an event specific to a LWP.
2004-07-12 05:07:50 +00:00
..
alpha Now that the console setup is identical to that on other platforms, 2004-07-11 03:07:28 +00:00
amd64 MFi386: rev 1.213 -- fix DELAY while the debugger is active. 2004-07-11 18:07:55 +00:00
arm Define NSFBUFS and use it. 2004-07-08 21:03:35 +00:00
boot Change the following environment variables to kernel options: 2004-07-08 22:35:36 +00:00
cam Update for the KDB framework: 2004-07-10 20:56:43 +00:00
coda When we traverse the vnodes on a mountpoint we need to look out for 2004-07-04 08:52:35 +00:00
compat Make NdisReadPcmciaAttributeMemory() and NdisWritePcmciaAttributeMemory() 2004-07-11 00:19:30 +00:00
conf Update for the KDB framework: 2004-07-11 01:44:07 +00:00
contrib Clean up a bunch of white-space difference with IPFilter source as well as 2004-07-11 10:13:05 +00:00
crypto Use __FBSDID(). 2004-06-14 00:38:54 +00:00
ddb Re-add the gdb command. It was removed to be replaced by something 2004-07-12 01:38:07 +00:00
dev Until I'm ready to commit the better pccard probe/attach routines, effectively 2004-07-11 16:01:25 +00:00
doc Experimental support for using doxygen to generate kernel documentation. 2004-07-11 16:13:57 +00:00
fs Update for the KDB framework: 2004-07-10 21:21:13 +00:00
gdb Introduce the GDB debugger backend for the new KDB framework. The 2004-07-10 17:47:22 +00:00
geom Implement "FAST" mode for GEOM_STRIPE class and turn it on by default. 2004-07-09 14:30:09 +00:00
gnu Update for the KDB framework: 2004-07-10 21:21:55 +00:00
i4b Catch up with the new world order of Netgraph metas. 2004-07-06 06:43:45 +00:00
i386 Partially revert previous commit. Calling getit() unconditionally fixed 2004-07-11 17:50:59 +00:00
ia64 Add options KDB and GDB. KDB takes on the function of what DDB used 2004-07-11 03:20:09 +00:00
isa Partially revert previous commit. Calling getit() unconditionally fixed 2004-07-11 17:50:59 +00:00
isofs/cd9660 Remove "register" keyword and trailing white space. 2004-07-03 16:56:45 +00:00
kern Implement the PT_LWPINFO request. This request can be used by the 2004-07-12 05:07:50 +00:00
libkern Import libkern arm specific bits. 2004-05-14 12:28:31 +00:00
modules Build uart_dbg.c for remote GDB support. 2004-07-10 23:01:35 +00:00
net Use ETHER_IS_MULTICAST() consistently in ether_resolvemulti(). 2004-07-09 05:26:27 +00:00
net80211 Link ALTQ to the build and break with ABI for struct ifnet. Please recompile 2004-06-13 17:29:10 +00:00
netatalk Remove spl's from netatalk in preparation to merge locking. 2004-07-12 04:33:58 +00:00
netatm The socket field so_state is used to hold a variety of socket related 2004-06-14 18:16:22 +00:00
netgraph Introduce a global mtx 'ngsocketlist_mtx' to protect the global 2004-07-12 04:45:46 +00:00
netinet Change the following environment variables to kernel options: 2004-07-08 22:35:36 +00:00
netinet6 Link ALTQ to the build and break with ABI for struct ifnet. Please recompile 2004-06-13 17:29:10 +00:00
netipsec Add required includes for post-sorwakeup() change to fix FAST_IPSEC 2004-06-23 01:58:22 +00:00
netipx Acquire the receive socket buffer lock when modifying out-of-band 2004-06-24 04:29:53 +00:00
netkey Merge next step in socket buffer locking: 2004-06-21 00:20:43 +00:00
netnatm Constify send and receive space constants in natm. 2004-06-24 03:11:29 +00:00
netncp Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
netsmb Merge additional socket buffer locking from rwatson_netperf: 2004-06-17 22:48:11 +00:00
nfs Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
nfs4client Change the following environment variables to kernel options: 2004-07-08 22:35:36 +00:00
nfsclient Change the following environment variables to kernel options: 2004-07-08 22:35:36 +00:00
nfsserver Change M_WAITOK argument to sodupsockaddr() to M_NOWAIT. When the call 2004-07-03 19:17:06 +00:00
opencrypto Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
pc98 Introduce ttygone() which indicates that the hardware is detached. 2004-07-11 15:18:39 +00:00
pccard Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
pci Update for the KDB framework: 2004-07-10 21:47:53 +00:00
posix4
powerpc pmap_remove_pages() must not remove wired mappings. Since 2004-07-12 04:40:26 +00:00
rpc Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
security Update for the KDB framework: 2004-07-10 21:47:53 +00:00
sparc64 The SC_DISABLE_DDBKEY options has been renamed to SC_DISABLE_KDBKEY. 2004-07-11 03:21:24 +00:00
sys Implement the PT_LWPINFO request. This request can be used by the 2004-07-12 05:07:50 +00:00
tools Pass doxygen doc comments through to the output. 2004-07-11 16:14:24 +00:00
ufs Update for the KDB debugger framework: 2004-07-10 20:45:47 +00:00
vm Increase the scope of the page queues lock in vm_page_alloc() to cover 2004-07-10 22:12:49 +00:00
Makefile Try harder not to compile anything in sys/boot for arm. 2004-05-16 00:19:12 +00:00