db_disasm.c (278655) | db_disasm.c (283248) |
---|---|
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 --- 11 unchanged lines hidden (view full) --- 20 * Carnegie Mellon University 21 * Pittsburgh PA 15213-3890 22 * 23 * any improvements or extensions that they make and grant Carnegie the 24 * rights to redistribute these changes. 25 */ 26 27#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 --- 11 unchanged lines hidden (view full) --- 20 * Carnegie Mellon University 21 * Pittsburgh PA 15213-3890 22 * 23 * any improvements or extensions that they make and grant Carnegie the 24 * rights to redistribute these changes. 25 */ 26 27#include <sys/cdefs.h> |
28__FBSDID("$FreeBSD: head/sys/i386/i386/db_disasm.c 278655 2015-02-13 01:35:53Z markj $"); | 28__FBSDID("$FreeBSD: head/sys/i386/i386/db_disasm.c 283248 2015-05-21 15:16:18Z pfg $"); |
29 30/* 31 * Instruction disassembler. 32 */ 33#include <sys/param.h> 34 35#include <ddb/ddb.h> 36#include <ddb/db_access.h> --- 1106 unchanged lines hidden (view full) --- 1143} 1144 1145/* 1146 * Disassemble instruction at 'loc'. 'altfmt' specifies an 1147 * (optional) alternate format. Return address of start of 1148 * next instruction. 1149 */ 1150db_addr_t | 29 30/* 31 * Instruction disassembler. 32 */ 33#include <sys/param.h> 34 35#include <ddb/ddb.h> 36#include <ddb/db_access.h> --- 1106 unchanged lines hidden (view full) --- 1143} 1144 1145/* 1146 * Disassemble instruction at 'loc'. 'altfmt' specifies an 1147 * (optional) alternate format. Return address of start of 1148 * next instruction. 1149 */ 1150db_addr_t |
1151db_disasm(loc, altfmt) 1152 db_addr_t loc; 1153 boolean_t altfmt; | 1151db_disasm(db_addr_t loc, bool altfmt) |
1154{ 1155 int inst; 1156 int size; 1157 int short_addr; 1158 const char * seg; 1159 const struct inst * ip; 1160 const char * i_name; 1161 int i_size; --- 340 unchanged lines hidden --- | 1152{ 1153 int inst; 1154 int size; 1155 int short_addr; 1156 const char * seg; 1157 const struct inst * ip; 1158 const char * i_name; 1159 int i_size; --- 340 unchanged lines hidden --- |