| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=132016
|
|
|
|
|
|
|
|
|
| |
computing the io statistics over and over not as expensive.
This is a bit of a cop out, as I should just allocate a struct with
the computed values, but this will do for now.
Notes:
svn path=/head/; revision=132015
|
|
|
|
| |
Notes:
svn path=/head/; revision=132014
|
|
|
|
|
|
|
| |
ng_socket list during insert/delete.
Notes:
svn path=/head/; revision=132013
|
|
|
|
|
|
|
|
| |
it hasn't even been implemented yet. I just wanted to be the first
to try a new approach to development ;-)
Notes:
svn path=/head/; revision=132012
|
|
|
|
|
|
|
|
|
| |
pmap_remove_pages() is an optimization, its implementation is optional.
Discussed with: grehan
Notes:
svn path=/head/; revision=132011
|
|
|
|
| |
Notes:
svn path=/head/; revision=132010
|
|
|
|
| |
Notes:
svn path=/head/; revision=132009
|
|
|
|
|
|
|
|
|
| |
LC_CTYPE and LC_COLLATE to correctly interpret regular expressions
returned by nl_langinfo(YESEXPR), and it doesn't hurt to include the
rest.
Notes:
svn path=/head/; revision=132008
|
|
|
|
| |
Notes:
svn path=/head/; revision=132007
|
|
|
|
|
|
|
|
|
|
| |
without NODOCS.
PR: ports/68153
Submitted by: Dmitry Morozovsky <marck@rinet.ru>
Notes:
svn path=/head/; revision=132006
|
|
|
|
| |
Notes:
svn path=/head/; revision=132005
|
|
|
|
| |
Notes:
svn path=/head/; revision=132004
|
|
|
|
|
|
|
| |
formats and remove some outdated comments about library limitations.
Notes:
svn path=/head/; revision=132003
|
|
|
|
|
|
|
|
|
|
|
|
| |
more generic, but that didn't actually happen. Since the feature to
switch backends (and historically this means from DDB to GDB) is
important, make sure people can do just that until such the generic
mechanism actually sees the light of day.
Suggested by: rwatson@
Notes:
svn path=/head/; revision=132002
|
|
|
|
|
|
|
|
|
| |
changing the backend from outside the KDB frontend. For example from
within a backend. Rewrite kdb_sysctl_current to make use of this
function as well.
Notes:
svn path=/head/; revision=132001
|
|
|
|
|
|
|
| |
Submitted by: fox@vader.aacc.cc.md.us
Notes:
svn path=/head/; revision=132000
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in soreceive() after removing an MT_SONAME mbuf from the head of the
socket buffer.
When processing MT_CONTROL mbufs in soreceive(), first remove all of
the MT_CONTROL mbufs from the head of the socket buffer to a local
mbuf chain, then feed them into dom_externalize() as a set, which
both avoids thrashing the socket buffer lock when handling multiple
control mbufs, and also avoids races with other threads acting on
the socket buffer when the socket buffer mutex is released to enter
the externalize code. Existing races that might occur if the protocol
externalize method blocked during processing have also been closed.
Now that we synchronize socket buffer and stack state following
modifications to the socket buffer, turn the manual synchronization
that previously followed control mbuf processing with a set of
assertions. This can eventually be removed.
The soreceive() code is now substantially more MPSAFE.
Notes:
svn path=/head/; revision=131999
|
|
|
|
| |
Notes:
svn path=/head/; revision=131998
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the head of the mbuf chains in a socket buffer, re-synchronizes the
cache pointers used to optimize socket buffer appends. This will be
used by soreceive() before dropping socket buffer mutexes to make sure
a consistent version of the socket buffer is visible to other threads.
While here, update copyright to account for substantial rewrite of much
socket code required for fine-grained locking.
Notes:
svn path=/head/; revision=131997
|
|
|
|
| |
Notes:
svn path=/head/; revision=131996
|
|
|
|
|
|
|
| |
IANA's official list of port assignments.
Notes:
svn path=/head/; revision=131994
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
locking on 'nextrecord' and concerns regarding potentially inconsistent
or stale use of socket buffer or stack fields if they aren't carefully
synchronized whenever the socket buffer mutex is released. Document
that the high-level sblock() prevents races against other readers on
the socket.
Also document the 'type' logic as to how soreceive() guarantees that
it will only return one of normal data or inline out-of-band data.
Notes:
svn path=/head/; revision=131993
|
|
|
|
|
|
|
|
|
| |
This also fixes the (runtime) breakage introduced in the previous
commit that was the result of a botched merge. This hasn't even
been compile-tested...
Notes:
svn path=/head/; revision=131992
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a problem that could also be fixed differently without reverting previous
attempts to fix DELAY while the debugger is active (rev 1.204). The bug
was that the i8254 implements a countdown timer, while for (k)db_active
a countup timer was implemented. This resulted in premature termination
and consequently the breakage of DELAY. The fix (relative to rev 1.211)
is to implement a countdown timer for the kdb_active case. As such the
ability to step clock initialization is preserved and DELAY does what is
expected of it.
Blushed: bde :-)
Submitted by: bde
Notes:
svn path=/head/; revision=131991
|
|
|
|
| |
Notes:
svn path=/head/; revision=131990
|
|
|
|
| |
Notes:
svn path=/head/; revision=131989
|
|
|
|
|
|
|
| |
generate funky web pages from it.
Notes:
svn path=/head/; revision=131988
|
|
|
|
| |
Notes:
svn path=/head/; revision=131987
|
|
|
|
| |
Notes:
svn path=/head/; revision=131986
|
|
|
|
|
|
|
|
| |
Remove redundant include file, <sys/kernel.h>, and clean up the function
list at the top with the addition of a "Sx utility macro" section.
Notes:
svn path=/head/; revision=131985
|
|
|
|
|
|
|
|
| |
using sx_cnt to determine what state the lock is in and call the respective
function appropriately.
Notes:
svn path=/head/; revision=131984
|
|
|
|
|
|
|
| |
comment them out.
Notes:
svn path=/head/; revision=131983
|
|
|
|
|
|
|
|
|
|
| |
name in the debug.kdb.current sysctl. All other dereferences are
properly guarded, but this one was overlooked.
Reported by: Morten Rodal (morten at rodal dot no)
Notes:
svn path=/head/; revision=131982
|
|
|
|
|
|
|
| |
Move dtrwait logic to the generic TTY level.
Notes:
svn path=/head/; revision=131981
|
|
|
|
|
|
|
| |
Noticed by: simon
Notes:
svn path=/head/; revision=131980
|
|
|
|
| |
Notes:
svn path=/head/; revision=131979
|
|
|
|
| |
Notes:
svn path=/head/; revision=131978
|
|
|
|
| |
Notes:
svn path=/head/; revision=131977
|
|
|
|
| |
Notes:
svn path=/head/; revision=131976
|
|
|
|
|
|
|
| |
Noticed by: Andre Guibert de Bruet <andy@siliconlandmark.com>
Notes:
svn path=/head/; revision=131975
|
|
|
|
|
|
|
|
| |
remove some superfluous assignments for .d_version/.d_flags in a cdevsw
structure initialisation that never sees the light of day in FreeBSD.
Notes:
svn path=/head/; revision=131974
|
|
|
|
|
|
|
| |
unused character category calculations.
Notes:
svn path=/head/; revision=131973
|
|
|
|
|
|
|
|
|
|
|
| |
o __FreeBSD_version bumped to 502122
o Alpha console initialization requires the same sio(4) hints as on
other platforms. Options NO_SIO and DEV_SC removed.
o KDB framework: Added KDB and GDB; Renamed WITNESS_DDB, DDB_TRACE
DDB_UNATTENDED. Removed GDB_REMOTE_CHAT and DDB_NOKLDSYM.
Notes:
svn path=/head/; revision=131972
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Sources that are shared between kernel and userland and that may
contain references to DDB or any of its functions may need to
know this.
o Userland tools may include <machine/gdb_machdep.h> from now on.
Think kernel debugger...
o The kernel core file now contains the TID of the kernel thread
that made the dump.
Notes:
svn path=/head/; revision=131971
|
|
|
|
| |
Notes:
svn path=/head/; revision=131970
|
|
|
|
|
|
|
| |
to be. Both DDB and GDB specify which KDB backends to include.
Notes:
svn path=/head/; revision=131969
|
|
|
|
|
|
|
|
|
| |
we also need to have the right sio(4) flags:
sio0: flags=0x10 so that it will be console.
sio1: flags=0x80 so that it can be used as debug port.
Notes:
svn path=/head/; revision=131968
|
|
|
|
|
|
|
| |
to be. Both DDB and GDB specify which KDB backends to include.
Notes:
svn path=/head/; revision=131967
|
|
|
|
| |
Notes:
svn path=/head/; revision=131966
|