Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use the debugger mutex for `ddb_mp_mutex'. This should prevent a race | 2019-03-23 | 1 | -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. | 2018-03-20 | 1 | -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 trace | 2017-10-18 | 1 | -4/+20 | |
| | | | | | | from DDB. this uses CTF to get the correct number of arguments. ok mpi@ | ||||
* | Kill db_sym_t. | 2017-05-30 | 1 | -2/+2 | |
| | | | | ok deraadt@, kettenis@, jasper@ | ||||
* | Rename Debugger() into db_enter(). | 2017-04-30 | 1 | -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. | 2017-01-24 | 1 | -2/+2 | |
| | | | | | | While here document prfind(9. with and ok guenther@ | ||||
* | take it one step further and bring the message inline with arm/sparc64 | 2016-09-10 | 1 | -2/+2 | |
| | | | | pointed out by guenther@ | ||||
* | don't hardcode the filename in an error message; use the function name instead | 2016-09-09 | 1 | -2/+2 | |
| | | | | ok jsg@ (who spotted the powerpc straggler too) millert@ | ||||
* | DDB_REGS -> ddb_regs | 2016-03-06 | 1 | -5/+5 | |
| | |||||
* | One ddb interface is enough for ppc. | 2016-03-05 | 1 | -0/+339 | |
| | |||||
* | Define db_reg_t like the other archs by typedef'ing "struct trapframe". | 2016-03-05 | 1 | -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. | 2016-03-02 | 1 | -39/+39 | |
| | |||||
* | Rewrite the PowerPC stack dump routine to delimit the trap & interrupt | 2014-09-06 | 1 | -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 identical | 2014-07-13 | 1 | -2/+2 | |
| | | | | ok mpi@ sthen@ | ||||
* | remove a duplicate break statement | 2014-04-26 | 1 | -2/+1 | |
| | |||||
* | Make certain the output buffer is zeroed before starting processing. | 2007-10-21 | 1 | -1/+2 | |
| | |||||
* | Switch db_expr_t from int to long, per consistency with all other arches. | 2003-12-21 | 1 | -3/+3 | |
| | | | | ok drahn@ | ||||
* | Housecleaning, no binary change. | 2003-10-15 | 3 | -17/+18 | |
| | |||||
* | 'found' variable was not used correctly, simplify the logic. | 2003-05-09 | 1 | -6/+3 | |
| | |||||
* | sprintf() removal for ppc disassembler. ok millert@ | 2003-05-09 | 1 | -87/+130 | |
| | |||||
* | 'branch absolute linking' instruction is 'bla', not 'bal'. | 2003-05-08 | 1 | -3/+3 | |
| | |||||
* | KNF | 2003-05-08 | 1 | -91/+91 | |
| | |||||
* | Change extract_field() arguments, eliminates the nasty '31 -' all over the | 2003-05-08 | 1 | -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. | 2003-05-08 | 1 | -2/+2 | |
| | |||||
* | Improve disassmbly of powerpc branch instructions, print the conditional | 2003-03-27 | 1 | -24/+71 | |
| | | | | information in a readable form. | ||||
* | Remove an unnecessary structure copy from useage of setfault(), call | 2003-02-26 | 2 | -5/+5 | |
| | | | | by reference, not by value, ok matthieu#, miod@ | ||||
* | Fix the mask and sign extension for bl instruction which branch backwards. | 2003-02-20 | 1 | -9/+9 | |
| | | | | When printing the address, address has already been added according to AA. | ||||
* | move ddb_regs decl from .h to .c to avoid common | 2003-02-12 | 1 | -1/+3 | |
| | |||||
* | backout premature | 2002-09-15 | 2 | -86/+86 | |
| | |||||
* | KNF | 2002-09-15 | 2 | -86/+86 | |
| | |||||
* | KNF | 2002-06-09 | 1 | -6/+5 | |
| | |||||
* | One ddb to rule them all. | 2002-06-08 | 3 | -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. |