Deleted Added
full compact
db_disasm.c (22975) db_disasm.c (24494)
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 * $Id$
26 * $Id: db_disasm.c,v 1.19 1997/02/22 09:32:12 peter Exp $
27 */
28
29/*
30 * Instruction disassembler.
31 */
32#include <sys/param.h>
27 */
28
29/*
30 * Instruction disassembler.
31 */
32#include <sys/param.h>
33#include <sys/systm.h>
34#include <sys/proc.h>
35#include <vm/vm.h>
36#include <vm/vm_param.h>
37#include <ddb/ddb.h>
38
33
34#include <ddb/ddb.h>
39#include <ddb/db_access.h>
40#include <ddb/db_sym.h>
41
42/*
43 * Size attributes
44 */
45#define BYTE 0
46#define WORD 1

--- 1285 unchanged lines hidden (view full) ---

1332 len = db_lengths[size];
1333 get_value_inc(imm, loc, len, FALSE);
1334 db_printf("$%#n", imm);
1335 break;
1336
1337 case Is:
1338 len = db_lengths[size];
1339 get_value_inc(imm, loc, len, FALSE);
35#include <ddb/db_access.h>
36#include <ddb/db_sym.h>
37
38/*
39 * Size attributes
40 */
41#define BYTE 0
42#define WORD 1

--- 1285 unchanged lines hidden (view full) ---

1328 len = db_lengths[size];
1329 get_value_inc(imm, loc, len, FALSE);
1330 db_printf("$%#n", imm);
1331 break;
1332
1333 case Is:
1334 len = db_lengths[size];
1335 get_value_inc(imm, loc, len, FALSE);
1340 /*
1341 * XXX the + in this format doesn't seem to work right.
1342 * `Is' is equivalent to `I'.
1343 */
1344 db_printf("$%+#n", imm);
1345 break;
1346
1347 case Ib:
1348 get_value_inc(imm, loc, 1, FALSE);
1349 db_printf("$%#n", imm);
1350 break;
1351

--- 63 unchanged lines hidden ---
1336 db_printf("$%+#n", imm);
1337 break;
1338
1339 case Ib:
1340 get_value_inc(imm, loc, 1, FALSE);
1341 db_printf("$%#n", imm);
1342 break;
1343

--- 63 unchanged lines hidden ---