The NetBSD Project

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.63: download - view: text, markup, annotated - select for diffs
Tue Sep 26 14:33:55 2023 UTC (14 months, 2 weeks ago) by tsutsui
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +3 -3 lines
TAB/space cleanup.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Tue Sep 26 12:46:30 2023 UTC (14 months, 2 weeks ago) by tsutsui
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +9 -9 lines
Remove trailing spaces and TABs.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Tue Jul 26 16:51:42 2022 UTC (2 years, 4 months ago) by chs
Branches: MAIN
CVS tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, 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
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +5 -3 lines
curlwp is only available for ifdef _KERNEL.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Mon Jul 25 01:59:26 2022 UTC (2 years, 4 months ago) by chs
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +5 -4 lines
use the pcb of the thread we are tracing rather than always curlwp.

Revision 1.57.6.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:24 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.57.6.1: preferred, colored; branchpoint 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.6.1: +2 -1 lines
update from HEAD

Revision 1.58.6.1: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:09:37 2015 UTC (8 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +4 -3 lines
Sync with HEAD (as of 26th Dec)

Revision 1.59: download - view: text, markup, annotated - select for diffs
Sun Oct 18 17:13:32 2015 UTC (9 years, 1 month ago) by maxv
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, 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, netbsd-9-base, netbsd-9-4-RELEASE, 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-3-RELEASE, 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, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +4 -3 lines
Add some {} when the meaning is too ambiguous. From Brainy.

Revision 1.57.6.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:11 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +6 -2 lines
Rebase to HEAD as of a few days ago.

Revision 1.56.8.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:39:56 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.56.8.1: preferred, colored; branchpoint 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56.8.1: +6 -2 lines
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")

Revision 1.57.10.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:16 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +6 -2 lines
sync with head

Revision 1.58: download - view: text, markup, annotated - select for diffs
Thu Nov 7 01:49:46 2013 UTC (11 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, 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
Branch point for: nick-nhusb
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +6 -2 lines
add ifdefs for kernel only variable

Revision 1.56.8.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:06:35 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +34 -38 lines
sync with head

Revision 1.56.12.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:32:30 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +34 -38 lines
merge to -current.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Tue Jan 31 21:17:57 2012 UTC (12 years, 10 months ago) by mlelstv
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, 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-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, 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, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +34 -38 lines
Enable build of crash(8) for m86k platforms.

Revision 1.55.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:44:47 2010 UTC (14 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55: +3 -3 lines
Sync with HEAD.

Revision 1.52.20.3: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:52:19 2010 UTC (14 years, 4 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.52.20.2: preferred, colored; branchpoint 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52.20.2: +3 -3 lines
sync with head.

Revision 1.55.4.1: download - view: text, markup, annotated - select for diffs
Sat Jul 3 01:19:22 2010 UTC (14 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55: +3 -3 lines
sync with head

Revision 1.56: download - view: text, markup, annotated - select for diffs
Thu Jul 1 02:38:27 2010 UTC (14 years, 5 months ago) by rmind
Branches: 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
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +3 -3 lines
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.52.20.2: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:02:34 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.52.20.1: preferred, colored; branchpoint 1.52: preferred, colored
Changes since revision 1.52.20.1: +8 -14 lines
sync with head

Revision 1.55: download - view: text, markup, annotated - select for diffs
Mon Nov 23 00:11:44 2009 UTC (15 years ago) by rmind
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +8 -10 lines
Use lwp_getpcb() on m68k ports, clean from struct user usage.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Wed Oct 21 21:12:00 2009 UTC (15 years, 1 month ago) by rmind
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +2 -6 lines
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.52.20.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:11:26 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +4 -3 lines
sync with head.

Revision 1.52.16.1: download - view: text, markup, annotated - select for diffs
Sun Sep 28 10:40:02 2008 UTC (16 years, 2 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +4 -3 lines
Sync with HEAD.

Revision 1.52.22.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:33:29 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +4 -3 lines
Sync with wrstuden-revivesa-base-2.

Revision 1.52.24.1: download - view: text, markup, annotated - select for diffs
Thu Jul 3 18:37:54 2008 UTC (16 years, 5 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +4 -3 lines
Sync with head.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Wed Jul 2 19:49:58 2008 UTC (16 years, 5 months ago) by rmind
Branches: 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
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +4 -3 lines
Remove proc_representative_lwp(), use a simple LIST_FIRST() instead.
OK by <ad>.

Revision 1.51.10.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:18:12 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51: +2 -2 lines
sync with HEAD

Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:55:12 2007 UTC (17 years, 1 month ago) by garbled
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, wrstuden-revivesa-base-1, wrstuden-revivesa-base, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, ad-socklock-base1
Branch point for: yamt-nfs-mp, wrstuden-revivesa, simonb-wapbl, mjf-devfs2
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +2 -2 lines
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.

Revision 1.41.2.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:27:13 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.41.2.2: preferred, colored; branchpoint 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41.2.2: +6 -6 lines
sync with head.

Revision 1.45.10.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 07:03:38 2007 UTC (17 years, 3 months ago) by wrstuden
Branches: wrstuden-fixsa
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +6 -6 lines
Sync w/ NetBSD-4-RC_1

Revision 1.50.4.1: download - view: text, markup, annotated - select for diffs
Sun Jul 15 13:16:16 2007 UTC (17 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +6 -6 lines
Sync with head.

Revision 1.50.6.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:00:25 2007 UTC (17 years, 5 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +6 -6 lines
Sync with head.

Revision 1.50.12.1: download - view: text, markup, annotated - select for diffs
Tue Jun 26 18:12:49 2007 UTC (17 years, 5 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +6 -6 lines
Sync with HEAD.

Revision 1.45.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 18 09:31:06 2007 UTC (17 years, 5 months ago) by liamjfoy
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-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, matt-nb4-arm-base, matt-nb4-arm
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +6 -6 lines
Pull up following revision(s) (requested by mhitch in ticket #728):
	sys/arch/mvme68k/mvme68k/locore.s: revision 1.98
	sys/arch/mac68k/mac68k/trap.c: revision 1.128
	sys/arch/next68k/next68k/locore.s: revision 1.48
	sys/arch/mac68k/mac68k/locore.s: revision 1.152
	sys/arch/sun3/sun3/locore.s: revision 1.88
	sys/arch/sun2/sun2/locore.s: revision 1.19
	sys/arch/sun2/sun2/trap.c: revision 1.32
	sys/arch/m68k/m68k/db_trace.c: revision 1.51
	sys/arch/mvme68k/mvme68k/trap.c: revision 1.90
	sys/arch/news68k/news68k/trap.c: revision 1.53
	sys/arch/luna68k/luna68k/locore.s: revision 1.27
	sys/arch/atari/atari/locore.s: revision 1.99
	sys/arch/sun3/sun3/trap.c: revision 1.130
	sys/arch/x68k/x68k/trap.c: revision 1.89
	sys/arch/next68k/next68k/trap.c: revision 1.67
	sys/arch/x68k/x68k/locore.s: revision 1.79
	sys/arch/news68k/news68k/locore.s: revision 1.43
	sys/arch/luna68k/luna68k/trap.c: revision 1.46
	sys/arch/hp300/hp300/locore.s: revision 1.140
	sys/arch/cesfic/cesfic/locore.s: revision 1.15
	sys/arch/cesfic/cesfic/trap.c: revision 1.35
	sys/arch/m68k/m68k/trap_subr.s: revision 1.12
	sys/arch/amiga/amiga/locore.s: revision 1.143
Pass a frame pointer to trap() rather than the 'entire frame' trick.  Gcc4
was optimizing away modifications to the frame contents (it's not nice to
trick gcc).  Pass the pointer as the first argument to reduce the number
of places that would be changed otherwise.  Fixes the getcwd regression
test on most m68k ports.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Tue Jun 12 03:34:29 2007 UTC (17 years, 6 months ago) by mhitch
Branches: MAIN
CVS tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, jmcneill-pm, hpcarm-cleanup, bouyer-xenamd64
Branch point for: matt-armv6
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +6 -6 lines
Pass a frame pointer to trap() rather than the 'entire frame' trick.  Gcc4
was optimizing away modifications to the frame contents (it's not nice to
trick gcc).  Pass the pointer as the first argument to reduce the number
of places that would be changed otherwise.  Fixes the getcwd regression
test on most m68k ports.

Revision 1.45.8.1: download - view: text, markup, annotated - select for diffs
Tue Feb 27 16:51:58 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +29 -20 lines
- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.41.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:07:13 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.41.2.1: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.2.1: +29 -20 lines
sync with head.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Thu Feb 22 17:09:44 2007 UTC (17 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, ppcoea-renovation, mjf-ufs-trans
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +11 -11 lines
TRUE -> true, FALSE -> false

Revision 1.49: download - view: text, markup, annotated - select for diffs
Thu Feb 22 13:50:36 2007 UTC (17 years, 9 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +3 -3 lines
Fix lossage on bool changes.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Wed Feb 21 23:48:11 2007 UTC (17 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +5 -5 lines
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.47: download - view: text, markup, annotated - select for diffs
Tue Feb 20 01:02:03 2007 UTC (17 years, 9 months ago) by ad
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +21 -12 lines
- 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.46: download - view: text, markup, annotated - select for diffs
Sat Feb 17 22:31:38 2007 UTC (17 years, 9 months ago) by pavel
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +3 -3 lines
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.41.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:46:25 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +12 -10 lines
sync with head.

Revision 1.42.8.2: download - view: text, markup, annotated - select for diffs
Thu Sep 14 12:31:11 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.42.8.1: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.8.1: +3 -3 lines
sync with head.

Revision 1.42.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:40:59 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +12 -10 lines
sync with head

Revision 1.45: download - view: text, markup, annotated - select for diffs
Wed Sep 6 23:58:20 2006 UTC (18 years, 3 months ago) by ad
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, rpaulo-netinet-merge-pcb-base, post-newlock2-merge, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base
Branch point for: yamt-idlelwp, wrstuden-fixsa, netbsd-4
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +3 -3 lines
Use p_find(addr, PFIND_LOCKED) in case the proclist_lock is held.

Revision 1.42.8.1: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:42:01 2006 UTC (18 years, 4 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +11 -9 lines
sync with head

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sat Jul 22 06:58:17 2006 UTC (18 years, 4 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-pdpolicy-base8, yamt-pdpolicy-base7, abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +5 -5 lines
TAB/space cleanup.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Sat Jul 22 06:34:42 2006 UTC (18 years, 4 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +8 -6 lines
KNF and misc cosmetics

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:17:59 2005 UTC (19 years ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, 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
Branch point for: yamt-pdpolicy, rpaulo-netinet-merge-pcb
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -2 lines
merge ktrace-lwp.

Revision 1.38.2.5: download - view: text, markup, annotated - select for diffs
Thu Nov 10 13:57:09 2005 UTC (19 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.38.2.4: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38.2.4: +6 -6 lines
Sync with HEAD. Here we go again...

Revision 1.41: download - view: text, markup, annotated - select for diffs
Mon May 30 21:15:28 2005 UTC (19 years, 6 months ago) by he
Branches: 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
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +6 -6 lines
Adapt to recent constification of db_interface.h and db_sym.h.

Revision 1.38.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:17:56 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.38.2.3: preferred, colored
Changes since revision 1.38.2.3: +2 -2 lines
Fix the sync with head I botched.

Revision 1.38.2.3: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:36:38 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.38.2.2: preferred, colored
Changes since revision 1.38.2.2: +2 -2 lines
Sync with HEAD.

Revision 1.38.2.2: download - view: text, markup, annotated - select for diffs
Fri Sep 3 12:44:56 2004 UTC (20 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.38.2.1: preferred, colored
Changes since revision 1.38.2.1: +21 -37 lines
Sync with HEAD

Revision 1.40: download - view: text, markup, annotated - select for diffs
Sat Aug 28 22:06:28 2004 UTC (20 years, 3 months ago) by thorpej
Branches: 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, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +21 -37 lines
Use ANSI function decls and static.

Revision 1.38.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:36:59 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +4 -1 lines
Sync with HEAD

Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Jul 15 02:43:12 2003 UTC (21 years, 5 months ago) by lukem
Branches: MAIN
CVS tags: 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
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +4 -1 lines
__KERNEL_RCSID()

Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Jan 17 23:18:28 2003 UTC (21 years, 10 months ago) by thorpej
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +6 -3 lines
Merge the nathanw_sa branch.

Revision 1.34.8.4: download - view: text, markup, annotated - select for diffs
Mon Nov 11 21:59:39 2002 UTC (22 years, 1 month ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.34.8.3: preferred, colored; branchpoint 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34.8.3: +1 -3 lines
Catch up to -current

Revision 1.37: download - view: text, markup, annotated - select for diffs
Sat Oct 26 13:24:55 2002 UTC (22 years, 1 month ago) by jdolecek
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +1 -3 lines
g/c local offsetof(), it's defined in libkern.h

Revision 1.34.8.3: download - view: text, markup, annotated - select for diffs
Fri Jul 12 01:39:35 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.34.8.2: preferred, colored; branchpoint 1.34: preferred, colored
Changes since revision 1.34.8.2: +1 -2 lines
No longer need to pull in lwp.h; proc.h pulls it in for us.

Revision 1.34.4.1: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:37:41 2002 UTC (22 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +2 -3 lines
catch up with -current on kqueue branch

Revision 1.34.8.2: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:39:20 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.34.8.1: preferred, colored; branchpoint 1.34: preferred, colored
Changes since revision 1.34.8.1: +2 -3 lines
Catch up to -current.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue May 14 00:14:53 2002 UTC (22 years, 7 months ago) by matt
Branches: MAIN
CVS tags: 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, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gehenna-devsw-base, gehenna-devsw
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -1 lines
#include <db/db_extern.h>

Revision 1.35: download - view: text, markup, annotated - select for diffs
Mon May 13 20:30:09 2002 UTC (22 years, 7 months ago) by matt
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +1 -3 lines
Nuke local extern label_t *db_recover;  it's now in <ddb/db_extern.h>

Revision 1.34.8.1: download - view: text, markup, annotated - select for diffs
Sat Nov 17 13:07:53 2001 UTC (23 years ago) by scw
Branches: nathanw_sa
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +7 -3 lines
Kernel support for Scheduler Activations on m68k-based ports using
mvme68k as a testbed.

Boots multi-user on an mvme162, although userland support for SA is not
yet integrated/tested.

Revision 1.26.2.2: download - view: text, markup, annotated - select for diffs
Sun Feb 11 19:10:58 2001 UTC (23 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.26.2.1: preferred, colored; branchpoint 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26.2.1: +37 -122 lines
Sync with HEAD.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Feb 7 23:30:27 2001 UTC (23 years, 10 months ago) by chs
Branches: 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, ifpoll-base, eeh-devprop-base, eeh-devprop
Branch point for: nathanw_sa, kqueue
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -2 lines
missed an underscore in previous.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Feb 7 06:13:21 2001 UTC (23 years, 10 months ago) by chs
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2 lines
fix previous to work with a.out as well.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Mon Feb 5 12:37:33 2001 UTC (23 years, 10 months ago) by chs
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +33 -118 lines
remove signal trampoline stuff since it'll never be used in the kernel.
clean up the ELF support.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Thu Jan 18 10:54:28 2001 UTC (23 years, 10 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -3 lines
make db_[e]regs[] const

Revision 1.30: download - view: text, markup, annotated - select for diffs
Thu Jan 18 09:49:02 2001 UTC (23 years, 10 months ago) by scw
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -3 lines
const'ify the 1st parameter of db_var_short() to account for the
recent "struct db_variable" change.

Revision 1.26.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 20:11:40 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +80 -44 lines
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.29: download - view: text, markup, annotated - select for diffs
Thu Aug 10 08:02:36 2000 UTC (24 years, 4 months ago) by scw
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +54 -21 lines
Add a `/t' modifier to the m68k ddb's `trace' command. This enables
one to perform a kernel traceback of any (non-swapped-out) process in
the system. For example, to show the traceback for PID 178:

  db> t/t 0t178
  trace: pid 178 at 0xabcd68
  _mi_switch(0x109f60) + 164
  ...
  db>

Revision 1.27.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 17:01:11 2000 UTC (24 years, 5 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27: +2 -2 lines
Sync w/ netbsd-1-5-base.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sat May 27 16:44:41 2000 UTC (24 years, 6 months ago) by jhawk
Branches: 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
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -2 lines
Oops, omitted the rename from last.
Function in this file is db_stack_trace_print(),
not db_stack_trace_cmd().

Revision 1.27: download - view: text, markup, annotated - select for diffs
Fri May 26 03:34:27 2000 UTC (24 years, 6 months ago) by jhawk
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +30 -27 lines
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.26: download - view: text, markup, annotated - select for diffs
Sat Sep 25 21:11:55 1999 UTC (25 years, 2 months ago) by is
Branches: 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
Branch point for: thorpej_scsipi
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +4 -4 lines
vm_offset_t -> db_addr_t (mostly), v_addr_t (one place).

Revision 1.25.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 5 17:17:05 1999 UTC (25 years, 8 months ago) by scw
Branches: netbsd-1-4
Diff to: previous 1.25.2.1: preferred, colored; branchpoint 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25.2.1: +619 -0 lines
Add a check to my last 'fix' which ensures the fault really
did happen in kernel mode.

Revision 1.25.2.1
Mon Apr 5 17:17:04 1999 UTC (25 years, 8 months ago) by scw
Branches: netbsd-1-4
FILE REMOVED
Changes since revision 1.25: +0 -619 lines
file db_trace.c was added on branch netbsd-1-4 on 1999-04-05 17:17:05 +0000

Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon Apr 5 17:17:04 1999 UTC (25 years, 8 months ago) by scw
Branches: MAIN
CVS tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, chs-ubc2-base, chs-ubc2
Branch point for: netbsd-1-4
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +18 -7 lines
Add a check to my last 'fix' which ensures the fault really
did happen in kernel mode.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Apr 4 11:33:02 1999 UTC (25 years, 8 months ago) by scw
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +35 -1 lines
Fix a problem I noticed a while back but had too many other things
in the air to deal with it.
Basically, following a kernel fault (eg. dereferencing a NULL pointer
in kernel mode) a DDB 'trace' did not show the function where the
fault occurred. For example:

	db> trace
	_Debugger()
	_panic()
	_trap()
	faultstkadj()
	_pool_drain()
	_uvm_pageout()
	_start_pagedaemon()
	_proc_trampoline()
	db>

The 'faultstkadj()' line here is bogus. It is shown because the return
address to 'trap()' happens to point there, and since faultstkadj() has
no stack frame, DDB assumes it was the faulting function. In this example,
the _real_ function was pool_reclaim(), but you would have to look at
the program counter at the time of the fault to figure that one out.

This fix makes the trace command do the dirty work for you by grubbing
around in 'trap()'s argument list to find the *real* PC value at the
time of the fault, replacing the 'faultstkadj()' line with the real
function's name.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Jan 15 23:15:50 1999 UTC (25 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +1 -5 lines
Eliminate use of CPP symbol "mc68020".

Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu May 14 10:15:44 1998 UTC (26 years, 7 months ago) by dbj
Branches: MAIN
CVS tags: kenh-if-detach-base, kenh-if-detach, eeh-paddr_t-base, eeh-paddr_t, chs-ubc-base, chs-ubc
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +4 -2 lines
Fixed stack trace address printing lossage when no symbols are available.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Apr 13 02:51:32 1998 UTC (26 years, 8 months ago) by scottr
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +14 -14 lines
Make type explicit for egcs, from Erik Bertelsen in PR 5287.
Dump the register qualifier while we're here, as suggested in the PR.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Feb 5 05:10:25 1997 UTC (27 years, 10 months ago) by scottr
Branches: MAIN
CVS tags: thorpej-signal-base, thorpej-signal, 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, mrg-vm-swap, marc-pcmcia-bp, marc-pcmcia-base, marc-pcmcia, is-newarp-before-merge, is-newarp-base, is-newarp, bouyer-scsipi
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +6 -5 lines
db_expr_t is now a long.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Feb 4 18:15:18 1997 UTC (27 years, 10 months ago) by gwr
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +19 -19 lines
Adapt to changed definition of struct db_variable.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Jan 27 23:07:04 1997 UTC (27 years, 10 months ago) by gwr
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +32 -36 lines
Update for new struct member names in db_regs_t.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Jan 15 23:11:48 1997 UTC (27 years, 11 months ago) by gwr
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +5 -5 lines
Use db_regs_t instead of struct mc68020_saved_state

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Apr 29 20:50:29 1996 UTC (28 years, 7 months ago) by leo
Branches: MAIN
CVS tags: thorpej-setroot, netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +23 -8 lines
Prototype + -Wall fixes.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Feb 22 23:23:41 1996 UTC (28 years, 9 months ago) by gwr
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -4 lines
Remove the hack that faked up an "ssp" value.  It is now up to
locore.s to put the right sp in the frame.  Also move memory
access code into db_memrw.c so it can be taken separately.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue Feb 13 17:34:46 1996 UTC (28 years, 10 months ago) by gwr
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +5 -3 lines
Oops, label_t does not have implicit pointer type like jmp_buf

Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:51:41 1996 UTC (28 years, 10 months ago) by gwr
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +4 -5 lines
eliminate setjmp.h

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed May 24 20:23:34 1995 UTC (29 years, 6 months ago) by gwr
Branches: MAIN
CVS tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +8 -1 lines
Fix range check for kernel stack pointers.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Nov 14 20:53:55 1994 UTC (30 years, 1 month ago) by gwr
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +17 -3 lines
Fix disassembly of 8-bit branch displacements (sign extend).
Fix invalid array references disassembling float instructions.
Make the system stack pointer visible in show regs.
Make "sr" a proper short, remove some junk...

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Oct 26 07:51:09 1994 UTC (30 years, 1 month ago) by cgd
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -0 lines
new RCS ID format.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri May 13 04:41:43 1994 UTC (30 years, 7 months ago) by gwr
Branches: MAIN
CVS tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
Fix parentheses bug in code that counts function args.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Jan 31 23:50:40 1994 UTC (30 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +31 -22 lines
Default to displaying 5 args if size is unknown.  Allow for multiple addq's
following the jsr.  Don't try to trace into the user's stack.  Other minor
cleanup.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Jan 10 17:59:45 1994 UTC (30 years, 11 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +7 -2 lines
Deal with linkl in addition to linkw.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Jan 10 02:18:34 1994 UTC (30 years, 11 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +1 -1 lines
Fix a buglet.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Jan 9 22:28:50 1994 UTC (30 years, 11 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -4 lines
Fix jmp_buf definitions.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Jan 9 21:24:46 1994 UTC (30 years, 11 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +270 -271 lines
KNFify, and fix a condition where we might miss the register saves if the
frame length is short.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Jan 9 16:13:05 1994 UTC (30 years, 11 months ago) by cgd
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -44 lines
kill logs, and clean up.  some of this will need cpu-dependent hooks.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Aug 10 08:42:55 1993 UTC (31 years, 4 months ago) by glass
Branches: MAIN
CVS tags: to_lamp_cvs, magnum-base, glass-home4, first_uplaod
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +5 -2 lines
fixed problem that caused two consecutive segments to be using the same
pmeg unknowingly.  still too many printfs, not sure how many are actualy
in the machine dependent code.  reaches cpu_startup() where it stops
deliberately. next project: autoconfig(), maybe kgdb

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Aug 8 12:22:09 1993 UTC (31 years, 4 months ago) by glass
Branches: MAIN
lots of changes, too many printfs

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>