diff options
author | Nick Clifton <nickc@redhat.com> | 2015-03-23 11:40:14 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2015-03-23 11:40:14 +0000 |
commit | 99067e2973a6bb1d3a52caafb479ebdc1a420580 (patch) | |
tree | 0a7e053952db47956ee1fcbde3590f76ae0f0f35 /sim/rl78/cpu.c | |
parent | 49cd1634b2a59879329c5a285192ac581e64904c (diff) | |
download | gdb-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.c')
-rw-r--r-- | sim/rl78/cpu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/rl78/cpu.c b/sim/rl78/cpu.c index a5056fc..32b1399 100644 --- a/sim/rl78/cpu.c +++ b/sim/rl78/cpu.c @@ -32,6 +32,8 @@ int verbose = 0; int trace = 0; int rl78_in_gdb = 1; int timer_enabled = 2; +int rl78_g10_mode = 0; +int g13_multiply = 0; #define REGISTER_ADDRESS 0xffee0 |