aboutsummaryrefslogtreecommitdiff
path: root/sim/m68hc11/sim-main.h
diff options
context:
space:
mode:
authorStephane Carrez <stcarrez@nerim.fr>2003-08-08 20:25:50 +0000
committerStephane Carrez <stcarrez@nerim.fr>2003-08-08 20:25:50 +0000
commit962e9d85f3b29ad9e057a4667fd96e4ca9e41adc (patch)
treedb7e57412ccc17ae87711134f3e3e63ad7de4eb4 /sim/m68hc11/sim-main.h
parentf786f615100c8763f19ddec9943156cd2b94a763 (diff)
downloadgdb-962e9d85f3b29ad9e057a4667fd96e4ca9e41adc.zip
gdb-962e9d85f3b29ad9e057a4667fd96e4ca9e41adc.tar.gz
gdb-962e9d85f3b29ad9e057a4667fd96e4ca9e41adc.tar.bz2
* m68hc11_sim.c (print_io_word): New function to print 16-bit value.
* sim-main.h (print_io_word): Declare. * dv-m68hc11tim.c (tmsk1_desc): New description table for TMSK1. (tflg1_desc): Likewise for TFLG1. (m68hc11tim_info): Print input and output compare registers
Diffstat (limited to 'sim/m68hc11/sim-main.h')
-rw-r--r--sim/m68hc11/sim-main.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sim/m68hc11/sim-main.h b/sim/m68hc11/sim-main.h
index c8933a0..b32076b 100644
--- a/sim/m68hc11/sim-main.h
+++ b/sim/m68hc11/sim-main.h
@@ -1,5 +1,5 @@
/* sim-main.h -- Simulator for Motorola 68HC11 & 68HC12
- Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
Written by Stephane Carrez (stcarrez@nerim.fr)
This file is part of GDB, the GNU debugger.
@@ -108,6 +108,8 @@ extern void print_io_reg_desc (SIM_DESC sd, io_reg_desc *desc, int val,
int mode);
extern void print_io_byte (SIM_DESC sd, const char *name,
io_reg_desc *desc, uint8 val, uint16 addr);
+extern void print_io_word (SIM_DESC sd, const char *name,
+ io_reg_desc *desc, uint16 val, uint16 addr);
/* List of special 68HC11&68HC12 instructions that are not handled by the