Home | History | Annotate | Download | only in arm
History log of /src/sys/arch/arm/arm/db_trace.c
RevisionDateAuthorComments
 1.33  24-Jan-2018  skrll Remove port-acorn26

OK core@
 1.32  25-Apr-2017  skrll Report trapframe where possible
 1.31  24-Jan-2015  skrll branches: 1.31.2;
Fix crash(8) backtrace support.
 1.30  29-Mar-2014  skrll branches: 1.30.4; 1.30.6;
Trailing whitespace
 1.29  29-Mar-2014  skrll Allow crash(8) to compile this.
 1.28  18-Jan-2013  skrll branches: 1.28.2;
Print the frame pointer for each level and don't print the registers
within the frame by default. Provide a '/f' flag to get the full trace.

Discussed with matt@
 1.27  31-Dec-2012  skrll At each function level print a useful offset (as also shown in rlv)

OK from gimpy
 1.26  12-Nov-2012  skrll C99 types
 1.25  14-Sep-2012  matt Only fetch savecode if scp is word aligned (prevents recursive ddb faults).
 1.24  17-Feb-2012  christos branches: 1.24.2;
fix off-by-one in frame handling, and add a missing db_read
 1.23  16-Feb-2012  christos Arrange so that we can be used from userland, by not accessing pointers
directly and using db_read_bytes().
XXX: arm26 not handled.
 1.22  01-Jul-2010  rmind branches: 1.22.8; 1.22.12; 1.22.16;
Remove pfind() and pgfind(), fix locking in various broken uses of these.
Rename real routines to proc_find() and pgrp_find(), remove PFIND_* flags
and have consistent behaviour. Provide proc_find_raw() for special cases.
Fix memory leak in sysctl_proc_corename().

COMPAT_LINUX: rework ptrace() locking, minimise differences between
different versions per-arch.

Note: while this change adds some formal cosmetics for COMPAT_DARWIN and
COMPAT_IRIX - locking there is utterly broken (for ages).

Fixes PR/43176.
 1.21  21-Nov-2009  rmind branches: 1.21.2; 1.21.4;
Use lwp_getpcb() on ARM (and acorn26/32), clean from struct user usage.
 1.20  21-Oct-2009  rmind Remove uarea swap-out functionality:

- Addresses the issue described in PR/38828.
- Some simplification in threading and sleepq subsystems.
- Eliminates pmap_collect() and, as a side note, allows pmap optimisations.
- Eliminates XS_CTL_DATA_ONSTACK in scsipi code.
- Avoids few scans on LWP list and thus potentially long holds of proc_lock.
- Cuts ~1.5k lines of code. Reduces amd64 kernel size by ~4k.
- Removes __SWAP_BROKEN cases.

Tested on x86, mips, acorn32 (thanks <mpumford>) and partly tested on
acorn26 (thanks to <bjh21>).

Discussed on <tech-kern>, reviewed by <ad>.
 1.19  15-Mar-2009  cegger ansify function definitions
 1.18  14-Mar-2009  dsl Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
 1.17  02-Jul-2008  rmind branches: 1.17.4; 1.17.10; 1.17.14;
Remove proc_representative_lwp(), use a simple LIST_FIRST() instead.
OK by <ad>.
 1.16  22-Feb-2007  thorpej branches: 1.16.44; 1.16.48; 1.16.50; 1.16.52;
TRUE -> true, FALSE -> false
 1.15  22-Feb-2007  matt Fix lossage from boolean_t -> bool and updated x86 bus_dma.
 1.14  21-Feb-2007  thorpej Pick up some additional files that were missed before due to conflicts
with newlock2 merge:

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.13  20-Feb-2007  ad - Add /a modifier to trace that allows a specific LWP to be selected.
- When doing trace/t, always note which pid/lid combination is being traced.
 1.12  17-Feb-2007  pavel Change the process/lwp flags seen by userland via sysctl back to the
P_*/L_* naming convention, and rename the in-kernel flags to avoid
conflict. (P_ -> PK_, L_ -> LW_ ). Add back the (now unused) LSDEAD
constant.

Restores source compatibility with pre-newlock2 tools like ps or top.

Reviewed by Andrew Doran.
 1.11  06-Sep-2006  ad branches: 1.11.8;
Use p_find(addr, PFIND_LOCKED) in case the proclist_lock is held.
 1.10  11-Dec-2005  christos branches: 1.10.4; 1.10.8;
merge ktrace-lwp.
 1.9  30-May-2005  he branches: 1.9.2;
