Commit Graph

18 Commits

Author SHA1 Message Date
scw
66cf68c402 On some platforms, sizeof(db_expr_t) > sizeof(long), so add a method
to select the right format string (at compile time) when displaying
variables of type db_expr_t.

This fixes a problem where ddb(4) would only display the low 32-bits
of registers for an ILP32 kernel on SH5, even though registers
(and db_expr_t) are always 64-bits wide.
2003-05-17 09:58:03 +00:00
enami
0f4835d18b Don't specify string width in the low level function like db_num_to_str.
The pretty printing should be done much higher level, and anyway the
value 10 doesn't make sense.
2003-03-02 13:39:40 +00:00
simonb
4eaa4d66a8 ANSIfy, KNF.
Make some variables and functions static when not used outside of a module.
Make variables in headers extern.
Delete the unused db_find_watchpoint() function.
2002-02-15 07:33:48 +00:00
lukem
1ac69d9cb3 add RCSIDs 2001-11-12 22:54:03 +00:00
sommerfeld
8951fce5df printf format safety 2000-07-08 17:10:22 +00:00
soren
6d6d07abe5 #include <sys/systm.h> for the snprintf() prototype. 2000-06-06 18:50:56 +00:00
jhawk
b756e7384d Stop using DDB-specific "%n" kprintf() format specifier. This was
important as db_sym() can be called through printf() rather than
db_printf(), causing a trap as the standard %n usage is invoked.

The DDB-specific %n code should disappear from subr_prf.c soon...
2000-06-06 05:06:25 +00:00
pk
b13e5d1469 Quote "AS IS" as in the majority of Carnegy Mellon notices. 1999-04-12 20:38:17 +00:00
pk
c40eb1cd97 Fix a pasto in copyright text which has been procreating like rabbits.. 1999-04-06 20:09:18 +00:00
cgd
65a65d45b2 fix various 64-bitness bugs. 1997-02-03 19:56:03 +00:00
christos
8c2e3b4b11 DDB prototype changes. 1996-02-05 01:56:47 +00:00
mycroft
4f0f8fdfc4 db_error() does not return. 1994-10-09 08:56:23 +00:00
mycroft
9085601009 Clean up #includes. 1994-10-09 08:29:55 +00:00
mycroft
da4e97dcc4 Add prototypes. 1994-10-09 08:19:29 +00:00
cgd
cf92afd66e New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD' 1994-06-29 06:29:24 +00:00
mycroft
f1a5c33098 Canonicalize all #includes. 1993-12-18 04:46:25 +00:00
cgd
37cabe305e add explicit rcs id 1993-05-20 03:39:04 +00:00
cgd
61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00