Commit Graph

114 Commits

Author SHA1 Message Date
mycroft 12da023cd4 db_expr_t became a long. 1997-02-03 23:36:09 +00:00
cgd a34fffe676 part of the SOFTWARE_SSTEP code was mips-specific. #ifdef it appropriately.
fix various 64-bitness bugs.
fix various -Wall bugs.
1997-02-03 19:57:41 +00:00
cgd 3e34fdf8ac fix various 64-bitness bugs.
fix various db_printf format bugs (long vs. int, etc.).
1997-02-03 19:57:03 +00:00
cgd 4e829562bb needs systm.h for prototypes 1997-02-03 19:56:24 +00:00
cgd 65a65d45b2 fix various 64-bitness bugs. 1997-02-03 19:56:03 +00:00
thorpej c14ce368af Define db_onpanic variable; if non-zero, the DDB will be entered when
the kernel panics.  It may be initialized to 0 with the kernel option
"DDB_ONPANIC=0", and is patchable.  It may be changed at run-time
from within the DDB (as a DDB variable) or via the ddb.onpanic sysctl
node.

Export all DDB built-in variables via sysctl.
1997-01-09 05:37:02 +00:00
fvdl d5f094e14f Make this compile with -Wcast-qual 1996-10-28 08:42:13 +00:00
christos 17f5b2a175 backout previous kprintf changes 1996-10-13 04:10:34 +00:00
christos 5476886e52 printf -> kprintf, sprintf -> ksprintf 1996-10-10 17:47:29 +00:00
christos 3f15a06497 Recognize %.2x as %02x 1996-09-25 21:03:06 +00:00
cgd 34829de7f9 change more __kprintf__ format attributes to use __kprintf_attribute__,
rather than just __attribute__, so they can be #defined out on non-NetBSD
versions of gcc.
1996-04-04 05:13:50 +00:00
christos 6bfb8e5ce7 Fix cut'n'paste'o in %p previous fix. 1996-04-01 17:27:14 +00:00
christos e86e25ba54 Add __kprintf__ attributes to the printf functions 1996-03-31 21:43:17 +00:00
christos 9352303b25 Recognize %p formats so that ps/m works in ddb 1996-03-31 21:42:42 +00:00
christos f9c1d40866 Fix db_printf format specifications. 1996-03-30 22:30:03 +00:00
christos 73a848c28f - Fix db_printf format args.
- Recognize ':' as recursive printf; fixes PR/835
- cleanup error(1) output.
1996-03-30 22:28:45 +00:00
christos b4a31b1fc7 Kernel version of longjmp() does not take the return value of setjmp() as
an argument. setjmp() always returns 1.
1996-03-13 21:06:38 +00:00
christos bdc697d910 Bring setjmp/longjmp prototypes into scope. 1996-03-07 14:33:39 +00:00
gwr 5688147b3a Eliminate dependency on /usr/include/* 1996-02-27 20:54:43 +00:00
gwr eebcc06b89 eliminate setjmp.h 1996-02-13 17:39:01 +00:00
christos 8c2e3b4b11 DDB prototype changes. 1996-02-05 01:56:47 +00:00
cgd f5655b153b fix paste-o 1995-11-24 22:13:08 +00:00
cgd 5cd2526d5c db_lastsym (cast from pointer) should be long not int. db_maxoff -> db_expr_t 1995-11-23 01:42:08 +00:00
gwr e3c55a3fdd Need to include <vm/vm.h> 1995-10-26 14:52:33 +00:00
mycroft c32738aa00 Fix nits pointed out by GCC 2.7. 1995-10-16 05:28:14 +00:00
gwr e7f3fdcd35 Avoid printing values as "end+0x...." 1995-05-24 20:21:00 +00:00
gwr 138e648f63 Leave db_recover as it was on entry to avoid endless "exception in ddb"...
(Don't need to frob it at all here because db_command_loop does it.)
1994-12-02 06:07:37 +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 f77d6c1435 Remove bogus definition of cnpollc(). 1994-10-26 17:57:50 +00:00
mycroft 4f0f8fdfc4 db_error() does not return. 1994-10-09 08:56:23 +00:00
mycroft 72fa9c8429 Get rid of unneeded `extern's. 1994-10-09 08:41:20 +00:00
mycroft 07dbafe712 Use BYTE_ORDER, not BYTE_[LM]SF. 1994-10-09 08:37:35 +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
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
deraadt b9e352dcab knf 1994-06-29 22:41:41 +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
gwr 1eb40c985f Fix test for empty db_symtab on big-endian machines. 1994-06-03 01:58:32 +00:00
pk c36241bbed Add "show callout". 1994-04-27 10:49:07 +00:00
mycroft 6f516e261c Try to deal with db_print_loc_and_inst() generatings a fault. 1994-04-04 08:59:38 +00:00
pk 4ccdc884fc struct command => struct db_command, and define it in db_command.h 1994-03-23 20:00:56 +00:00
mycroft a3f9e2d2fa Remove RCS logs. 1994-02-15 14:50:41 +00:00
mycroft 775954567e #if --> #ifdef 1994-01-31 23:55:06 +00:00
mycroft 7fd3f9fac7 Pointers to arrays behave oddly in C... 1994-01-09 22:56:07 +00:00
mycroft 6b3e4e6b02 Push and pop db_recover for error handling, so we can set up temporary catch
points easily.  (Alluded to by m68k code, but not implemented yet for some
reason.)
1994-01-09 22:35:10 +00:00
mycroft 642b725370 Rearrange some #includes. 1994-01-08 01:01:50 +00:00
mycroft 477bf7cb90 Canonicalize all #includes. 1993-12-18 04:54:21 +00:00
mycroft f1a5c33098 Canonicalize all #includes. 1993-12-18 04:46:25 +00:00
briggs a69a3d2260 Non i386 machines are polite and don't point at instructions. They
count 'em.  Just to be nice, access the program counter with a macro...
1993-12-15 15:08:11 +00:00
brezak 4881cb0d51 Call vm_map_print and vm_object_print with func ptr to db_printf. Add DDB_MACHINE_COMMANDS from Mach 3.0 version. 1993-09-13 14:08:54 +00:00
brezak aaf4f8dbc5 Changes for boot loading of symbols. 1993-08-29 12:48:10 +00:00
mycroft aee4b07b8a Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
1993-08-02 17:48:44 +00:00
brezak cf65527c36 Allow adding more than one symbol table at runtime. For LKM. 1993-07-22 13:03:00 +00:00
brezak 18e5b218df Remove read from file. Merge changes from mach DDB. 1993-07-22 13:02:15 +00:00
brezak 4404af90d7 Add 'ps' command. Add -more- pager to output from Mach ddb. 1993-07-15 18:35:00 +00:00
brezak 98628d1c90 Print symbolic args and line no's in stack traces. 1993-07-10 03:25:45 +00:00
brezak bb39e46611 Print symbolic args and line no's in stack traces. 1993-07-10 03:25:02 +00:00
cgd 37cabe305e add explicit rcs id 1993-05-20 03:39:04 +00:00
cgd 95fbe94b7f make SYMTAB_SPACE user-definable, as an "option" 1993-05-07 09:13:53 +00:00
cgd e541169ce2 after 0.2.2 "stable" patches applied 1993-03-21 18:04:42 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00