History log of /openbsd/share/man/man4/ddb.4 (Results 1 – 25 of 110)
Revision Date Author Comments
# f1f9609d 21-Dec-2024 jsg <jsg@openbsd.org>

ddb was not part of Mach until 3.0

"The Mach kernel has a builtin kernel debugger (kdb) based on adb"
Mach: A New Kernel Foundation For UNIX Development, USENIX Summer 1986

"The new kernel debugger

ddb was not part of Mach until 3.0

"The Mach kernel has a builtin kernel debugger (kdb) based on adb"
Mach: A New Kernel Foundation For UNIX Development, USENIX Summer 1986

"The new kernel debugger has most of the features of the old kdb, but
with a more rational (gdb-like) syntax."
Mach 3.0 (mk83), ddb.man

Mark W. Eichin explains how ddb came to be in 386BSD 0.1 in
a June 1992 post to comp.unix.bsd
https://groups.google.com/g/comp.unix.bsd/c/LY3hbHwjdG0/m/ca1hS0Hp5HcJ

show more ...


# 812b3703 14-Oct-2024 jmc <jmc@openbsd.org>

remove notes about unsupported modifiers; from nir lichtman
confirmed by miod


# 64a93525 05-Sep-2024 bluhm <bluhm@openbsd.org>

In ddb(4) print mbuf chain and packet list.

For debugging hardware offloading, DMA requirements, bounce buffers,
and performance optimizations, knowing the memory layout of mbuf
content helps.
Imple

In ddb(4) print mbuf chain and packet list.

For debugging hardware offloading, DMA requirements, bounce buffers,
and performance optimizations, knowing the memory layout of mbuf
content helps.
Implement /c and /p modifiers in ddb show mbuf. It traverses the
pointer m_next for mbuf chain or m_nextpkt for packet list. Show
mbuf type, data offset, mbuf length, packet length, cluster size,
and total number of elements, length and size.

OK claudio@ mvs@

show more ...


# 66b8375c 05-Feb-2024 jmc <jmc@openbsd.org>

remove /f from "show buf", which was used for softdep info
and is no longer relevant after softdep removal;

confirmed by miod


# 722f4583 19-Sep-2023 claudio <claudio@openbsd.org>

Document the new 'show proc /t TID' way of showing a proc via thread id.


# 881f6c5f 22-Dec-2022 kn <kn@openbsd.org>

Denote multiple arguments with 'arg ...' not 'args'

A few programs used the plural in their synopsis which doesn't read as
clear as the obvious triple-dot notation.

mdoc(7) .Ar defaults to "file ..

Denote multiple arguments with 'arg ...' not 'args'

A few programs used the plural in their synopsis which doesn't read as
clear as the obvious triple-dot notation.

mdoc(7) .Ar defaults to "file ..." if no arguments are given and consistent
use of 'arg ...' matches that behaviour.

Cleanup a few markups of the same argument so the text keeps reading
naturally; omit unhelpful parts like 'if optional arguments are given,
they are passed along' for tools like time(1) and timeout(1) that obviously
execute commands with whatever arguments where given -- just like doas(1)
which doesn't mention arguments in its DESCRIPTION in the first place.

For expr(1) the difference between 'expressions' and 'expression ...' is
crucial, as arguments must be passed as individual words.

Feedback millert jmc schwarze deraadt
OK jmc

show more ...


# d32639f6 11-Sep-2022 jmc <jmc@openbsd.org>

.Li -> .Vt where appropriate;
from josiah frentsos, tweaked by schwarze

ok schwarze


# 02de433d 29-Jul-2022 semarie <semarie@openbsd.org>

Replace the swap extent(9) usage by a blist data structure.

It makes uvm_swap_free() faster: extents have a cost of O(n*n) which doesn't
really scale with gigabytes of swap.

Based on initial work f

Replace the swap extent(9) usage by a blist data structure.

It makes uvm_swap_free() faster: extents have a cost of O(n*n) which doesn't
really scale with gigabytes of swap.

Based on initial work from mpi@
The blist implementation comes from DragonFlyBSD.

The diff adds also a ddb(4) 'show swap' command to show the blist and help
debugging, and fix some off-by-one in size printed during hibernate.

ok mpi@

show more ...


# d06d27a7 28-Jul-2022 bluhm <bluhm@openbsd.org>

