db_disasm.c (92770) | db_disasm.c (93017) |
---|---|
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 --- 9 unchanged lines hidden (view full) --- 18 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 19 * School of Computer Science 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 * | 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 --- 9 unchanged lines hidden (view full) --- 18 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 19 * School of Computer Science 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 * $FreeBSD: head/sys/i386/i386/db_disasm.c 92770 2002-03-20 08:56:31Z alfred $ | 26 * $FreeBSD: head/sys/i386/i386/db_disasm.c 93017 2002-03-23 14:27:06Z bde $ |
27 */ 28 29/* 30 * Instruction disassembler. 31 */ 32#include <sys/param.h> 33 34#include <ddb/ddb.h> --- 822 unchanged lines hidden (view full) --- 857}; 858 859#define get_value_inc(result, loc, size, is_signed) \ 860 result = db_get_value((loc), (size), (is_signed)); \ 861 (loc) += (size); 862 863static db_addr_t 864 db_disasm_esc(db_addr_t loc, int inst, int short_addr, | 27 */ 28 29/* 30 * Instruction disassembler. 31 */ 32#include <sys/param.h> 33 34#include <ddb/ddb.h> --- 822 unchanged lines hidden (view full) --- 857}; 858 859#define get_value_inc(result, loc, size, is_signed) \ 860 result = db_get_value((loc), (size), (is_signed)); \ 861 (loc) += (size); 862 863static db_addr_t 864 db_disasm_esc(db_addr_t loc, int inst, int short_addr, |
865 int size, const char *seg); | 865 int size, const char *seg); |
866static void db_print_address(const char *seg, int size, | 866static void db_print_address(const char *seg, int size, |
867 struct i_addr *addrp); | 867 struct i_addr *addrp); |
868static db_addr_t | 868static db_addr_t |
869 db_read_address(db_addr_t loc, int short_addr, 870 int regmodrm, struct i_addr *addrp); | 869 db_read_address(db_addr_t loc, int short_addr, int regmodrm, 870 struct i_addr *addrp); |
871 872/* 873 * Read address at location and return updated location. 874 */ 875static db_addr_t 876db_read_address(loc, short_addr, regmodrm, addrp) 877 db_addr_t loc; 878 int short_addr; --- 528 unchanged lines hidden --- | 871 872/* 873 * Read address at location and return updated location. 874 */ 875static db_addr_t 876db_read_address(loc, short_addr, regmodrm, addrp) 877 db_addr_t loc; 878 int short_addr; --- 528 unchanged lines hidden --- |