diff options
author | Andrew Cagney <cagney@redhat.com> | 1997-09-16 02:15:55 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1997-09-16 02:15:55 +0000 |
commit | 721478d51bd4574ab5de91fb09003325c6f15b69 (patch) | |
tree | 9ca0aa3a87e9483b10d722bf7a429f20689547b6 /sim/v850 | |
parent | 3484de0091d31d5f51ec9f3a9718820fe2892156 (diff) | |
download | gdb-721478d51bd4574ab5de91fb09003325c6f15b69.zip gdb-721478d51bd4574ab5de91fb09003325c6f15b69.tar.gz gdb-721478d51bd4574ab5de91fb09003325c6f15b69.tar.bz2 |
Add v850e version of breakpoint instruction.
Diffstat (limited to 'sim/v850')
-rw-r--r-- | sim/v850/ChangeLog | 9 | ||||
-rw-r--r-- | sim/v850/Makefile.in | 2 | ||||
-rw-r--r-- | sim/v850/v850-dc | 7 | ||||
-rw-r--r-- | sim/v850/v850.igen | 21 |
4 files changed, 34 insertions, 5 deletions
diff --git a/sim/v850/ChangeLog b/sim/v850/ChangeLog index 0bb4d55..cdf2076 100644 --- a/sim/v850/ChangeLog +++ b/sim/v850/ChangeLog @@ -1,3 +1,12 @@ +Tue Sep 16 10:20:00 1997 Andrew Cagney <cagney@b1.cygnus.com> + +start-sanitize-v850e + * v850-dc: Add rule to diferentiate between breakpoint and divh. + * v850.igen (break): New instruction, breakpoint simulator. + +end-sanitize-v850e + * v850.igen (breakpoint): Enable. Change to a 32bit instruction. + start-sanitize-v850e Mon Sep 15 18:44:05 1997 Jim Wilson <wilson@cygnus.com> diff --git a/sim/v850/Makefile.in b/sim/v850/Makefile.in index c7125a6..ad3355b 100644 --- a/sim/v850/Makefile.in +++ b/sim/v850/Makefile.in @@ -108,11 +108,13 @@ clean-igen: ../igen/igen: cd ../igen && $(MAKE) +IGEN_TRACE= # -G trace-rule-selection -G trace-rule-rejection -G trace-entries IGEN_INSN=$(srcdir)/v850.igen IGEN_DC=$(srcdir)/v850-dc tmp-igen: $(IGEN_INSN) $(IGEN_DC) ../igen/igen cd ../igen && $(MAKE) ../igen/igen \ + $(IGEN_TRACE) \ -G gen-direct-access \ -i $(IGEN_INSN) \ -o $(IGEN_DC) \ diff --git a/sim/v850/v850-dc b/sim/v850/v850-dc index 91b0898..81a36df 100644 --- a/sim/v850/v850-dc +++ b/sim/v850/v850-dc @@ -30,3 +30,10 @@ # start-sanitize-v850eq switch,combine : 4 : 0 : : : : 0 : III,IV,XIV : v850eq # end-sanitize-v850eq +# start-sanitize-v850e + + +# for opcode 66 + + switch,combine : 4 : 0 : : : : 0 : I : +# end-sanitize-v850e diff --git a/sim/v850/v850.igen b/sim/v850/v850.igen index b938b0a..93bf0b7 100644 --- a/sim/v850/v850.igen +++ b/sim/v850/v850.igen @@ -1214,11 +1214,22 @@ rrrrr,110101,RRRRR + iiiiiiiiiiiiiiii:VI:::xori // end-sanitize-v850e -// Special - breakpoint -// 1111111111111111:Z:::breakpoint -// { -// COMPAT_2 (OP_FFFF ()); -// } +// Special - breakpoint - illegal +// Hopefully, in the future, this instruction will go away +1111111111111111 + 1111111111111111:Z:::breakpoint +*v850 +{ + sim_engine_halt (SD, CPU, NULL, cia, sim_stopped, SIGTRAP); +} + +// start-sanitize-v850e +// First field could be any nonzero value. +11111,000010,00000:I:::break +{ + sim_engine_halt (SD, CPU, NULL, cia, sim_stopped, SIGTRAP); +} + +// end-sanitize-v850e // start-sanitize-v850eq |