projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gdb/infrun: move a 'regcache_read_pc' call down to first use
[deliverable/binutils-gdb.git]
/
opcodes
/
tic6x-dis.c
diff --git
a/opcodes/tic6x-dis.c
b/opcodes/tic6x-dis.c
index 4dca73edd7b42fda15757cb8baa4f233a3806e46..51f009d36f71ebd03175d72def9101226d625e14 100644
(file)
--- a/
opcodes/tic6x-dis.c
+++ b/
opcodes/tic6x-dis.c
@@
-1,5
+1,5
@@
/* TI C6X disassembler.
/* TI C6X disassembler.
- Copyright (C) 2010-20
18
Free Software Foundation, Inc.
+ Copyright (C) 2010-20
20
Free Software Foundation, Inc.
Contributed by Joseph Myers <joseph@codesourcery.com>
Bernd Schmidt <bernds@codesourcery.com>
Contributed by Joseph Myers <joseph@codesourcery.com>
Bernd Schmidt <bernds@codesourcery.com>
@@
-163,9
+163,9
@@
static unsigned int
tic6x_extract_32 (unsigned char *p, struct disassemble_info *info)
{
if (info->endian == BFD_ENDIAN_LITTLE)
tic6x_extract_32 (unsigned char *p, struct disassemble_info *info)
{
if (info->endian == BFD_ENDIAN_LITTLE)
- return
(p[0]) | (p[1] << 8) | (p[2] << 16) | (
p[3] << 24);
+ return
p[0] | (p[1] << 8) | (p[2] << 16) | ((unsigned)
p[3] << 24);
else
else
- return
(p[3]) | (p[2] << 8) | (p[1] << 16) | (
p[0] << 24);
+ return
p[3] | (p[2] << 8) | (p[1] << 16) | ((unsigned)
p[0] << 24);
}
/* Extract a 16-bit value read from the instruction stream. */
}
/* Extract a 16-bit value read from the instruction stream. */
This page took
0.023046 seconds
and
4
git commands to generate.