diff options
author | Andrew Cagney <cagney@redhat.com> | 1998-07-28 08:58:23 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1998-07-28 08:58:23 +0000 |
commit | f6b7bfcfa02171cfab029d89546ea3e0ee60c277 (patch) | |
tree | ea4da51f47665662c8f9d0a4c790e937ec1684f6 /sim/igen | |
parent | 07c2bd1455fe6833b4af26fd750e66d182f3f4bc (diff) | |
download | gdb-f6b7bfcfa02171cfab029d89546ea3e0ee60c277.zip gdb-f6b7bfcfa02171cfab029d89546ea3e0ee60c277.tar.gz gdb-f6b7bfcfa02171cfab029d89546ea3e0ee60c277.tar.bz2 |
Add note about limitations of insn_field_cmp().
Diffstat (limited to 'sim/igen')
-rw-r--r-- | sim/igen/gen.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sim/igen/gen.c b/sim/igen/gen.c index bd10f20..5cc7e76 100644 --- a/sim/igen/gen.c +++ b/sim/igen/gen.c @@ -355,12 +355,15 @@ insn_list_insert (insn_list **cur_insn_ptr, switch (duplicate_action) { case report_duplicate_insns: - /* two instructions with the same constant field - values across all words and bits */ + /* It would appear that we have two instructions with the + same constant field values across all words and bits. + This error can also occure when insn_field_cmp() is + failing to differentiate between two instructions that + differ only in their conditional fields. */ warning (insn->line, "Two instructions with identical constant fields\n"); error ((*cur_insn_ptr)->insn->line, - "Location of second (duplicated?) instruction\n"); + "Location of duplicate instruction\n"); case merge_duplicate_insns: /* Add the opcode path to the instructions list */ if (opcodes != NULL) |