summaryrefslogtreecommitdiff
path: root/sys/ddb
AgeCommit message (Expand)Author
2017-10-27Use <elf.h> in !_KERNEL code path.Martin Pieuchot
2017-10-19ddb "show all mounts" showed everything except the address of theAlexander Bluhm
2017-10-13return a missing return (was left out of previous)Jasper Lievisse Adriaanse
2017-10-13- use db_printf()Jasper Lievisse Adriaanse
2017-10-11missing prototype for db_ctf_pprintJasper Lievisse Adriaanse
2017-09-29New ddb(4) command: kill.Martin Pieuchot
2017-09-12Remove option DDB_STRUCTINFO. Now that ddb(4) is CTF aware, similarMartin Pieuchot
2017-09-12Skip forward declarations until ctfconv(1) properly merge them withMartin Pieuchot
2017-09-08If you use sys/param.h, you don't need sys/types.hTheo de Raadt
2017-09-06use sizeof(variable) instead of sizeof(type) to shorten some codeDavid Gwynne
2017-09-06when pretty printing a pointer, display its value instead of address.David Gwynne
2017-09-06replace the DDB_STRUCT backend for "show struct" with ctf code.David Gwynne
2017-08-14db_ctf_pprintf() doesn't actually support formatting, so s/f$//Uwe Stuehler
2017-08-14Restore "print" in ddb; add "pp[rint]" for pretty-printingUwe Stuehler
2017-08-11Merge DDBCTF into DDB.Martin Pieuchot
2017-08-11Fall back using db_print_cmd() if no CTF data has been found.Martin Pieuchot
2017-08-11Improve pretty printing of pointers.Martin Pieuchot
2017-08-11Kernel compilation with DDBPROF enabled fails as db_sym_t is no longerNayden Markatchev
2017-08-11Remove debugging leftovers, document functions, bump copyright.Martin Pieuchot
2017-08-10With a CTF kernel, DDB's print command will now pretty-print symbols.Martin Pieuchot
2017-07-29Goodbye, sys/dkbad.h, you lost your last friend when sparc was removed.Vadim Zhukov
2017-05-30Header sys/scanio.h has been deleted, do not include it here.Alexander Bluhm
2017-05-30Kill db_sym_t.Martin Pieuchot
2017-05-29Pass the symbol instead of its name when looking for CTF infos.Martin Pieuchot
2017-05-28If a function is not found in the CTF data, do not assume it takes noMartin Pieuchot
2017-05-28Merge two functions to lookup ELF sections by name.Martin Pieuchot
2017-05-27Make ddb print again filename and linenumber if a bsd.gdb was loaded.Claudio Jeker
2017-05-27Spring cleanup:Martin Pieuchot
2017-05-09Use C99 types.Martin Pieuchot
2017-04-30Rename Debugger() into db_enter().Martin Pieuchot
2017-04-30Unifdef KGDB.Martin Pieuchot
2017-04-20Add a port of witness(4) lock validation tool from FreeBSD.Visa Hankala
2017-04-20Add routines for saving stack traces and printing saved tracesVisa Hankala
2017-02-08Use ELF_ST_{BIND,TYPE} instead of ELFDEFNNAME(ST_{BIND,TYPE})Philip Guenther
2017-02-06Implement Dynamic Profiling, a ddb(4) based & gprof compatible kernelMartin Pieuchot
2017-01-09Revert previous, it's a documented behavior and people might rely on it.Martin Pieuchot
2017-01-09Stop and restart the watchdog timer when entering and leaving ddb(4).Martin Pieuchot
2016-10-18Add the examine /m format, "display in unsigned hex with characterChristian Weisgerber
2016-09-18- inline db_ctf_nsyms() into it's only caller. the value remains cached andJasper Lievisse Adriaanse
2016-09-17rename ddb/db_ctf.h to sys/ctf.h which is the expected location for the publicJasper Lievisse Adriaanse
2016-09-17move the .SUNW_ctf section name definition to exec_elf.h and document it in e...Jasper Lievisse Adriaanse
2016-09-16teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64Jasper Lievisse Adriaanse
2016-09-16drop unneeded casting noiseJasper Lievisse Adriaanse
2016-09-04Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernelMartin Pieuchot
2016-09-03make intrace a volatile, while the compiler does the right thing stillJasper Lievisse Adriaanse
2016-09-02move links from http to https://www.openbsd.org/Theo Buehler
2016-06-07per trending style, add continue to empty loops.Ted Unangst
2016-05-21<sys/localedef.h> isn't needed for ddb structinfoPhilip Guenther
2016-04-20Collapse db_dwarf.h into db_sym.hMartin Pieuchot
2016-04-19Do not expose private functions.Martin Pieuchot