scw
c55851c88b
Fix format string warnings for platforms where
...
sizeof(db_addr_t) > sizeof(long). e.g. ILP32 on sh5.
2003-11-09 20:52:18 +00:00
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
itojun
f9121aada7
switch to use strlcpy() from libkern.
2003-05-16 16:28:30 +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
cgd
e4eb4c6cd5
#include <systm.h> for string fn prototypes.
2001-02-24 00:00:12 +00:00
jmc
5649071c21
Add x/m option functionality
2000-12-28 07:30:06 +00:00
tv
242cedc18c
Add two new functions, db_format_radix() and db_format_hex(), which supplant
...
the former %r and %z nonstandard kprintf strings.
2000-08-09 19:51:44 +00:00
jhawk
f3528d725d
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.
2000-05-25 19:57:30 +00:00
augustss
5e3d7e5317
Die, register, die!
2000-03-30 11:31:26 +00:00
ross
66ffb4e4d6
New format modifier: L' gives true
long' vs l' or
legacy' long.
1999-05-31 06:53:45 +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
mycroft
12da023cd4
db_expr_t became a long.
1997-02-03 23:36:09 +00:00
cgd
65a65d45b2
fix various 64-bitness bugs.
1997-02-03 19:56:03 +00:00
christos
f9c1d40866
Fix db_printf format specifications.
1996-03-30 22:30:03 +00:00
christos
8c2e3b4b11
DDB prototype changes.
1996-02-05 01:56:47 +00:00
gwr
df82cd38bb
Make x/a print the address; simplify slightly.
1994-11-17 04:51:50 +00:00
gwr
21a1e8e747
When use default form when printing location (i.e. after step).
...
Use less space printing longs (so you can fit four per line).
1994-11-14 20:40:04 +00:00
mycroft
17ac077f4b
Fix some weird formatting.
1994-10-06 05:20:42 +00:00
gwr
3e676d4221
Fix data size specifiers and multiple format specifiers, like:
...
db> x/bxxxx ADDRESS
1994-09-26 17:10:15 +00:00
gwr
e49a8e54d0
Make "examine" (x/i) always print the address.
1994-06-30 12:49:54 +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