Home | History | Annotate | Download | only in include
History log of /src/sys/arch/sparc/include/db_machdep.h
RevisionDateAuthorComments
 1.30  26-Oct-2023  andvar Build db_machdep.c when KGDB option is enabled.
Do not cast (regs)->db_tf.tf_pc to db_addr_t (thus ifdef block is redundant).
Adjust ifdef conditions in db_interface.c to make it build with KGDB option.
While here, add #endif comments for longer blocks.

These changes should make sparc build with KGDB option, once ddb/db_access.c
code will be fixed to build with it.
 1.29  24-Jan-2021  mrg avoid using 'extern <func|data>;' inside a .c file, but instead
use header files and ensure definitions are not duplicated or
are technically (if not in codegen) wrong.
 1.28  06-Nov-2017  christos branches: 1.28.16;
Cleanup and clarify the ELFSIZE mess:

We now have 2 variables automatically set in elf_machdep.h:

ARCH_ELFSIZE: the size for userland binaries
KERN_ELFSIZE: the size for the kernel binaries

DB_ELFSIZE has been deleted and KERN_ELFSIZE should have always the
same values DB_ELFSIZE used to have.

In sys/exec_elf.h, if ELFSIZE is not set, it is set to KERN_ELFSIZE
for the kernel and ARCH_ELFSIZE for userland. These defaults should
eliminate the need for most manual ELFSIZE setting.
 1.27  10-Dec-2016  mrg rearrange slightly to enable crash(8) to build.
 1.26  26-May-2011  joerg branches: 1.26.14; 1.26.32; 1.26.36;
Introduce DDB_EXPR_FMT and replace the logic around DB_EXPR_T_IS_QUAD.
 1.25  11-Apr-2011  mrg obsolete DB_AOUT_SYMBOLS. however, we need to leave most of the code
in db_sym.[ch] as it is used by the elf version of crash(8).

i will be cleaning up the db_sym.c code in a follow up commit to avoid
having dead code compiled.
 1.24  14-Jan-2011  rmind branches: 1.24.2;
Retire struct user, remove sys/user.h inclusions. Note sys/user.h header
as obsolete. Remove USER_TO_UAREA/UAREA_TO_USER macros.

Various #include fixes and review by matt@.
 1.23  21-Feb-2007  thorpej branches: 1.23.68;
Replace the Mach-derived boolean_t type with the C99 bool type. A
future commit will replace use of TRUE and FALSE with true and false.
 1.22  01-Apr-2006  cherry branches: 1.22.14;
closes: PR kern/32359

modifies machine/db_machdep.h: BKPT_SET(inst) to BKPT_SET(inst, addr) for all archs ie; passess the
breakpoint address as well.

Patch from cherry@mahiti.org
 1.21  04-Mar-2006  uwe branches: 1.21.2; 1.21.4; 1.21.6;
De-__P.
 1.20  29-Apr-2003  scw branches: 1.20.18; 1.20.32; 1.20.34;
Add a BKPT_ADDR() macro which gives MD code a chance to munge a
breakpoint address before it's used. Currently a no-op on all but sh5.

This is useful on sh5, for example, to mask off the instruction
type encoding in the bottom two address bits, and makes it possible
to do "db> break $rXX" instead of manually munging the address.
 1.19  07-Jan-2003  pk Simplify ddb register storage setup: remove MULTIPROCESSOR special cases
and keep the ddb register copies on the current stack always.
 1.18  07-Jan-2003  pk * Maintain a pointer to the cpu_info structure of the CPU being examined.
* Force cpu_Debugger() to have a stack frame, so tracing can at least
start off matching arguments and function calls correctly.
 1.17  09-Nov-2001  thorpej Remove unneeded declarations of the db_machine_init() function. The
ARM ports are the only ones that actually have one, and it is about
to change.
 1.16  30-Jun-2001  mrg branches: 1.16.2; 1.16.6; 1.16.8;
for now, KGDB kernels do not have access to multiple cpu's trapframe.
 1.15  08-Jun-2001  mrg if MULTIPROCESSOR, make the registers virtual, so that we can access other
processors registers. rework enter/exit ddb code to look more like the i386
code. make "mach cpu" and "mach cpu N" work.
 1.14  29-Jun-2000  mrg branches: 1.14.2;
remove include of <vm/vm.h> and <machine/pmap.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
 1.13  30-Apr-1999  christos branches: 1.13.2;
Compile in support for ELF symbols.
 1.12  21-Aug-1998  pk branches: 1.12.8;
Convert to [pv]addr_t & [pv]size_t.
 1.11  10-Dec-1997  pk Code for software-assisted DDB single-stepping from Chuck Silvers.
 1.10  31-Aug-1997  pk Switch to MI kgdb code.
 1.9  26-Jun-1997  thorpej branches: 1.9.4;
#define DB_AOUT_SYMBOLS
 1.8  05-Feb-1997  pk db_expr_t is now a long.
 1.7  31-Mar-1996  pk Various cleanup; mostly trailing spaces/tabs.
 1.6  14-Mar-1996  christos Add missing prototypes and fix the fp struct for svr4.
 1.5  09-Feb-1996  christos A few prototype fixes
 1.4  10-Dec-1995  mycroft Include vm.h, rather than guessing which files we need.
 1.3  09-Feb-1995  pk We have more registers.
 1.2  20-Nov-1994  deraadt copyright/Id cleanup
 1.1  24-Mar-1994  pk DDB support
 1.9.4.1  01-Sep-1997  thorpej Update marc-pcmcia branch from trunk.
 1.12.8.1  21-Jun-1999  thorpej Sync w/ -current.
 1.13.2.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.14.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.16.8.3  07-Jan-2003  thorpej Sync with HEAD.
 1.16.8.2  08-Jan-2002  nathanw Catch up to -current.
 1.16.8.1  30-Jun-2001  nathanw file db_machdep.h was added on branch nathanw_sa on 2002-01-08 00:27:37 +0000
 1.16.6.1  12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.16.2.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.20.34.1  22-Apr-2006  simonb Sync with head.
 1.20.32.1  09-Sep-2006  rpaulo sync with head
 1.20.18.2  26-Feb-2007  yamt sync with head.
 1.20.18.1  21-Jun-2006  yamt sync with head.
 1.21.6.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.21.4.1  19-Apr-2006  elad sync with head - hopefully this will work
 1.21.2.1  11-Apr-2006  yamt sync with head
 1.22.14.1  27-Feb-2007  yamt - sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
 1.23.68.3  31-May-2011  rmind sync with head
 1.23.68.2  21-Apr-2011  rmind sync with head
 1.23.68.1  05-Mar-2011  rmind sync with head
 1.24.2.1  06-Jun-2011  jruoho Sync with HEAD.
 1.26.36.1  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.26.32.1  05-Feb-2017  skrll Sync with HEAD
 1.26.14.1  03-Dec-2017  jdolecek update from HEAD
 1.28.16.1  03-Apr-2021  thorpej Sync with HEAD.

RSS XML Feed