aboutsummaryrefslogtreecommitdiff
path: root/sim/rl78/cpu.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2015-03-23 11:40:14 +0000
committerNick Clifton <nickc@redhat.com>2015-03-23 11:40:14 +0000
commit99067e2973a6bb1d3a52caafb479ebdc1a420580 (patch)
tree0a7e053952db47956ee1fcbde3590f76ae0f0f35 /sim/rl78/cpu.h
parent49cd1634b2a59879329c5a285192ac581e64904c (diff)
downloadgdb-99067e2973a6bb1d3a52caafb479ebdc1a420580.zip
gdb-99067e2973a6bb1d3a52caafb479ebdc1a420580.tar.gz
gdb-99067e2973a6bb1d3a52caafb479ebdc1a420580.tar.bz2
Fix thinko with previous delta to RL78 sim, by adding code to define the G10 and G13 mode options.
* cpu.c (rl78_g10_mode): Declare. (g13_multiply): Declare. * cpu.h (rl78_g10_mode): Export. (g13_multiply): Export.
Diffstat (limited to 'sim/rl78/cpu.h')
-rw-r--r--sim/rl78/cpu.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sim/rl78/cpu.h b/sim/rl78/cpu.h
index e2457bb..0e10db9 100644
--- a/sim/rl78/cpu.h
+++ b/sim/rl78/cpu.h
@@ -46,7 +46,7 @@ extern const char * const reg_names[];
void init_cpu (void);
void set_flags (int mask, int newbits);
-void set_c (int c);
+void set_c (int);
int get_c (void);
const char *bits (int v, int b);
@@ -97,4 +97,7 @@ extern int timer_enabled;
extern void dump_counts_per_insn (const char * filename);
extern unsigned int counts_per_insn[0x100000];
+extern int rl78_g10_mode;
+extern int g13_multiply;
+
#endif