History log of /dragonfly/sys/ddb/db_command.c (Results 1 – 25 of 26)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v6.2.1, v6.2.0, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0, v5.8.3, v5.8.2, v5.8.1, v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3, v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2, v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1, v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc
# 6f25fdab 14-Feb-2018 Sascha Wildner <saw@online.de>

ddb: Some minor adjustments.


# 8d0b962d 03-Feb-2018 zrj <rimvydas.jasinskas@gmail.com>

ddb(4): Remove use of deprecated "%r" radix format.

Use internal helpers like for "%z" to print numbers.

Taken-from: NetBSD (with adaptations by swildner)


# abfdbc2b 05-Dec-2017 Matthew Dillon <dillon@apollo.backplane.com>

kernel - add 'i' command to ddb

* Add the 'i' command, which just issues a cpu_invltlb() on the
current cpu. Useful when testing MMU/PMAP issues.


Revision tags: v5.0.2, v5.0.1, v5.0.0, v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1, v4.8.0, v4.6.2, v4.9.0, v4.8.0rc
# f773a7d8 25-Oct-2016 zrj <rimvydas.jasinskas@gmail.com>

kernel/ddb: Fix type mismatch in different objects.

Found while playing with LTO.

While there, use true/false types from <sys/types.h>.


Revision tags: v4.6.1, v4.6.0, v4.6.0rc2, v4.6.0rc, v4.7.0, v4.4.3, v4.4.2
# adf0eb4f 15-Dec-2015 Matthew Dillon <dillon@apollo.backplane.com>

kernel - Change where dump context is saved

* Save the dump context a little earlier in the panic to improve
chances that post-morten kgdb can print the stack backtrace.

* Use a function union fo

kernel - Change where dump context is saved

* Save the dump context a little earlier in the panic to improve
chances that post-morten kgdb can print the stack backtrace.

* Use a function union for variable arguments calls from ddb>

show more ...


Revision tags: v4.4.1, v4.4.0, v4.5.0, v4.4.0rc, v4.2.4
# 09c0e0d6 31-Jul-2015 Sascha Wildner <saw@online.de>

kernel: Add prototypes for setjmp()/longjmp() to <sys/systm.h>.

Used by ddb and vinum. Remove the inclusion of the <setjmp.h> userspace
header.


Revision tags: v4.3.1
# ce7866b8 14-Jul-2015 Matthew Dillon <dillon@apollo.backplane.com>

kernel - Fix live lock in vfs_conf.c mountroot>

* The mountroot> prompt calls cngetc() to process user input. However, this
function hard loops and can prevent other kernel threads from running o

kernel - Fix live lock in vfs_conf.c mountroot>

* The mountroot> prompt calls cngetc() to process user input. However, this
function hard loops and can prevent other kernel threads from running on
the current cpu.

* Rearrange the code to use cncheckc() and a 1/25 second tsleep().

* Fix a bug in the syscons code where NOKEY was not being properly returned
as documented. Modify all use cases to handle NOKEY. This allows us to
differentiate between a keyboard present but not key pressed and a keyboard
not present.

* Pull the automatic polling mode code out of cncheckc() (or more precisely,
out of sccncheckc()) and add a new cnpoll() API function to set it manually.

This fixes issues in vfs_conf when normal keyboard processing interrupts
are operational and cncheckc() is used with a tsleep() delay. The normal
processing interrupt wound up eating the keystrokes so the cncheckc()
basically always failed.

cncheckc() in general also always had a small window of opportunity where
a keystroke could be lost due loops on it.

* Call cnpoll() in various places, such as when entering the debugger,
asking for input in vfs_conf, and a few other places.

show more ...


Revision tags: v4.2.3, v4.2.1, v4.2.0, v4.0.6, v4.3.0, v4.2.0rc
# 60d79925 04-May-2015 Sascha Wildner <saw@online.de>

kernel/ddb: Use NULL for pointers.


Revision tags: v4.0.5, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v4.0.0rc3, v4.0.0rc2, v4.0.0rc, v4.1.0, v3.8.2, v3.8.1, v3.6.3, v3.8.0, v3.8.0rc2, v3.9.0, v3.8.0rc, v3.6.2, v3.6.1, v3.6.0, v3.7.1, v3.6.0rc, v3.7.0
# 3734708d 05-Sep-2013 Sascha Wildner <saw@online.de>

kernel/ddb: Fix formatting when printing command tables.

FreeBSD's r163134:

Fixed formatting of printing of command tables. With the default max
output width of 79, only 6 columns of width 12 each

kernel/ddb: Fix formatting when printing command tables.

FreeBSD's r163134:

Fixed formatting of printing of command tables. With the default max
output width of 79, only 6 columns of width 12 each fit, but 7 columns
were printed.

The fix is to pass the width of the next output to db_end_line() and
not assume there that this width is always 1.

Related unfixed bugs:
- 1 character is wasted for a space after the last column
- suppression of trailing spaces used to limit the misformatting, but
seems to have been lost
- in db_examine(), the width of the next output is not known and is
still assumed to be 1.

Taken-from: FreeBSD

show more ...


