Commit Graph

29 Commits

Author SHA1 Message Date
christos
67f79fd48b add MAP_PRIVATE 2013-03-10 19:32:29 +00:00
christos
28d11a42f4 make crash traces work on sparc64 2013-03-04 20:10:50 +00:00
apb
f669c7071f Add references to ${_NETBSD_VERSION_DEPENDS} for files that
need to be re-created when the NetBSD version changes.  They
will also be re-created when any build settings are changed.
2012-11-04 11:12:31 +00:00
skrll
3bbaf20745 Don't advertise the abt/und/irq stack pointers as accessible to crash(8)
when they're not
2012-08-31 11:52:39 +00:00
christos
d89c1403e3 m68k does not have or need db_machdep.c 2012-02-18 17:56:49 +00:00
christos
0dbbdb2346 revert sparc64 hack 2012-02-18 15:57:06 +00:00
martin
da57bcbaec Fix build for sparc64 2012-02-17 12:24:13 +00:00
christos
3ffab2efa8 use -n too, so that we don't get a dup note. 2012-02-16 20:36:13 +00:00
christos
dd63132492 - make this work for arm32
- factor out duplicated ifdefs
2012-02-16 02:37:43 +00:00
mlelstv
780696aa56 Enable build of crash(8) for m86k platforms. 2012-01-31 21:17:57 +00:00
skrll
3ddf4f6f16 Support crash(8) on hppa. 2012-01-18 09:35:48 +00:00
skrll
145bbccc40 Remove workaround for old binutils. 2012-01-17 18:44:24 +00:00
joerg
bec77c5f43 Use __dead 2011-08-31 13:32:36 +00:00
christos
a0ca34f556 document non-literal format 2011-08-16 08:04:17 +00:00
joerg
a216da57a6 Default to -Wno-sign-compare -Wno-pointer-sign for clang.
Push -Wno-array-bounds down to the cases that depend on it.
Selectively disable warnings for 3rd party software or non-trivial
issues to be reviewed later to get clang -Werror to build most of the
tree.
2011-05-26 12:56:24 +00:00
christos
acc16d96d1 Share the amd64 and i386 files.
XXX: Is there a better way to get the cpu family?
2011-04-30 16:57:58 +00:00
mrg
e813220ee8 enable crash(8) for sparc64. it's still sort of minimal and segvs
on some commands, but it sort of works and isn't useless.
2011-04-14 08:21:06 +00:00
mrg
8ca46a05f4 replace a non-working make construct with a working one.
now crash only builds unsupported.c on non-x86 systems again.
2011-04-12 01:47:20 +00:00
mrg
07a98cd33f obsolete DB_AOUT_SYMBOLS. however, we need to leave most of the code
in db_sym.[ch] as it is used by the elf version of crash(8).

i will be cleaning up the db_sym.c code in a follow up commit to avoid
having dead code compiled.
2011-04-11 04:22:30 +00:00
pgoyette
4516c056be Synchronize -N option name in Synopsis with that in the Description 2011-04-10 22:49:52 +00:00
christos
bee149d152 - amd64 support
- fix end of file handling
From: Vladimir Kirillov proger at wilab dot org dot ua
2011-04-10 20:39:42 +00:00
joerg
ff53df718a Create vers.c with -r, there is no point in embedding an ever changing
token that isn't even used.
2011-03-21 05:09:33 +00:00
christos
e1c0dee238 workaround for MKPIE=yes until binutils-2.20.1 is imported. From Piotr Meyer 2010-04-23 02:10:01 +00:00
roy
98eb889579 Userland now builds and uses terminfo instead of termcap.
OK: core@, jdc@
2010-02-03 15:34:37 +00:00
christos
432691963c Avoid -mcmodel=kernel so that we can build in PIC mode. 2009-06-04 12:19:35 +00:00
lukem
d877c4c3c0 Enable WARNS=4 by default, except for:
cpuctl  dumplfs  hprop  ipf  iprop-log  kadmin  kcm  kdc  kdigest
	kimpersonate  kstash  ktutil  makefs  ndbootd  ntp  pppd  quot
	racoon  racoonctl  rtadvd  sntp  sup  tcpdchk  tcpdmatch  tcpdump
	traceroute  traceroute6  user  veriexecgen  wsmoused  zic
(Mostly third-party applications)
2009-04-22 15:23:01 +00:00
lukem
2269fc7ff3 Fix -Wsign-compare issues 2009-04-16 06:52:08 +00:00
wiz
2f43aa5f3a Fix Xref, prepare for HTML output. 2009-03-15 21:43:28 +00:00
ad
101a9782a2 Add crash(8), a utility to diagnose kernel crashes. This is basically
ddb running on crash dumps, but with two notable changes:

- Breakpoints, watches, etc are obviously never going to work so they
  are not handled.

- You can pipe output to the shell, e.g. ps | grep foo

Items remaining to be done:

- Port it to architectures other than i386. This isn't difficult, just
  a case of making db_disasm.c/db_trace.c or their equivalent compile
  and work.

- Make more of the "show" commands work, e.g "show uvmexp".
2009-03-07 22:08:07 +00:00