summaryrefslogtreecommitdiff
path: root/sys/ddb
AgeCommit message (Collapse)Author
2007-11-14Be consistent in db_cmd_loop_done declaration.Miod Vallat
2007-11-05temporary ddb buffers need to be a bit larger on 64 bit systems to cope withMiod Vallat
some radix configurations.
2007-10-06Use db_printf instead of printf, to prevent problems with lockingMark Kettenis
kprintf_mutex in the early stages of booting. ok miod@ (a while ago)
2007-09-13A few %n/%r/%z format strings were missed, convert these to db_format().Miod Vallat
2007-09-01Use db_format() instead of ddb-specific format specifiers; no functionalMiod Vallat
change inteded. ok ray@
2007-06-04Ten lines of backtrace should be better on 25-line screens, so that the panicMiod Vallat
message is still visible.
2007-06-04If it's cold at panic time, attempt to show a small backtrace, there are tooMiod Vallat
many machines where glass console does not work correctly at this stage. By popular demand...
2007-03-15Disable x/q functionnality on 32bit platforms, because the examination codeMiod Vallat
is not supposed to work on values larger than db_expr_t.
2006-09-30no malloc debug but configured kmemstats allow 'sh mal' to print smth ↵Michael Shalayeff
useful; miod@ ok
2006-08-24Off-by-one in ``dmesg'' command; it takes a vax to find such bugs.Miod Vallat
2006-07-12fake structs to let kernels compile on architectures that some germanTheo de Raadt
companies do not use. Mickey, why did you break the tree for us like this, all after not showing the diffs to lots of people? Are you that special that you can get away with this? Do you really want to bet on that, again?
2006-07-11add mount/vnode/buf and softdep printing commands; tested on a few archs and ↵Michael Shalayeff
will make pedro happy too (;
2006-07-07only count right guess when had been guessed right; from Leonardo Chiquitto ↵Michael Shalayeff
Filho <leonardo@iken.com.br>
2006-07-06Make sure we alter ddb variables as ints, not longs; only matters on 64 bitMiod Vallat
platforms.
2006-07-06Make the ddb.log sysctl available as an in-ddb variable, $log, for consistency.Miod Vallat
2006-07-06Remove db_check_interrupt() related logic, since it was dummied in practice.Miod Vallat
2006-07-06ALIGNED_POINTER is defined on all platforms.Miod Vallat
2006-05-20add show all pools command listing all pools as vmstat -m does; miod@ okMichael Shalayeff
2006-05-16fix commentsMichael Shalayeff
2006-03-15Still allow ddb.console and ddb.panic to be raised if securelevel <= 0;Miod Vallat
ok deraadt@
2006-03-15use sysctl_int_lower (old code had the negative bug)Theo de Raadt
2006-03-13ansi/deregister. No binary change.Jonathan Gray
2006-03-09Do not include <lib/libkern/libkern.h> explicitely, get it via <sys/systm.h>.Miod Vallat
2005-09-29char end[] vs long end, bad; pr 4288Theo de Raadt
2005-09-06Remove old m88k workaround, now that we have SET_PC_REGS().Miod Vallat
2005-05-10db_printf(s) -> db_printf("%s", s) from NetBSDUwe Stuehler
2005-04-19Do not bother looking for symbols if either esym is zero or the computedMiod Vallat
symbol table length is zero.
2005-04-19Nuke DB_NO_AOUT, and have platforms with a.out symbols explicitely provideMiod Vallat
DB_AOUT_SYMBOLS.
2005-01-08radical size reduction from andreas@Michael Shalayeff
2005-01-04switch to SET_PC_REGS if available, okay miod@Marc Espie
2005-01-03Add "show panic" command to ddb, to easily retrieve the panic message.Miod Vallat
Will hopefully bring us better panic reports. From Joris Vink.
2004-08-09mips/sgi uses same symbol table style setup as sparc64Per Fogelstrom
OK mickey@
2004-06-25Instead of accessing ci_dev (that's an MI field), provide a marco thatArtur Grabowski
translates a cpu_info structure into a human-readable cpu number. drahn@ deraadt@ ok
2004-06-21Make 'machine ddbcpu' work, and use CPU device number instead of APIC idAndreas Gunnarsson
KNF lesson and ok from niklas@
2004-06-13debranch SMP, have funNiklas Hallqvist
2004-04-25kill unbounded string op. deraadt okJun-ichiro itojun Hagino
2004-03-15Remove errant semi-colon. miod@ okAaron Campbell
2004-03-10Ensure that we obey a user's ddb> boot reboot command even if the systemTom Cosgrove
is cold (during startup). This adds RB_USERREQ to sys/reboot.h, uses it in the ddb commands, and ensures that */*/machdep.c:boot() won't set RB_HALT when cold if this flag is set. ok deraadt@
2004-02-06default db.log=1. as noted by Sam Smith, this is more useful. mickey concurredTed Unangst
2004-01-03put an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macrosMarc Espie
to built-ins, so eventually we will have one version of these files. Special adjustments for the kernel to cope: machine/stdarg.h -> sys/stdarg.h and machine/ansi.h needs to have a _BSD_VA_LIST_ for syslog* prototypes. okay millert@, drahn@, miod@.
2003-12-03add dmesg command; ok deraadt, mcbride, henning and moreMarkus Friedl
2003-08-24sprinkle some __kprintf__ attributes around functions which use formatAnil Madhavapeddy
strings in the kernel to make gcc aware of the extra modifiers deraadt@ ok
2003-07-08better output length estimate for a nicer printoutMichael Shalayeff
2003-06-28option to log ddb output to kernel message buffer, via sysctl ddb.logTed Unangst
ok deraadt@ henric@ djm@
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-06-02kill the clauses three and four on my sourcesMichael Shalayeff
2003-06-01When searching for the symbol table and string table we were lookingArtur Grabowski
for ".symtab" and ".strtab" in the section names. Instead of doing that, look for section type SHT_SYMTAB for the symbol table and follow the link in sh_link to find the corresponding string table. This is a more correct way of doing things and will work better when the toolchain doesn't generate ".symtab" and ".strtab" names and it will work when there are multiple symbol tables. noone objected to this diff for at least a week.
2003-05-12sho proc [addr] to print some proc's field; art@ okMichael Shalayeff
2003-02-12Remove commons; inspired by netbsd.Jason Wright
2002-07-10It is supposed to be printf, not db_printf. This change costed meArtur Grabowski
several days of debugging my laptop because underneath the X it was sitting on the console waiting for me to press some key on the '--db_more--' prompt.