Adapt to constification of sys/ddb/db_interface.h.
 1.8  17-Jan-2003  thorpej branches: 1.8.2;
Merge the nathanw_sa branch.
 1.7  10-Apr-2002  thorpej vm_offset_t -> vaddr_t,paddr_t
 1.6  24-Mar-2002  bjh21 arm26->acorn26 transition.
 1.5  10-Mar-2002  bjh21 __RCSID -> __KERNEL_RCSID
 1.4  22-Nov-2001  thorpej Add 26-bit and 32-bit types.h files, which indicate the programming
model in use for a given platform (__PROG26 vs __PROG32), then pulls
in <arm/types.h>. Change each ARM port to pull in <arm/arm26/types.h>
or <arm/arm32/types.h> as appropriate. Change all references to PROG26
and PROG32 to __PROG26 and __PROG32. Eliminate the opt_progmode.h
header file.
 1.3  09-Nov-2001  thorpej branches: 1.3.2;
Make the DDB trace output a lot easier to look at.
 1.2  09-Sep-2001  toshii branches: 1.2.2;
Don't define pcb_* register macros.
pcb_sp macro conflicts with sys/netinet6/ipsec.c.
 1.1  05-Jun-2001  bjh21 branches: 1.1.2; 1.1.4; 1.1.6;
Replace arm/arm32/db_trace.c and arm26/arm26/db_trace.c with a unified version
in arm/arm. This version is based on the arm26 version, and includes dumping
the contents of stack frames, with automatic determination of the save code
pointer offset.
 1.1.6.1  01-Oct-2001  fvdl Catch up with -current.
 1.1.4.4  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.4.3  16-Mar-2002  jdolecek Catch up with -current.
 1.1.4.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.4.1  13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.1.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.2.2.1  12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.3.2.5  17-Apr-2002  nathanw Catch up to -current.
 1.3.2.4  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.3.2.3  08-Jan-2002  nathanw Catch up to -current.
 1.3.2.2  15-Nov-2001  thorpej Machine-dependent kernel mods for scheduler activations on
32-bit ARM processors. Kernel boots multi-user on an XScale,
but upcalls not yet tested.
 1.3.2.1  09-Nov-2001  thorpej file db_trace.c was added on branch nathanw_sa on 2001-11-15 06:39:20 +0000
 1.8.2.1  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.9.2.2  26-Feb-2007  yamt sync with head.
 1.9.2.1  30-Dec-2006  yamt sync with head.
 1.10.8.1  14-Sep-2006  yamt sync with head.
 1.10.4.1  09-Sep-2006  rpaulo sync with head
 1.11.8.1  27-Feb-2007  yamt - sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
 1.16.52.1  03-Jul-2008  simonb Sync with head.
 1.16.50.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.16.48.3  11-Aug-2010  yamt sync with head.
 1.16.48.2  11-Mar-2010  yamt sync with head
 1.16.48.1  04-May-2009  yamt sync with head.
 1.16.44.1  28-Sep-2008  mjf Sync with HEAD.
 1.17.14.1  15-Feb-2014  matt Merge armv7 support from HEAD, specifically support for the BCM5301X
and BCM56340 evbarm kernels.
 1.17.10.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.17.4.1  28-Apr-2009  skrll Sync with HEAD.
 1.21.4.1  03-Jul-2010  rmind sync with head
 1.21.2.1  17-Aug-2010  uebayasi Sync with HEAD.
 1.22.16.1  28-Nov-2012  matt Merge improved arm support (especially Cortex) from HEAD
including OMAP and BCM53xx support.
 1.22.12.1  18-Feb-2012  mrg merge to -current.
 1.22.8.5  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.22.8.4  23-Jan-2013  yamt sync with head
 1.22.8.3  16-Jan-2013  yamt sync with (a bit old) head
 1.22.8.2  30-Oct-2012  yamt sync with head
 1.22.8.1  17-Apr-2012  yamt sync with head
 1.24.2.4  03-Dec-2017  jdolecek update from HEAD
 1.24.2.3  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.24.2.2  25-Feb-2013  tls resync with head
 1.24.2.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.28.2.1  18-May-2014  rmind sync with head
 1.30.6.2  28-Aug-2017  skrll Sync with HEAD
 1.30.6.1  06-Apr-2015  skrll Sync with HEAD
 1.30.4.1  25-Jan-2015  martin Pull up following revision(s) (requested by skrll in ticket #454):
sys/arch/arm/arm/db_trace.c: revision 1.31
Fix crash(8) backtrace support.
 1.31.2.1  26-Apr-2017  pgoyette Sync with HEAD

RSS XML Feed