summaryrefslogtreecommitdiff
path: root/sys/ddb
AgeCommit message (Collapse)Author
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.
2002-07-01Don't let variable declarations without "extern" living in .h files.Miod Vallat
While there fix a benign type mismatch in db_stack_dump() and remove diag code left by art by mistake.
2002-06-14992 bytes. Also works if random function returns 0 first time.Marcus Watts
2002-06-11Saves 4 bytes of filespaceMarcus Watts
2002-06-11can't call arc4random() before timeouts are enabled, use random() if cold.Jason Wright
2002-05-18Implement db_stack_dump - a function that will print a stackArtur Grabowski
trace with printf (to the console and into the msgbuf).
2002-05-18Rename the MD db_stack_trace_cmd to db_stack_trace_print. Add an argumentArtur Grabowski
that specifies which printf funciton it should use. Implement db_stack_trace_cmd in MI code. Thanks to miod@ for all the tests.
2002-05-16Add a an argument to db_printsym that specifies the printf functionArtur Grabowski
we'll use for printing the information. miod@ ok
2002-05-14Use db_format in db_printsym (we'll want to be able to use printf in it soon).Artur Grabowski
2002-05-14db_printf has three non-standard formats that are not supported byArtur Grabowski
printf. Since we want to be able to have some ddb functions use db_printf or normal printf, provide a new way to acheive the same kind of formatting. The new function is called db_format and can emulate all variations of how the nonstandard db_printf formats are used. Note that this doesn't (yet?) mean that we want to convert all the non-standard formats, we just want to have that option. miod@ ok.
2002-05-13minor knf.Artur Grabowski
2002-03-14Final __P removal plus some cosmetic fixupsTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2002-02-27don't execute the pmap_update() call if we have no watch list. bo-bo art :-)Per Fogelstrom
2002-01-28Add "boot reboot" to please jason@ and "boot poweroff" to please drahn@.Miod Vallat
2002-01-02Add more vocabulary (commands) to ddb, from NetBSD.Miod Vallat
ok art@ (manual page update coming soon)
2001-12-08Sprinkle pmap_update calls where relevant and some otherArtur Grabowski
misc pmap usage fixes.
2001-11-28zap some typedefs.Artur Grabowski
vm_map_t -> struct vm_map * vm_map_entry_t -> struct vm_map_entry * simple_lock_data_t -> struct simplelock (uvm not done yet, coming in the next commit)