summaryrefslogtreecommitdiffstats
path: root/sys/arch/powerpc/ddb (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use the debugger mutex for `ddb_mp_mutex'. This should prevent a racevisa2019-03-231-16/+16
| | | | | | | | | | 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@
* Do not panic from ddb(4) when a lock requirement isn't fulfilled.mpi2018-03-201-4/+1
| | | | | | | | | | | Extend the logic already present for panic() to any DDB-related operation such that if ddb(4) is entered because of a fault or other trap it is still possible to call 'boot reboot'. While here stop printing splassert() messages as well, to not fill the buffer. ok visa@, deraadt@
* add support for printing function arguments when displaying a tracejasper2017-10-181-4/+20
| | | | | | from DDB. this uses CTF to get the correct number of arguments. ok mpi@
* Kill db_sym_t.mpi2017-05-301-2/+2
| | | | ok deraadt@, kettenis@, jasper@
* Rename Debugger() into db_enter().mpi2017-04-301-3/+3
| | | | | | | Using a name with the 'db_' prefix makes it invisible from the dynamic profiler. ok deraadt@, kettenis@, visa@
* Rename pfind(9) into tfind(9) to reflect that it deals with threads.mpi2017-01-241-2/+2
| | | | | | While here document prfind(9. with and ok guenther@
* take it one step further and bring the message inline with arm/sparc64jasper2016-09-101-2/+2
| | | | pointed out by guenther@
* don't hardcode the filename in an error message; use the function name insteadjasper2016-09-091-2/+2
| | | | ok jsg@ (who spotted the powerpc straggler too) millert@
* DDB_REGS -> ddb_regsmpi2016-03-061-5/+5
|
* One ddb interface is enough for ppc.mpi2016-03-051-0/+339
|
* Define db_reg_t like the other archs by typedef'ing "struct trapframe".mpi2016-03-051-42/+42
| | | | | This will allow us to use some of the DDB macros on trapframe which are not DDB_REGS.
* DDB_REGS -> ddb_regs in db_regs[], no reason to be different.mpi2016-03-021-39/+39
|
* Rewrite the PowerPC stack dump routine to delimit the trap & interruptmpi2014-09-061-50/+98
| | | | | | | | | contexts with markers (---like on x86---) and print the associated type or number when available. While here, gyp' the support for process tracing (tr /p). ok miod@
* use nitems() instead of handrolling something identicaljasper2014-07-131-2/+2
| | | | ok mpi@ sthen@
* remove a duplicate break statementjsg2014-04-261-2/+1
|
* Make certain the output buffer is zeroed before starting processing.drahn2007-10-211-1/+2
|
* Switch db_expr_t from int to long, per consistency with all other arches.miod2003-12-211-3/+3
| | | | ok drahn@
* Housecleaning, no binary change.drahn2003-10-153-17/+18
|
* 'found' variable was not used correctly, simplify the logic.drahn2003-05-091-6/+3
|
* sprintf() removal for ppc disassembler. ok millert@drahn2003-05-091-87/+130
|
* 'branch absolute linking' instruction is 'bla', not 'bal'.drahn2003-05-081-3/+3
|
* KNFdrahn2003-05-081-91/+91
|
* Change extract_field() arguments, eliminates the nasty '31 -' all over thedrahn2003-05-081-44/+43
| | | | file. Remove NetBSD tag, this file is not used by NetBSD. Copyright cleanup.
* Put newline on end of disasm so that x /i <addr>,<cnt> works correctly.drahn2003-05-081-2/+2
|
* Improve disassmbly of powerpc branch instructions, print the conditionaldrahn2003-03-271-24/+71
| | | | information in a readable form.
* Remove an unnecessary structure copy from useage of setfault(), calldrahn2003-02-262-5/+5
| | | | by reference, not by value, ok matthieu#, miod@
* Fix the mask and sign extension for bl instruction which branch backwards.drahn2003-02-201-9/+9
| | | | When printing the address, address has already been added according to AA.
* move ddb_regs decl from .h to .c to avoid commonjason2003-02-121-1/+3
|
* backout prematurederaadt2002-09-152-86/+86
|
* KNFderaadt2002-09-152-86/+86
|
* KNFdrahn2002-06-091-6/+5
|
* One ddb to rule them all.miod2002-06-083-0/+1359
Move the ddb files form macppc/macppc to powerpc/ddb, so that mvmeppc can benefit from the better ddb that was in macppc. db_interface.c is left as an md part.