diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2003-11-19 19:44:58 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@codesourcery.com> | 2003-11-19 19:44:58 +0000 |
commit | 122d081a38138d43d80ec2c125f34228560a2ef1 (patch) | |
tree | c9d87ad795918912aef8f49d3195e392bc66b2a4 /opcodes | |
parent | eac98b22ae07887eacc973841a65beea653c3c4c (diff) | |
download | gdb-122d081a38138d43d80ec2c125f34228560a2ef1.zip gdb-122d081a38138d43d80ec2c125f34228560a2ef1.tar.gz gdb-122d081a38138d43d80ec2c125f34228560a2ef1.tar.bz2 |
* h8300-dis.c (print_colon_thingie): Remove.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 4 | ||||
-rw-r--r-- | opcodes/h8300-dis.c | 19 |
2 files changed, 4 insertions, 19 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 52845fa..d322f4a 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2003-11-19 Kazu Hirata <kazu@cs.umass.edu> + + * h8300-dis.c (print_colon_thingie): Remove. + 2003-11-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl> * mips-opc.c (mips_builtin_opcodes): Handle new macros: "lca" and diff --git a/opcodes/h8300-dis.c b/opcodes/h8300-dis.c index ea8d30b..895a9ef 100644 --- a/opcodes/h8300-dis.c +++ b/opcodes/h8300-dis.c @@ -45,25 +45,6 @@ static void extract_immediate PARAMS ((FILE *, int *, int *, const struct h8_opcode *)); -static void print_colon_thingie PARAMS ((op_type *)); - -static void -print_colon_thingie (op_type *nib) -{ - switch (*nib & SIZE) { - case L_2: fprintf (stdout, "2"); break; - case L_3: - case L_3NZ: fprintf (stdout, "3"); break; - case L_4: fprintf (stdout, "4"); break; - case L_5: fprintf (stdout, "5"); break; - case L_8: fprintf (stdout, "8"); break; - case L_16: - case L_16U: fprintf (stdout, "16"); break; - case L_24: fprintf (stdout, "24"); break; - case L_32: fprintf (stdout, "32"); break; - } -} - /* Run through the opcodes and sort them into order to make them easy to disassemble. */ |