The NetBSD Project

CVS log for src/sys/arch/alpha/alpha/db_trace.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / alpha / alpha

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.39 / (download) - annotate - [select for diffs], Tue Nov 21 22:19:12 2023 UTC (3 months ago) by thorpej
Branch: MAIN
CVS Tags: HEAD
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (colored)

Move alpha/alpha/db_instruction.h -> alpha/include/alpha_instruction.h

Revision 1.38 / (download) - annotate - [select for diffs], Tue Nov 21 21:23:56 2023 UTC (3 months ago) by thorpej
Branch: MAIN
Changes since 1.37: +20 -14 lines
Diff to previous 1.37 (colored)

Adjust proc/lwp access for user-space (crash(8)).

Revision 1.37 / (download) - annotate - [select for diffs], Tue Nov 21 20:40:24 2023 UTC (3 months ago) by thorpej
Branch: MAIN
Changes since 1.36: +7 -8 lines
Diff to previous 1.36 (colored)

Reduce db_trace.c's exposure to proc/lwp.

Revision 1.36 / (download) - annotate - [select for diffs], Tue Nov 21 20:29:47 2023 UTC (3 months ago) by thorpej
Branch: MAIN
Changes since 1.35: +5 -4 lines
Diff to previous 1.35 (colored)

decode_prologue(): Make pc a db_addr_t, not a db_expr_t.
db_stack_trace_print_ra(): Missed one direct reference to XentSys; fix.

Revision 1.35 / (download) - annotate - [select for diffs], Tue Nov 21 19:59:07 2023 UTC (3 months ago) by thorpej
Branch: MAIN
Changes since 1.34: +8 -75 lines
Diff to previous 1.34 (colored)

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.

Revision 1.34 / (download) - annotate - [select for diffs], Tue Nov 21 18:57:29 2023 UTC (3 months ago) by thorpej
Branch: MAIN
Changes since 1.33: +30 -13 lines
Diff to previous 1.33 (colored)

Don't access insns or frame values directly; use db_read_bytes().

Revision 1.33 / (download) - annotate - [select for diffs], Tue Nov 21 14:35:01 2023 UTC (3 months ago) by riastradh
Branch: MAIN
Changes since 1.32: +16 -2 lines
Diff to previous 1.32 (colored)

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