Revision tags: v3.4.3, v3.4.2, v3.4.0, v3.4.1, v3.4.0rc, v3.5.0, v3.2.2, v3.2.1, v3.2.0, v3.3.0, v3.0.3, v3.0.2, v3.0.1, v3.1.0, v3.0.0
# 4090d6ff 03-Jan-2012 Sascha Wildner <saw@online.de>

kernel: Use NULL for pointers.


# 35efc471 19-Dec-2011 Sascha Wildner <saw@online.de>

kernel: Shuffle some initialization around to avoid forward declarations.


# 86d7f5d3 26-Nov-2011 John Marino <draco@marino.st>

Initial import of binutils 2.22 on the new vendor branch

Future versions of binutils will also reside on this branch rather
than continuing to create new binutils branches for each new version.


Revision tags: v2.12.0, v2.13.0, v2.10.1, v2.11.0, v2.10.0, v2.9.1, v2.8.2, v2.8.1, v2.8.0, v2.9.0, v2.6.3, v2.7.3, v2.6.2, v2.7.2, v2.7.1, v2.6.1, v2.7.0, v2.6.0, v2.5.1, v2.4.1, v2.5.0, v2.4.0
# d557216f 20-Aug-2009 Matthew Dillon <dillon@apollo.backplane.com>

Fix numerous compiler warnings and format conversion specifiers.


Revision tags: v2.3.2, v2.3.1, v2.2.1
# 60233e58 05-Apr-2009 Sascha Wildner <saw@online.de>

Generally use NULL instead of explicitly casting 0 to some pointer type.


Revision tags: v2.2.0, v2.3.0, v2.1.1, v2.0.1
# ce81f184 07-May-2007 Matthew Dillon <dillon@dragonflybsd.org>

Changes to consdev - low level kernel console initialization.

The consdev API was calling make_dev() extremely early in the boot sequence,
but except for a little code in syscons didn't really need

Changes to consdev - low level kernel console initialization.

The consdev API was calling make_dev() extremely early in the boot sequence,
but except for a little code in syscons didn't really need the abstraction
to operate the kernel console during boot.

Change the consdev API to no longer require the use the device abstraction
to operate. This will allow the device ABI (cdev_t) to be converted to
use SYSREF.

show more ...


# b13267a5 10-Sep-2006 Matthew Dillon <dillon@dragonflybsd.org>

Change the kernel dev_t, representing a pointer to a specinfo structure,
to cdev_t. Change struct specinfo to struct cdev. The name 'cdev' was taken
from FreeBSD. Remove the dev_t shim for the ker

Change the kernel dev_t, representing a pointer to a specinfo structure,
to cdev_t. Change struct specinfo to struct cdev. The name 'cdev' was taken
from FreeBSD. Remove the dev_t shim for the kernel.

This commit generally removes the overloading of 'dev_t' between userland and
the kernel.

Also fix a bug in libkvm where a kernel dev_t (now cdev_t) was not being
properly converted to a userland dev_t.

show more ...


# 5711af4f 09-Sep-2006 Matthew Dillon <dillon@dragonflybsd.org>

Rename the kernel NODEV to NOCDEV to avoid conflicts with the userland NODEV.


# 2c9702b2 23-Dec-2005 Sascha Wildner <swildner@dragonflybsd.org>

* Ansify function definitions.

* Remove (void) casts for discarded return values.


# a1a0f8a3 14-Jun-2005 Joerg Sonnenberger <joerg@dragonflybsd.org>

static != extern


# 337d8b07 12-Feb-2005 Eirik Nygaard <eirikn@dragonflybsd.org>

Allow numbers to be used after a letter in the modifier section after a
command.


# dc62b251 10-Nov-2003 Matthew Dillon <dillon@dragonflybsd.org>

Fully synchronize sys/boot from FreeBSD-5.x, but add / to the module path
so /kernel will be found and loaded instead of /boot/kernel. This will
give us all the capabilities of the FreeBSD-5 boot co

Fully synchronize sys/boot from FreeBSD-5.x, but add / to the module path
so /kernel will be found and loaded instead of /boot/kernel. This will
give us all the capabilities of the FreeBSD-5 boot code including AMD64 and
ELF64 support.

As part of this work, rather then try to adjust ufs/fs.h and friends to get
UFS2 info I instead copied the fs.h and friends from FreeBSD-5 into the
sys/boot subtree

Additionally, import Peter Wemm's linker set improvements from FreeBSD-5.x.
They happen to be compatible with GCC 2.95.x and it allows very few changes
to be made to the boot code.

Additionally import a number of other elements from FreeBSD-5 including
sys/diskmbr.h separation.

show more ...


# 43c0ece6 27-Aug-2003 Robert Garrett <rob@dragonflybsd.org>

remove __P


# 6bd9bbba 28-Jul-2003 Hiten Pandya <hmp@dragonflybsd.org>

DDB updates:

- add 'where' as an alias to 'trace'
- add db_print_backtrace() and backtrace() (machine-dependant)
- add 'reset' command


# ad0290bd 26-Jul-2003 Robert Garrett <rob@dragonflybsd.org>

Register keyword removal

Approved by: Matt Dillon


# 1de703da 17-Jun-2003 Matthew Dillon <dillon@dragonflybsd.org>

Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids. Most
ids have been removed from !lint sections and moved into comment sections.


12