diff options
author | eager <eager> | 2013-03-12 15:19:23 +0000 |
---|---|---|
committer | eager <eager> | 2013-03-12 15:19:23 +0000 |
commit | 50c4866178fc38a24bb03318019d6eea064658cd (patch) | |
tree | b00a44ac470604ae100bb69e1cf3611078d6ef8f /opcodes | |
parent | 252bf8675075ff9aeb334e751c95b4054178de6e (diff) | |
download | gdb-50c4866178fc38a24bb03318019d6eea064658cd.tar.gz |
Eliminate warning message.
* opcodes/mips-dis.c (print_insn_args): Modify def of reg.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 4 | ||||
-rw-r--r-- | opcodes/mips-dis.c | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 554d8a0a865..66556f1c913 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2013-03-12 Michael Eager <eager@eagercon.com> + + * opcodes/mips-dis.c (print_insn_args): Modify def of reg. + 2013-03-11 Sebastian Huber <sebastian.huber@embedded-brains.de> * nios2-opc.c (nios2_builtin_opcodes): Add entry for wrprs. diff --git a/opcodes/mips-dis.c b/opcodes/mips-dis.c index 9c9112b3f59..018ac94f302 100644 --- a/opcodes/mips-dis.c +++ b/opcodes/mips-dis.c @@ -1273,7 +1273,9 @@ print_insn_args (const char *d, case 'U': { /* First check for both rd and rt being equal. */ - unsigned int reg = GET_OP (l, RD); + unsigned int reg; + + reg = GET_OP (l, RD); if (reg == GET_OP (l, RT)) infprintf (is, "%s", mips_gpr_names[reg]); else |