diff options
author | Doug Evans <dje@google.com> | 1999-08-29 21:16:25 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 1999-08-29 21:16:25 +0000 |
commit | eb1b03df1a293f7aebb67e1deeba4b0bb21c3f9a (patch) | |
tree | 9f7297c1dd108f4cb2ab54eb6c4619940b01529a /opcodes/fr30-asm.c | |
parent | 1174497c8ae1bf9293addcb216c48dbdbf487e4f (diff) | |
download | gdb-eb1b03df1a293f7aebb67e1deeba4b0bb21c3f9a.zip gdb-eb1b03df1a293f7aebb67e1deeba4b0bb21c3f9a.tar.gz gdb-eb1b03df1a293f7aebb67e1deeba4b0bb21c3f9a.tar.bz2 |
* fr30-asm.c,fr30-desc.h,fr30-dis.c,fr30-ibld.c,fr30-opc.c: Rebuild.
* m32r-asm.c,m32r-desc.h,m32r-dis.c,m32r-ibld.c,m32r-opc.c: Rebuild.
* m32r-opinst.c: Rebuild.
Diffstat (limited to 'opcodes/fr30-asm.c')
-rw-r--r-- | opcodes/fr30-asm.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/opcodes/fr30-asm.c b/opcodes/fr30-asm.c index 5f5ccdc..b9f8010 100644 --- a/opcodes/fr30-asm.c +++ b/opcodes/fr30-asm.c @@ -177,7 +177,9 @@ fr30_cgen_parse_operand (cd, opindex, strp, fields) const char ** strp; CGEN_FIELDS * fields; { - const char * errmsg; + const char * errmsg = NULL; + /* Used by scalar operands that still need to be parsed. */ + long junk; switch (opindex) { @@ -188,13 +190,13 @@ fr30_cgen_parse_operand (cd, opindex, strp, fields) errmsg = cgen_parse_keyword (cd, strp, & fr30_cgen_opval_cr_names, & fields->f_CRj); break; case FR30_OPERAND_R13 : - errmsg = cgen_parse_keyword (cd, strp, & fr30_cgen_opval_h_r13, & fields->f_nil); + errmsg = cgen_parse_keyword (cd, strp, & fr30_cgen_opval_h_r13, & junk); break; case FR30_OPERAND_R14 : - errmsg = cgen_parse_keyword (cd, strp, & fr30_cgen_opval_h_r14, & fields->f_nil); + errmsg = cgen_parse_keyword (cd, strp, & fr30_cgen_opval_h_r14, & junk); break; case FR30_OPERAND_R15 : - errmsg = cgen_parse_keyword (cd, strp, & fr30_cgen_opval_h_r15, & fields->f_nil); + errmsg = cgen_parse_keyword (cd, strp, & fr30_cgen_opval_h_r15, & junk); break; case FR30_OPERAND_RI : errmsg = cgen_parse_keyword (cd, strp, & fr30_cgen_opval_gr_names, & fields->f_Ri); @@ -265,7 +267,7 @@ fr30_cgen_parse_operand (cd, opindex, strp, fields) errmsg = cgen_parse_signed_integer (cd, strp, FR30_OPERAND_M4, &fields->f_m4); break; case FR30_OPERAND_PS : - errmsg = cgen_parse_keyword (cd, strp, & fr30_cgen_opval_h_ps, & fields->f_nil); + errmsg = cgen_parse_keyword (cd, strp, & fr30_cgen_opval_h_ps, & junk); break; case FR30_OPERAND_REGLIST_HI_LD : errmsg = parse_hi_register_list_ld (cd, strp, FR30_OPERAND_REGLIST_HI_LD, &fields->f_reglist_hi_ld); |