summaryrefslogtreecommitdiffstats
path: root/sys/arch/amd64/include/db_machdep.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Convert db_addr_t -> vaddr_t but leave the typedef for now.mpi2019-11-071-2/+2
|
* Use the debugger mutex for `ddb_mp_mutex'. This should prevent a racevisa2019-03-231-3/+1
| | | | | | | | | | that could leave `ddb_mp_mutex' locked if one CPU incremented `db_active' while another CPU was in the critical section. When the race hit, the debugger was unable to resume execution or switch between CPUs. Race analyzed by patrick@ OK mpi@ patrick@
* Unifdef KGDB.mpi2017-04-301-10/+1
| | | | | | It doesn't compile und hasn't been working during the last decade. ok kettenis@, deraadt@
* Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernelmpi2016-09-041-1/+4
| | | | | | | | | | | | | | | | 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@
* G/C DDB_REGS.mpi2016-04-271-2/+1
|
* Rename kdb_trap() into db_ktrap().mpi2016-02-271-2/+2
| | | | | | | | The goal is to include it in the list of functions that must not be instrumented. All ddb(8) functions should be in this list and have their names start with 'db_'. ok visa@, deraadt@
* DDB supports ELF symbols are all archs, and it's always the same as theguenther2014-03-161-4/+1
| | | | | | native size, so eliminate the #defines. ok miod@
* Kill DB_*TASK_NAME* macros which were only ever on i386/amd64 and never used.guenther2014-03-161-12/+1
|
* Normalize sentinel. Use _MACHINE_*_H_ and _<ARCH>_*_H_ properly and consitently.pirofti2011-03-231-4/+4
| | | | Discussed and okay drahn@. Okay deraadt@.
* Remove ddb single-step load and store counters. Most platforms do notmiod2010-11-271-3/+1
| | | | implement them, and they are of questionable usefulness.
* g/c db_thread_fp_used()miod2008-02-111-3/+1
|
* remove vars from some prototypes.fgsch2007-10-191-3/+3
|
* remove dead macrosmickey2006-03-151-20/+1
|
* untested kgdb support for amd64. prolly needs more work whenfgsch2005-11-131-2/+4
| | | | getting and setting the registers, but it's a start. kettenis@ ok.
* proper SET_PC_REGS,espie2005-01-101-5/+2
| | | | | okay kettenis@, something-vaguely-looking-like-an-okay mickey@
* mutex instead of SIMPLELOCK for mp ddb.art2004-07-221-2/+3
| | | | | | "reads good" niklas@ "looks good" andreas@ "works" tedu@
* 'machine cpuinfo' and 'machine ddbcpu' in ddb for amd64andreas2004-06-251-7/+14
|
* an amd64 arch support.mickey2004-01-281-0/+141
hacked by art@ from netbsd sources and then later debugged by me into the shape where it can host itself. no bootloader yet as needs redoing from the recent advanced i386 sources (anyone? ;)