Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-05-27 | Make ddb print again filename and linenumber if a bsd.gdb was loaded. | Claudio Jeker | |
mpi@ agrees that this is correct. | |||
2017-05-27 | Spring cleanup: | Martin Pieuchot | |
- Cache the string table pointer - Unify return statements - Use the end of the symbol table rather than counting symbols | |||
2017-05-09 | Use C99 types. | Martin Pieuchot | |
2017-04-30 | Rename Debugger() into db_enter(). | Martin Pieuchot | |
Using a name with the 'db_' prefix makes it invisible from the dynamic profiler. ok deraadt@, kettenis@, visa@ | |||
2017-04-30 | Unifdef KGDB. | Martin Pieuchot | |
It doesn't compile und hasn't been working during the last decade. ok kettenis@, deraadt@ | |||
2017-04-20 | Add a port of witness(4) lock validation tool from FreeBSD. | Visa Hankala | |
Go-ahead from kettenis@, guenther@, deraadt@ | |||
2017-04-20 | Add routines for saving stack traces and printing saved traces | Visa Hankala | |
on amd64 and i386. With guenther@ | |||
2017-02-08 | Use ELF_ST_{BIND,TYPE} instead of ELFDEFNNAME(ST_{BIND,TYPE}) | Philip Guenther | |
ok jca@ | |||
2017-02-06 | Implement Dynamic Profiling, a ddb(4) based & gprof compatible kernel | Martin Pieuchot | |
profiling framework, for i386. Code patching is used to enable probes when entering functions. The probes will call a mcount()-like function to match the behavior of a GPROF kernel. A new sysctl knob, ddb.profile, need to be set to 1 in securelevel 0 to be able to use this feature. ok jasper@, guenther@, mlarkin@ | |||
2017-01-09 | Revert previous, it's a documented behavior and people might rely on it. | Martin Pieuchot | |
Pointed by deraadt@ | |||
2017-01-09 | Stop and restart the watchdog timer when entering and leaving ddb(4). | Martin Pieuchot | |
From Christian Ludwig. | |||
2016-10-18 | Add the examine /m format, "display in unsigned hex with character | Christian Weisgerber | |
dump at the end of each line", which has always been documented but not implemented. Mostly from NetBSD, but I fixed the column alignment code. ok mlarkin@, pirofti@ | |||
2016-09-18 | - inline db_ctf_nsyms() into it's only caller. the value remains cached and | Jasper Lievisse Adriaanse | |
won't change, so there's no reason to call it again. - remove explicit return from void function ok mpi@ | |||
2016-09-17 | rename ddb/db_ctf.h to sys/ctf.h which is the expected location for the public | Jasper Lievisse Adriaanse | |
CTF bits. ok kettenis@ mpi@ | |||
2016-09-17 | move the .SUNW_ctf section name definition to exec_elf.h and document it in ↵ | Jasper Lievisse Adriaanse | |
elf(5) feedback from guenther@ ok guenther@ kettenis@ | |||
2016-09-16 | teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64 | Jasper Lievisse Adriaanse | |
to lookup the number of function parameters. however having this basic facility allows us to expand it's usage. currently hidden behind the (disabled) DDBCTF kernel option as some of the required tools are not available in base yet. in addition to that one also needs recent bootblocks that load the .SUNW_ctf kernel section. discussed with mpi@ over many a cider and ale in cambridge feedback and ok guenther@ mpi@ | |||
2016-09-16 | drop unneeded casting noise | Jasper Lievisse Adriaanse | |
pointed out by guenther@ in a separate diff | |||
2016-09-04 | Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel | Martin Pieuchot | |
profiling framework. Code patching is used to enable probes when entering functions. The probes will call a mcount()-like function to match the behavior of a GPROF kernel. Currently only available on amd64 and guarded under DDBPROF. Support for other archs will follow soon. A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0 to be able to use this feature. Inputs and ok guenther@ | |||
2016-09-03 | make intrace a volatile, while the compiler does the right thing still | Jasper Lievisse Adriaanse | |
(no change in the generated code), it's more correct and helps the reader. ok deraadt@ guenther@ | |||
2016-09-02 | move links from http to https://www.openbsd.org/ | Theo Buehler | |
ok beck | |||
2016-06-07 | per trending style, add continue to empty loops. | Ted Unangst | |
ok mglocker | |||
2016-05-21 | <sys/localedef.h> isn't needed for ddb structinfo | Philip Guenther | |
ok millert@ deraadt@ schwarze@ | |||
2016-04-20 | Collapse db_dwarf.h into db_sym.h | Martin Pieuchot | |
ok matthew@ | |||
2016-04-19 | Do not expose private functions. | Martin Pieuchot | |
2016-04-19 | Start reducing the dependence on <uvm/uvm_param.h> by using int-1-0 | Martin Pieuchot | |
instead of boolean_t-TRUE-FALSE. | |||
2016-04-19 | Keep db_write_cmd() in the only place where it is used, just like we did | Martin Pieuchot | |
with db_show_regs(). | |||
2016-03-09 | Move db_show_regs() in the only file where it is used and turn it private. | Martin Pieuchot | |
ok mlarkin@ | |||
2016-03-07 | Sync no-argument function declaration and definition by adding (void). | Christian Weisgerber | |
ok mpi@ millert@ | |||
2016-03-07 | boolean_t/FALSE/TRUE -> int/0/1 | Martin Pieuchot | |
2016-03-06 | Merge db_elf_sym_values() into db_symbol_values(). | Martin Pieuchot | |
ok stefan@ | |||
2016-03-06 | DDB_REGS -> &ddb_regs. | Martin Pieuchot | |
All our archs use the same define. | |||
2016-03-01 | db_sym_numargs() has always been defined to FALSE so nuke it with all | Martin Pieuchot | |
its associated dead code. ok mikeb@ | |||
2016-03-01 | Make db_value_of_name() call db_elf_sym_lookup() in order to kill | Martin Pieuchot | |
db_lookup() as requested by mlarkin@ While here move the function to db_elf.c do keep db_elf_sym_lookup() private. ok mikeb@ appart from the move the function | |||
2016-03-01 | DB_SYM_NULL -> NULL. | Martin Pieuchot | |
2016-02-28 | Remove leftovers from mutliple symbol tables support. | Martin Pieuchot | |
2016-02-27 | Remove the "symbol table" argument of the functions dealing with | Martin Pieuchot | |
symbols. There's no reason to ask the programmer to supply a specific symbol table since the kernel only have one. ok visa@, guenther@ | |||
2016-02-26 | Remove support for multiple symbol tables in ddb(4), we only have one. | Martin Pieuchot | |
ok mlarkin@, visa@ | |||
2016-02-12 | Kill db_symbol_is_ambiguous(). There's no ambiguous symbol since LKMs | Martin Pieuchot | |
are no longer supported. ok tb@, guenther@ | |||
2016-01-27 | Removes the abstraction layer to support multiple executable binaries. | Martin Pieuchot | |
Simplifies the API to manipulate symbols now that all our architectures are ELF. ok tb@ | |||
2016-01-27 | Remove unused db_sifting(). | Martin Pieuchot | |
2016-01-25 | Do not mix variable declaration and logic. | Martin Pieuchot | |
2016-01-25 | Kill "#if 0" version of ddb_init(). | Martin Pieuchot | |
2016-01-25 | Kill trailing whitespaces. No object change. | Martin Pieuchot | |
2016-01-15 | add a "show socket" command to ddb | David Gwynne | |
should help inspecting socket issues in the future. enthusiasm from mpi@ bluhm@ deraadt@ | |||
2015-12-23 | assign pointers NULL rather than 0 | mmcc | |
2015-09-13 | On show the ps/o output and ddb.html blurb once, so that we don't get them | Philip Guenther | |
after each "mach ddbcpu N" ok miod@ deraadt@ | |||
2015-09-12 | show a few more lines of trace; discussed in the room | Theo de Raadt | |
2015-09-12 | When panicing, show the non-idle, on-proc threads before showing the stack | Philip Guenther | |
trace ok deraadt@ miod@ beck@ | |||
2015-09-01 | initialise the width var in db_struct_offset_cmd() | Jonathan Gray | |
ok miod@ deraadt@ | |||
2015-08-30 | Automatically perform traces upon panic. Shrink message about | Theo de Raadt | |
reporting bugs to pointing at http://www.openbsd.org/ddb.html, because vertical space becomes more precious. ok beck krw kettenis |