Revision 1.32 / (download) - annotate - [select for diffs], Thu Jul 21 01:52:28 2022 UTC (19 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.31: +10 -10 lines
Diff to previous 1.31 (colored)

Rename functions in previous in preparation for future changes.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Jul 20 17:03:10 2022 UTC (19 months ago) by thorpej
Branch: MAIN
Changes since 1.30: +31 -12 lines
Diff to previous 1.30 (colored)

Localize direct refernces to kernel symbols into functions.  NFC.

Revision 1.29.6.1 / (download) - annotate - [select for diffs], Sun Aug 1 22:42:00 2021 UTC (2 years, 6 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Sync with HEAD.

Revision 1.30 / (download) - annotate - [select for diffs], Sat Jul 24 21:31:32 2021 UTC (2 years, 6 months ago) by andvar
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored)

Fix all remaining typos, mainly in comments but also in few definitions and log messages, reported by me in PR kern/54889.
Also fixed some additional typos in comments, found on review of same files or typos.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Sep 18 00:09:29 2020 UTC (3 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf
Changes since 1.28: +18 -2 lines
Diff to previous 1.28 (colored)

- Add exception_return() to the list of trap vector symbols, which will
  enable us to trace back through an exception if the fault happens
  during the exception return.
- Identify and report the kernel thread backstop when back tracing
  kernel threads.

Revision 1.27.8.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:05:53 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.27: +4 -4 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

sync with head

Revision 1.27.12.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:30:47 2012 UTC (12 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.27: +4 -4 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

merge to -current.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Feb 6 02:14:10 2012 UTC (12 years ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, tls-maxphys-base-20171202, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb8-mediatek-base, matt-nb8-mediatek, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, localcount-20160914, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.27: +4 -4 lines
Diff to previous 1.27 (colored)

Do a minor cleanup of alpha (this will make applying pullups post branching
easier).
u_int{8,16,32,64}_t -> uint{*}_t
Change all old-style definitions to C89 prototypes.
Whitespace cleanup.
Constification in db_disasm.c

Revision 1.26.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:43:50 2010 UTC (13 years, 6 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Sync with HEAD.

Revision 1.22.46.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:51:31 2010 UTC (13 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.22.46.3: +3 -3 lines
Diff to previous 1.22.46.3 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

sync with head.

Revision 1.26.4.1 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:11 2010 UTC (13 years, 7 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

sync with head

Revision 1.27 / (download) - annotate - [select for diffs], Thu Jul 1 02:38:26 2010 UTC (13 years, 7 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, rmind-uvmplock-nbase, rmind-uvmplock-base, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

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.

Revision 1.22.46.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:01:57 2010 UTC (13 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.22.46.2: +3 -8 lines
Diff to previous 1.22.46.2 (colored) to branchpoint 1.22 (colored)

sync with head

Revision 1.26 / (download) - annotate - [select for diffs], Sat Nov 21 05:35:40 2009 UTC (14 years, 3 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.25: +3 -4 lines
Diff to previous 1.25 (colored)

- Use lwp_getpcb() on Alpha.
- Replace and clean struct user usage, slightly simplify some code parts.
- Include sys/user.h in MD proc.h .

Revision 1.25 / (download) - annotate - [select for diffs], Wed Oct 21 21:11:58 2009 UTC (14 years, 4 months ago) by rmind
Branch: MAIN
Changes since 1.24: +2 -6 lines
Diff to previous 1.24 (colored)

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>.

Revision 1.22.46.2 / (download) - annotate - [select for diffs], Mon May 4 08:10:27 2009 UTC (14 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.22.46.1: +4 -3 lines
Diff to previous 1.22.46.1 (colored) to branchpoint 1.22 (colored)

sync with head.

Revision 1.22.42.2 / (download) - annotate - [select for diffs], Sun Sep 28 10:39:44 2008 UTC (15 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.22.42.1: +2 -1 lines
Diff to previous 1.22.42.1 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

Sync with HEAD.

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:33:16 2008 UTC (15 years, 5 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.23: +4 -3 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.23.4.1 / (download) - annotate - [select for diffs], Thu Jul 3 18:37:50 2008 UTC (15 years, 7 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.23: +4 -3 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

Sync with head.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Jul 2 19:49:58 2008 UTC (15 years, 7 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jymxensuspend-base, jym-xensuspend, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Changes since 1.23: +4 -3 lines
Diff to previous 1.23 (colored)

Remove proc_representative_lwp(), use a simple LIST_FIRST() instead.
OK by <ad>.

Revision 1.22.42.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:21:45 2008 UTC (15 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.22: +2 -9 lines
Diff to previous 1.22 (colored)

Sync with HEAD.

Revision 1.22.44.1 / (download) - annotate - [select for diffs], Sun May 18 12:31:20 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.22: +2 -9 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

sync with head.

Revision 1.22.46.1 / (download) - annotate - [select for diffs], Fri May 16 02:21:44 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.22: +2 -9 lines
Diff to previous 1.22 (colored)

sync with head.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:10 2008 UTC (15 years, 9 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, simonb-wapbl
Changes since 1.22: +2 -9 lines
Diff to previous 1.22 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:48:40 2007 UTC (16 years, 11 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.18: +29 -18 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.15.2.2 / (download) - annotate - [select for diffs], Mon Feb 26 09:05:32 2007 UTC (17 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.15.2.1: +29 -18 lines
Diff to previous 1.15.2.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

sync with head.

Revision 1.22 / (download) - annotate - [select for diffs], Thu Feb 22 04:51:26 2007 UTC (17 years ago) by thorpej
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, ppcoea-renovation-base, ppcoea-renovation, nick-net80211-sync-base, nick-net80211-sync, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, mjf-devfs-base, mjf-devfs, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-socklock-base1, ad-audiomp-base, ad-audiomp
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.21: +8 -8 lines
Diff to previous 1.21 (colored)

TRUE -> true, FALSE -> false

Revision 1.21 / (download) - annotate - [select for diffs], Wed Feb 21 23:48:10 2007 UTC (17 years ago) by thorpej
Branch: MAIN
Changes since 1.20: +6 -6 lines
Diff to previous 1.20 (colored)

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.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Feb 20 01:02:02 2007 UTC (17 years ago) by ad
Branch: MAIN
Changes since 1.19: +21 -10 lines
Diff to previous 1.19 (colored)

- 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.

Revision 1.19 / (download) - annotate - [select for diffs], Sat Feb 17 22:31:36 2007 UTC (17 years ago) by pavel
Branch: MAIN
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

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.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:01 2007 UTC (17 years ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge
Branch point for: yamt-idlelwp
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

Merge newlock2 to head.

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Sat Dec 30 20:45:21 2006 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

sync with head.

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Sat Oct 21 14:31:10 2006 UTC (17 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Update for proc_representative_lwp() / calcru() signature change.

Revision 1.16.8.1 / (download) - annotate - [select for diffs], Thu Sep 14 12:31:07 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

sync with head.

Revision 1.16.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:36:54 2006 UTC (17 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

sync with head

Revision 1.17 / (download) - annotate - [select for diffs], Wed Sep 6 23:58:20 2006 UTC (17 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, rpaulo-netinet-merge-pcb-base, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Branch point for: newlock2
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

Use p_find(addr, PFIND_LOCKED) in case the proclist_lock is held.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Dec 11 12:16:10 2005 UTC (18 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-pdpolicy, rpaulo-netinet-merge-pcb
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

merge ktrace-lwp.

Revision 1.10.2.4 / (download) - annotate - [select for diffs], Thu Nov 10 13:48:21 2005 UTC (18 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.10.2.3: +6 -5 lines
Diff to previous 1.10.2.3 (colored) next main 1.11 (colored)

Sync with HEAD. Here we go again...

Revision 1.15 / (download) - annotate - [select for diffs], Tue May 31 00:40:17 2005 UTC (18 years, 8 months ago) by chs
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Changes since 1.14: +6 -5 lines
Diff to previous 1.14 (colored)

adapt to const changes.

Revision 1.10.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:11:45 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.10.2.2: +2 -2 lines
Diff to previous 1.10.2.2 (colored)

Fix the sync with head I botched.

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:30:53 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.10.2.1: +0 -0 lines
Diff to previous 1.10.2.1 (colored)

Sync with HEAD.

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:31:03 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.10: +29 -30 lines
Diff to previous 1.10 (colored)

Sync with HEAD

Revision 1.14 / (download) - annotate - [select for diffs], Thu Jan 22 18:59:00 2004 UTC (20 years, 1 month ago) by nathanw
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Changes since 1.13: +17 -9 lines
Diff to previous 1.13 (colored)

In decode_prologue(), ignore positive-offset frame adjustments ("lda
sp, 64(sp)") on the theory that they're from the function epilogue,
which aggressive code motion has placed before the end of the
function's code.

Addresses my PR port-alpha/23996.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Oct 29 05:32:18 2003 UTC (20 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.12: +10 -23 lines
Diff to previous 1.12 (colored)

Simplify a little.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Oct 27 07:07:35 2003 UTC (20 years, 4 months ago) by chs
Branch: MAIN
Changes since 1.11: +6 -2 lines
Diff to previous 1.11 (colored)

uninitialized variables

Revision 1.11 / (download) - annotate - [select for diffs], Thu Oct 23 10:05:53 2003 UTC (20 years, 4 months ago) by ragge
Branch: MAIN
Changes since 1.10: +5 -5 lines
Diff to previous 1.10 (colored)

Fix NULL change lossage.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Jan 17 22:11:17 2003 UTC (21 years, 1 month ago) by thorpej
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.9: +6 -4 lines
Diff to previous 1.9 (colored)

Merge the nathanw_sa branch.

Revision 1.9.2.3 / (download) - annotate - [select for diffs], Mon Jun 24 22:03:07 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.9.2.2: +3 -3 lines
Diff to previous 1.9.2.2 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

Curproc->curlwp renaming.

Change uses of "curproc->l_proc" back to "curproc", which is more like the
original use. Bare uses of "curproc" are now "curlwp".

"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL)
so that it is always safe to reference curproc (*de*referencing curproc
is another story, but that's always been true).

Revision 1.9.2.2 / (download) - annotate - [select for diffs], Thu Feb 28 23:56:12 2002 UTC (21 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.9.2.1: +3 -3 lines
Diff to previous 1.9.2.1 (colored) to branchpoint 1.9 (colored)

Use proc_representative_lwp() instead of LIST_FIRST(&p->p_lwps) when
selecting a LWP for thread tracing.
XXX This doesn't affect t/t of single-LWP processes, but a better interface
XXX is needed to select a specific LWP of a multi-LWP process.

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Thu Aug 30 23:43:39 2001 UTC (22 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.9: +7 -5 lines
Diff to previous 1.9 (colored)

First cut at LWP and SA support on the alpha.
Doesn't break in ordinary multiuser mode; LWPs and SAs not yet tested.

Revision 1.4.2.4 / (download) - annotate - [select for diffs], Wed Dec 13 15:49:15 2000 UTC (23 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.4.2.3: +2 -2 lines
Diff to previous 1.4.2.3 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Sync with HEAD (for UBC fixes).

Revision 1.4.2.3 / (download) - annotate - [select for diffs], Wed Dec 13 14:48:53 2000 UTC (23 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.4.2.2: +4 -23 lines
Diff to previous 1.4.2.2 (colored) to branchpoint 1.4 (colored)

Sync with HEAD (for UBC fixes)

Revision 1.9 / (download) - annotate - [select for diffs], Wed Dec 13 03:16:36 2000 UTC (23 years, 2 months ago) by mycroft
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf, newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, kqueue, ifpoll-base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, fvdl_fs64_base, eeh-devprop-base, eeh-devprop
Branch point for: nathanw_sa
Changes since 1.8: +4 -23 lines
Diff to previous 1.8 (colored)

Do the md_syscall, __HAVE_MINIMAL_EMUL and __HAVE_SYSCALL_INTERN thangs.

Revision 1.4.2.2 / (download) - annotate - [select for diffs], Fri Dec 8 09:23:21 2000 UTC (23 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.4.2.1: +4 -3 lines
Diff to previous 1.4.2.1 (colored) to branchpoint 1.4 (colored)

Sync with HEAD.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Nov 22 04:28:13 2000 UTC (23 years, 3 months ago) by enami
Branch: MAIN
Changes since 1.7: +4 -3 lines
Diff to previous 1.7 (colored)

s/char \*/const &/ so that this file compiles again.

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 19:56:22 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.4: +132 -149 lines
Diff to previous 1.4 (colored)

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.

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 16:58:11 2000 UTC (23 years, 8 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.6: +116 -136 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Jun 4 17:04:47 2000 UTC (23 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5
Changes since 1.6: +116 -136 lines
Diff to previous 1.6 (colored)

ANSI'ify.

Revision 1.6 / (download) - annotate - [select for diffs], Fri May 26 03:34:24 2000 UTC (23 years, 9 months ago) by jhawk
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.5: +33 -30 lines
Diff to previous 1.5 (colored)

Rename the machine-specific stack trace printing functions
from db_stack_trace_cmd() to db_stack_trace_print(),
and add an additional argument, a function pointer for an
output routine (i.e. printf() or db_printf()).

Add db_stack_trace_cmd() in db_command.[ch], calling
db_stack_trace_print() with db_printf() as the printer.

Move count==-1 special handling from db_stack_trace_print() [nee
db_stack_trace_cmd()] to db_stack_trace_cmd() [nascent here].

Again, I'm unable to test compilation on all affected platforms,
so advance apologies for potential brokenness.

Revision 1.5 / (download) - annotate - [select for diffs], Thu May 25 19:57:30 2000 UTC (23 years, 9 months ago) by jhawk
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

Interface change: db_printsym() takes a third argument, pr, a function
pointer indicating how to print the symbol. This allows db_printsym()
to called in places where db_printf() is not an appropriate output
function.

While straightforward, apologies in advance if I've introduced any minor
syntax errors; I was unable to test compilation this on all the affected
platforms.

Revision 1.1.16.2 / (download) - annotate - [select for diffs], Mon Aug 2 19:32:41 1999 UTC (24 years, 6 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.1.16.1: +124 -96 lines
Diff to previous 1.1.16.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Update from trunk.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Jul 12 07:37:14 1999 UTC (24 years, 7 months ago) by ross
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase, chs-ubc2-base
Branch point for: thorpej_scsipi
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

Fix off-by-one comparison.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Jul 11 22:28:15 1999 UTC (24 years, 7 months ago) by ross
Branch: MAIN
Changes since 1.2: +124 -96 lines
Diff to previous 1.2 (colored)

* Big rototill: cleanup, reorganize, redo some things...
* New features:
	+ traceback for threads (i.e., pids):  db>trace/t 0t<pid>
	+ traceback over console restart (halt and SRM continue)
	+ print ipl in trapframes when it's known and it changed
	+ print emulation and system call entry name (!) if proc is known
	   --- syscall (240, netbsd.sys_nanosleep) ---

Revision 1.1.16.1 / (download) - annotate - [select for diffs], Mon Jun 21 00:46:02 1999 UTC (24 years, 8 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.1: +328 -3 lines
Diff to previous 1.1 (colored)

Sync w/ -current.

Revision 1.2 / (download) - annotate - [select for diffs], Mon May 31 20:42:15 1999 UTC (24 years, 8 months ago) by ross
Branch: MAIN
Changes since 1.1: +328 -3 lines
Diff to previous 1.1 (colored)

After some banging and bashing, commit Jason's new ddb traceback code.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Sat Sep 6 17:59:41 1997 UTC (26 years, 5 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.1.2.1: +25 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.1.2.1, Sat Sep 6 02:00:50 1997 UTC (26 years, 5 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.1: +0 -25 lines
FILE REMOVED

file db_trace.c was added on branch marc-pcmcia on 1997-09-06 17:59:41 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Sat Sep 6 02:00:50 1997 UTC (26 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, marc-pcmcia-base, kenh-if-detach-base, kenh-if-detach, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, eeh-paddr_t-base, eeh-paddr_t, chs-ubc-base, chs-ubc
Branch point for: marc-pcmcia, chs-ubc2

Add support for DDB (in-kernel debugger) to NetBSD/alpha, based on
such code for Mach 3's Alpha port.  Initially reworked for NetBSD/alpha
by Chris Demetriou, and then heavily hacked on by me.  Works, but is still
a little rough around the edges.  Known problems:

- Error recovery could be improved a bit.
- Back traces don't work.
- Single-stepping can be flaky, at times.  (Alpha doesn't have hardware
  support for single-stepping, and I'm not entirely convinced the
  MI DDB software-emulated single-stepping logic is 100% correct.)
- Logic for when to drop into DDB needs some improvement.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>