db_examine.c (139747) | db_examine.c (163134) |
---|---|
1/*- 2 * Mach Operating System 3 * Copyright (c) 1991,1990 Carnegie Mellon University 4 * All Rights Reserved. 5 * 6 * Permission to use, copy, modify and distribute this software and its 7 * documentation is hereby granted, provided that both the copyright 8 * notice and this permission notice appear in all copies of the --- 15 unchanged lines hidden (view full) --- 24 * rights to redistribute these changes. 25 */ 26/* 27 * Author: David B. Golub, Carnegie Mellon University 28 * Date: 7/90 29 */ 30 31#include <sys/cdefs.h> | 1/*- 2 * Mach Operating System 3 * Copyright (c) 1991,1990 Carnegie Mellon University 4 * All Rights Reserved. 5 * 6 * Permission to use, copy, modify and distribute this software and its 7 * documentation is hereby granted, provided that both the copyright 8 * notice and this permission notice appear in all copies of the --- 15 unchanged lines hidden (view full) --- 24 * rights to redistribute these changes. 25 */ 26/* 27 * Author: David B. Golub, Carnegie Mellon University 28 * Date: 7/90 29 */ 30 31#include <sys/cdefs.h> |
32__FBSDID("$FreeBSD: head/sys/ddb/db_examine.c 139747 2005-01-06 01:34:41Z imp $"); | 32__FBSDID("$FreeBSD: head/sys/ddb/db_examine.c 163134 2006-10-08 18:15:08Z bde $"); |
33 34#include <sys/param.h> 35#include <sys/systm.h> 36 37#include <ddb/ddb.h> 38 39#include <ddb/db_lex.h> 40#include <ddb/db_output.h> --- 130 unchanged lines hidden (view full) --- 171 break; 172 case 'I': /* instruction, alternate form */ 173 addr = db_disasm(addr, TRUE); 174 break; 175 default: 176 break; 177 } 178 if (db_print_position() != 0) | 33 34#include <sys/param.h> 35#include <sys/systm.h> 36 37#include <ddb/ddb.h> 38 39#include <ddb/db_lex.h> 40#include <ddb/db_output.h> --- 130 unchanged lines hidden (view full) --- 171 break; 172 case 'I': /* instruction, alternate form */ 173 addr = db_disasm(addr, TRUE); 174 break; 175 default: 176 break; 177 } 178 if (db_print_position() != 0) |
179 db_end_line(); | 179 db_end_line(1); |
180 break; 181 } 182 } 183 } 184 db_next = addr; 185} 186 187/* --- 148 unchanged lines hidden --- | 180 break; 181 } 182 } 183 } 184 db_next = addr; 185} 186 187/* --- 148 unchanged lines hidden --- |