In the kernel exist functions to print routes, but they were not
accessible from ddb. Implement "show all routes" to print routing
tables, and "show route 0xfffffd807e9b0000" for a single route
entr

In the kernel exist functions to print routes, but they were not
accessible from ddb. Implement "show all routes" to print routing
tables, and "show route 0xfffffd807e9b0000" for a single route
entry. Note that the rtable id is not part of a route entry, so
it makes no sense to print it there.
OK deraadt@

show more ...


# 41ce3b17 31-Mar-2022 naddy <naddy@openbsd.org>

man pages: add missing commas between subordinate and main clauses

jmc@ dislikes a comma before "then" in a conditional, so leave those
untouched.

ok jmc@


# 50eb7ec0 16-Nov-2021 bluhm <bluhm@openbsd.org>

To debug IPsec and tdb refcounting it is useful to have "show tdb"
and "show all tdbs" in ddb.
tested by Hrvoje Popovski; OK mvs@


# a108f33e 26-Oct-2020 deraadt <deraadt@openbsd.org>

add a top-level "reboot" command, for people who keep forgetting "boot reboot"
ok kn


# d6967805 17-Jun-2020 sthen <sthen@openbsd.org>

ddb(4); be explicit that the parameter to trace /t uses the radix
prefix, and show how to use 0t for decimal (slight duplication from
the table in EXPRESSIONS but easier for the reader than sending t

ddb(4); be explicit that the parameter to trace /t uses the radix
prefix, and show how to use 0t for decimal (slight duplication from
the table in EXPRESSIONS but easier for the reader than sending them
off to look in a different part of the manual). ok mpi claudio jmc

show more ...


# a6a2abb0 17-May-2020 anton <anton@openbsd.org>

Add missing definition tags to abbreviated commands. As an example,
makes it possible to jump to the examine command from within $PAGER.

ok kn@ schwarze@


# 7c8c9e97 14-May-2020 mpi <mpi@openbsd.org>

Use '/t' on all architectures to get a trace via TID.

ok sthen@, patrick@


# dc534cd0 06-Dec-2019 jmc <jmc@openbsd.org>

replace links to uvm(9) to uvm_init(9); ok mpi


# dd5075a3 29-Aug-2019 kn <kn@openbsd.org>

Stop mentioning unsupported #number argument for break command

There is no code for addressing breakpoints by numbers at all.


# b8d57873 19-May-2018 jmc <jmc@openbsd.org>

correct the description of "print"; from artturi alm
ok mpi


# 5f9f78f5 29-Nov-2017 anton <anton@openbsd.org>

missing Sx; ok jmc@


# a00d4ff8 29-Sep-2017 mpi <mpi@openbsd.org>

New ddb(4) command: kill.

Send an uncatchable SIGABRT to the process specified by the pid
argument. Useful in case of CPU exhaustion to kill the DoSing
process and generate a core for later inspect

New ddb(4) command: kill.

Send an uncatchable SIGABRT to the process specified by the pid
argument. Useful in case of CPU exhaustion to kill the DoSing
process and generate a core for later inspection.

ok phessler@, visa@, kettenis@, miod@

show more ...


# 23cb5759 12-Sep-2017 mpi <mpi@openbsd.org>

option DDB_STRUCT is gone, 'show struct' now work in GENERIC.


# a49ac1da 14-Aug-2017 jmc <jmc@openbsd.org>

sort SEE ALSO;


# 2b6c37f3 14-Aug-2017 uwe <uwe@openbsd.org>

Restore "print" in ddb; add "pp[rint]" for pretty-printing

Changing the "print" command to use db_ctf_pprint_cmd() broke all documented
uses and "examine" does not allow printing variables, or indiv

Restore "print" in ddb; add "pp[rint]" for pretty-printing

Changing the "print" command to use db_ctf_pprint_cmd() broke all documented
uses and "examine" does not allow printing variables, or individual registers.

For now it is better to leave the "print" command intact, and in sync with the
ddb(4) man page, but we still want "pp[rint]" to replace the "print" command
when it works better.

ok mpi@

show more ...


# da28f17e 01-May-2017 mpi <mpi@openbsd.org>

Fewer kgdb(7) references and fix previous.

Pointed by jmc@


# 20421d3a 22-Apr-2017 visa <visa@openbsd.org>

Shuffle bits into their proper files.

Prompted by jmc@


12345