aboutsummaryrefslogtreecommitdiff
path: root/include/opcode
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-02-04 08:30:22 +1030
committerAlan Modra <amodra@gmail.com>2020-02-04 14:10:40 +1030
commitc5d7be0c97a75ff20b49d57bff078360464125fb (patch)
treeb3669bbcd5aa59e464698505826e0bc24d914a2d /include/opcode
parent5d2e1193286fe6278ee70c2137b3726994f2e28b (diff)
downloadgdb-c5d7be0c97a75ff20b49d57bff078360464125fb.zip
gdb-c5d7be0c97a75ff20b49d57bff078360464125fb.tar.gz
gdb-c5d7be0c97a75ff20b49d57bff078360464125fb.tar.bz2
ubsan: d30v: negation of -2147483648
include/ * opcode/d30v.h (struct pd_reg): Make value field unsigned. opcodes/ * d30v-dis.c (print_insn): Make "val" and "opnum" unsigned.
Diffstat (limited to 'include/opcode')
-rw-r--r--include/opcode/d30v.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/opcode/d30v.h b/include/opcode/d30v.h
index 2694d6d..4ba2c45 100644
--- a/include/opcode/d30v.h
+++ b/include/opcode/d30v.h
@@ -33,7 +33,7 @@ struct pd_reg
{
char *name; /* name to recognize */
char *pname; /* name to print for this register */
- int value;
+ unsigned int value;
};
extern const struct pd_reg pre_defined_registers[];