Home | History | Annotate | Download | only in include
History log of /src/sys/arch/alpha/include/db_machdep.h
RevisionDateAuthorComments
 1.23  22-Nov-2023  thorpej Changes to let the Alpha DDB code build in user-space for crash(8).
 1.22  21-Nov-2023  thorpej Adjust proc/lwp access for user-space (crash(8)).
 1.21  21-Nov-2023  thorpej Refactor the special symbol handling out of db_trace.c into
db_interface.c, and abstract it away from having to read kernel
symbols directly.
 1.20  21-Nov-2023  riastradh ddb: New db_stack_trace_print_ra.

Takes an optional extra argument for the return address so that the
stack parser has a chance to use instruction-dependent interpretation
of the frame to find parent frames.

Implemented only on Alpha for now, which needs it. Other
architectures just ignore the extra argument.

PR port-alpha/57716

XXX pullup-10
XXX pullup-9
XXX pullup-8
 1.19  06-Nov-2017  christos 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.18  26-May-2011  joerg branches: 1.18.14;
Introduce DDB_EXPR_FMT and replace the logic around DB_EXPR_T_IS_QUAD.
 1.17  21-Feb-2007  thorpej branches: 1.17.68; 1.17.74;
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.16  17-May-2006  drochner branches: 1.16.14;
remove a typecast in a macro which is used on the LHS. gcc4 doesn't like it
 1.15  01-Apr-2006  cherry 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.14  29-Apr-2003  scw branches: 1.14.18; 1.14.32; 1.14.34; 1.14.36; 1.14.38; 1.14.40;
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.13  19-Apr-2001  thorpej branches: 1.13.4;
Glue in KGDB. Needs some more work -- KGDB currently renders
DDB disabled, but it's a start.
 1.12  22-Nov-2000  thorpej branches: 1.12.2;
Just access the trapframe directly for DDB registers.
 1.11  29-Jun-2000  mrg remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
 1.10  08-Jun-2000  thorpej ANSI'ify.
 1.9  20-Apr-1999  thorpej branches: 1.9.2; 1.9.10;
After reviewing the Green Book, BPT traps do indeed leave the PC pointing
to the instruction _after_ the `call_pal bpt' instruction.
 1.8  20-Apr-1999  thorpej Prototype alpha_debug(), and add some definitions for KGDB.
 1.7  14-Aug-1998  thorpej branches: 1.7.8;
vm_offset_t -> {paddr_t,vaddr_t}, vm_size_t -> vsize_t
 1.6  06-Sep-1997  thorpej Prototype db_register_value().
 1.5  25-Jul-1997  thorpej branches: 1.5.2;
More DDB support:
- Add support for software single-stepping (Alpha does not have hardware
support for single-stepping)
- Alpha uses Elf64 symbols.
 1.4  06-Apr-1997  cgd clean up NetBSD RCS ID strings
 1.3  06-Feb-1997  gwr FIXUP_PC_AFTER_BREAK now takes an arg of type db_regs_t *
 1.2  11-Jul-1996  cgd branches: 1.2.2;
Instead of treating the trap/syscall/exception frame like a struct
containing a substruct (the hardware frame) and an array of registers,
treat it like one big array of registers, for easier and prettier
access. Update everything to deal with that.
 1.1  23-Nov-1995  cgd wholesale update from my NetBSD/Alpha source tree. Includes:
Support for AXPpci CPUs,
Support for AlphaStation 600 CPUs,
new boot block structure, which requires an 'installboot'
program and works a lot like the NetBSD/sparc boot blocks.
 1.2.2.2  12-Aug-1997  cgd sync with -current as of August 11, 1997
 1.2.2.1  01-Jun-1997  cgd sync the nwscons branch up with yesterday's version of the trunk.
Lots of conflicts/changes because of the RCS Id format changes.
Also, a few cleanups and corrections.
 1.5.2.1  06-Sep-1997  thorpej Update marc-pcmcia branch from trunk.
 1.7.8.1  21-Jun-1999  thorpej Sync w/ -current.
 1.9.10.1  22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.9.2.3  23-Apr-2001  bouyer Sync with HEAD.
 1.9.2.2  08-Dec-2000  bouyer Sync with HEAD.
 1.9.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.12.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.13.4.2  19-Apr-2001  thorpej Glue in KGDB. Needs some more work -- KGDB currently renders
DDB disabled, but it's a start.
 1.13.4.1  19-Apr-2001  thorpej file db_machdep.h was added on branch nathanw_sa on 2001-04-19 17:48:48 +0000
 1.14.40.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.14.38.1  19-Apr-2006  elad sync with head - hopefully this will work
 1.14.36.2  24-May-2006  yamt sync with head.
 1.14.36.1  11-Apr-2006  yamt sync with head
 1.14.34.2  01-Jun-2006  kardel Sync with head.
 1.14.34.1  22-Apr-2006  simonb Sync with head.
 1.14.32.1  09-Sep-2006  rpaulo sync with head
 1.14.18.2  26-Feb-2007  yamt sync with head.
 1.14.18.1  21-Jun-2006  yamt sync with head.
 1.16.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.17.74.1  06-Jun-2011  jruoho Sync with HEAD.
 1.17.68.1  31-May-2011  rmind sync with head
 1.18.14.1  03-Dec-2017  jdolecek update from HEAD

RSS XML Feed