aboutsummaryrefslogtreecommitdiff
path: root/sys/ddb/db_examine.c
Commit message (Collapse)AuthorAgeFilesLines
* Start each of the license/copyright comments with /*-Warner Losh2005-01-061-1/+1
| | | | Notes: svn path=/head/; revision=139747
* Use __FBSDID().David E. O'Brien2003-06-101-3/+3
| | | | Notes: svn path=/head/; revision=116176
* - Rename the DDB specific %z printf format to %y.Maxime Henrion2002-10-251-2/+2
| | | | | | | | | | | | | - Make DDB use %y instead of %z. - Teach GCC about %y. - Implement support for the C99 %z format modifier. Approved by: re@ Reviewed by: peter Tested on: i386, sparc64 Notes: svn path=/head/; revision=105954
* Don't assume that pointers are 4 bytes or sizeof(int) in size. This fixesThomas Moestl2002-06-251-5/+2
| | | | | | | | | the indirection operator ('*') and address examination ('x/a') on big-endian platoforms for which the above is not true, as well as on little-endian platforms if the cut-off bits are not 0. Notes: svn path=/head/; revision=98815
* Remove __P.Alfred Perlstein2002-03-201-2/+2
| | | | Notes: svn path=/head/; revision=92756
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50477
* Quiet warnings on Alpha. (db_expr_t is a long on alpha, int on x86)Peter Wemm1999-07-011-13/+13
| | | | Notes: svn path=/head/; revision=48407
* Restored used include of <sys/systm.h>. -Wmissing-prototypes doesn't workBruce Evans1999-05-131-1/+3
| | | | | | | for builtin functions. Notes: svn path=/head/; revision=47098
* Use not-so-new printf formats %r and/or %z instead of %n and/or %+x.Bruce Evans1998-07-081-5/+5
| | | | Notes: svn path=/head/; revision=37506
* Fixed db_printf format errors (except for ones using broken extensionsBruce Evans1998-07-081-7/+7
| | | | | | | | | | | | (nonstandard %n and '+' with %x), and ones not found by -Wformat on 386's (some db_expr_t's are still printed as ints). I decided not to change the arg type for %n from [unsigned] int to register_t, since about half of the uses of %n are to print plain ints and casting to [unsigned] long for %n is no harder than for %x. Notes: svn path=/head/; revision=37495
* Support 'g' format for printing 8 byte values.Doug Rabson1998-07-051-1/+5
| | | | Notes: svn path=/head/; revision=37390
* Use %+11ln for printing in r format to make it work for 64bit registers.Doug Rabson1998-06-271-7/+7
| | | | Notes: svn path=/head/; revision=37197
* Add initial support for the FreeBSD/alpha kernel. This is very much aDoug Rabson1998-06-101-2/+2
| | | | | | | | | | | | | work in progress and has never booted a real machine. Initial development and testing was done using SimOS (see http://simos.stanford.edu for details). On the SimOS simulator, this port successfully reaches single-user mode and has been tested with loads as high as one copy of /bin/ls :-). Obtained from: partly from NetBSD/alpha Notes: svn path=/head/; revision=36849
* Make DDB work again after I broke it :-(.Doug Rabson1998-06-081-2/+2
| | | | Notes: svn path=/head/; revision=36760
* This commit fixes various 64bit portability problems required forDoug Rabson1998-06-071-2/+2
| | | | | | | | | | | | | FreeBSD/alpha. The most significant item is to change the command argument to ioctl functions from int to u_long. This change brings us inline with various other BSD versions. Driver writers may like to use (__FreeBSD_version == 300003) to detect this change. The prototype FreeBSD/alpha machdep will follow in a couple of days time. Notes: svn path=/head/; revision=36735
* Fixed gratuitous ANSIisms.Bruce Evans1997-04-011-4/+3
| | | | Notes: svn path=/head/; revision=24490
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notPeter Wemm1997-02-221-1/+1
| | | | | | | ready for it yet. Notes: svn path=/head/; revision=22975
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Fixed the one remaining %r.Bruce Evans1996-01-211-2/+2
| | | | Notes: svn path=/head/; revision=13539
* Get rid of two and a half printf in the kernel.Poul-Henning Kamp1996-01-151-4/+4
| | | | | | | | | | | | | | | | | | | | | | | Add more features to the one remaining to handle the job: + signed quantity. # alternate format - left padding * read width as next arg. n numeric in (argument specified) default radix. Fix the DDB debugger to use these. Use vprintf in debug routine in pcvt. The warnings from gcc may become more wrong and intolerable because of this. Warning: I have not checked the entire source for unsupported or changed constructs, but generally belive that there are only a few. Suggested by: bde Notes: svn path=/head/; revision=13446
* Reduced and cleaned up #includes.Bruce Evans1995-12-101-3/+1
| | | | Notes: svn path=/head/; revision=12734
* Untangled the vm.h include file spaghetti.David Greenman1995-12-071-1/+2
| | | | Notes: svn path=/head/; revision=12662
* Staticized and '#ifdef notused' stuff we don't use.Poul-Henning Kamp1995-11-291-3/+3
| | | | Notes: svn path=/head/; revision=12515
* Completed function declarations and/or added prototypes and/or #includesBruce Evans1995-11-241-4/+8
| | | | | | | | | | | | | to get the prototypes. Changed some `int's to `boolean_t's. boolean_t's are ints so they are hard to distinguish from ints. Converted function headers to old-style. ddb is written in K&R1 C except where we broke it. Notes: svn path=/head/; revision=12473
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-8/+8
| | | | Notes: svn path=/head/; revision=8876
* Print the address associated with an examine. Changed db_maxoff toDavid Greenman1995-05-221-11/+4
| | | | | | | | something more reasonable (64k). Suggested by Gordon Ross about a year ago. Notes: svn path=/head/; revision=8698
* Fix up some sloppy coding practices:Garrett Wollman1994-08-181-4/+1
| | | | | | | | | | | | | | | - Delete redundant declarations. - Add -Wredundant-declarations to Makefile.i386 so they don't come back. - Delete sloppy COMMON-style declarations of uninitialized data in header files. - Add a few prototypes. - Clean up warnings resulting from the above. NB: ioconf.c will still generate a redundant-declaration warning, which is unavoidable unless somebody volunteers to make `config' smarter. Notes: svn path=/head/; revision=2112
* Change all #includes to follow the current Berkeley style. Some of theseGarrett Wollman1994-08-131-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | ``changes'' are actually not changes at all, but CVS sometimes has trouble telling the difference. This also includes support for second-directory compiles. This is not quite complete yet, as `config' doesn't yet do the right thing. You can still make it work trivially, however, by doing the following: rm /sys/compile mkdir /usr/obj/sys/compile ln -s M-. /sys/compile cd /sys/i386/conf config MYKERNEL cd ../../compile/MYKERNEL ln -s /sys @ rm machine ln -s @/i386/include machine make depend make Notes: svn path=/head/; revision=2056
* Make everything compile with -Wtraditional. Make it easier to distributeGarrett Wollman1993-12-191-6/+7
| | | | | | | | | | | | | | a binary link-kit. Make all non-optional options (pagers, procfs) standard, and update LINT to reflect new symtab requirements. NB: -Wtraditional will henceforth be forgotten. This editing pass was primarily intended to detect any constructions where the old code might have been relying on traditional C semantics or syntax. These were all fixed, and the result of fixing some of them means that -Wall is now a realistic possibility within a few weeks. Notes: svn path=/head/; revision=879
* Make the LINT kernel compile with -W -Wreturn-type -Wcomment -Werror, andGarrett Wollman1993-11-251-12/+12
| | | | | | | add same (sans -Werror) to Makefile for future compilations. Notes: svn path=/head/; revision=798
* Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, someRodney W. Grimes1993-10-161-27/+2
| | | | | | | minor cleanup. Added $Id$ to files that did not have any version info, etc Notes: svn path=/head/; revision=623
* Initial import, 0.1 + pk 0.2.4-B1Rodney W. Grimes1993-06-121-0/+364
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=4