aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>1998-11-26 16:50:44 +0000
committerDave Brolley <brolley@redhat.com>1998-11-26 16:50:44 +0000
commite1aa8a6373493b56880bfb87d2cb5c18a6b44d8c (patch)
treebf7255f994bcb99d29193cb3550aa9b7220ccd21 /opcodes
parentb42d437552e7bc21ba6ccaa85701b4da01fae303 (diff)
downloadgdb-e1aa8a6373493b56880bfb87d2cb5c18a6b44d8c.zip
gdb-e1aa8a6373493b56880bfb87d2cb5c18a6b44d8c.tar.gz
gdb-e1aa8a6373493b56880bfb87d2cb5c18a6b44d8c.tar.bz2
Thu Nov 26 11:26:32 1998 Dave Brolley <brolley@cygnus.com>
* fr30-dis.c: Regenerated.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/fr30-dis.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/opcodes/fr30-dis.c b/opcodes/fr30-dis.c
index cd0d4d1..750e5ab 100644
--- a/opcodes/fr30-dis.c
+++ b/opcodes/fr30-dis.c
@@ -108,6 +108,19 @@ print_low_register_list (od, dis_info, value, attrs, pc, length)
print_register_list (dis_info, value, 0);
}
+static void
+print_label9 (od, dis_info, value, attrs, pc, length)
+ CGEN_OPCODE_DESC od;
+ PTR dis_info;
+ long value;
+ unsigned int attrs;
+ bfd_vma pc;
+ int length;
+{
+ disassemble_info *info = (disassemble_info *) dis_info;
+ (*info->fprintf_func) (info->stream, "0x%lx", value);
+}
+
/* -- */
/* Main entry point for operand extraction.
@@ -405,7 +418,7 @@ fr30_cgen_print_operand (od, opindex, info, fields, attrs, pc, length)
print_normal (od, info, fields->f_dir10, 0|(1<<CGEN_OPERAND_UNSIGNED), pc, length);
break;
case FR30_OPERAND_LABEL9 :
- print_normal (od, info, fields->f_rel9, 0|(1<<CGEN_OPERAND_RELOC)|(1<<CGEN_OPERAND_PCREL_ADDR)|(1<<CGEN_OPERAND_SIGNED), pc, length);
+ print_label9 (od, info, fields->f_rel9, 0|(1<<CGEN_OPERAND_RELOC)|(1<<CGEN_OPERAND_PCREL_ADDR)|(1<<CGEN_OPERAND_SIGNED), pc, length);
break;
case FR30_OPERAND_LABEL12 :
print_normal (od, info, fields->f_rel12, 0|(1<<CGEN_OPERAND_PCREL_ADDR)|(1<<CGEN_OPERAND_SIGNED), pc, length);