summaryrefslogtreecommitdiff
path: root/sys/ddb
AgeCommit message (Collapse)Author
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)
2001-11-06Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.Miod Vallat
(Look ma, I might have broken the tree)
2001-09-19merge vm/vm_kern.h into uvm/uvm_extern.h; art@ okMichael Shalayeff
2001-08-19shorterArtur Grabowski
2001-08-19Needed a simple cast after a sparc64 change.Mike Frantzen
2001-08-19Ugly hack to make symbols work on sparc64.Artur Grabowski
We really need to change ddb_init to take args from MD code.
2001-08-19Print a reason for failing to init the symbol table.Artur Grabowski
2001-08-19shorten the message to fit on a line.Artur Grabowski
2001-08-18I am sick and tired of bug reports LACKING INFORMATION.Artur Grabowski
2001-07-04Make preprocessor happier, don't give it untasty tokens at end of input.Marc Espie
Ok millert@
2001-07-04missed EOL at EOFMarc Espie
2001-06-29print the total score, size permittingMichael Shalayeff
2001-06-29cleanup, including removing the size rule which nobodyMichael Shalayeff
gives a shit about anyway.
2001-06-27Remove old vm.Artur Grabowski
2001-04-18New boot command: boot halt.Artur Grabowski
Don't sync, don't dump, just halt.
2001-04-05Tell the users what to report when the kernel crashes.Artur Grabowski
2001-03-15$OpenBSD$Niklas Hallqvist
2001-02-10When computing the value of an entry in the string table, don'tTodd C. Miller
just add strtab to s->n_un.n_strx since we may have multiple string tables (for instance in the case of lkms). Instead, add in t->end whcih in a.out will be the start of the string table for this symtab. OK'd by niklas@
2001-02-10new symbol handling in ddb for ELF, there is still a problem with hangman on ↵Niklas Hallqvist
alpha though..
2001-02-08Capital punishment, just in case :-)Niklas Hallqvist
2001-02-06Allow booting on alphas with DDB, although no symbols will be seen.Niklas Hallqvist
2001-01-24KGDB for i386 from NetBSD via niklas, with tweaks and accommodations.Hugh Graham
Tested by various, vetted by mickey & theo.
2000-06-07Allow passing an address to 'show malloc' and print out some information aboutArtur Grabowski
that address.
2000-06-07Add 'show malloc' that prints out malloc debugging information if available.Artur Grabowski
2000-04-05do not exhaust the random pool while debuggingMichael Shalayeff
2000-02-27Provide a means to lock ddb off on systems at high securelevel, in orderHugh Graham
reduce the need for a custom kernel sans ddb.
1999-09-11s/vm_offset_t/vaddr_t/ s/vm_size_t/vsize_t/Michael Shalayeff
1999-06-17fix continuing from breakpoints on sparcArtur Grabowski
1999-02-26uvm compatArtur Grabowski
1998-12-20The "end" symbol should be a long, not an int to make 64-bit machines happy. ↵Todd C. Miller
This allows us to remove a bogus cast of int * to long * later on.
1998-09-01the sync command does not work, back it outArtur Grabowski
1998-08-30add a sync command that does not rebootArtur Grabowski
1998-08-21Don't make symbols strings absolute in the symbol table so we can share it ↵Todd C. Miller
with /dev/ksyms