Add (ULONGEST) to prevent narrowing warnings.
This commit is contained in:
parent
4f30cbf326
commit
5625e95427
32
external/gpl3/gdb/dist/gdb/alpha-nbsd-tdep.c
vendored
32
external/gpl3/gdb/dist/gdb/alpha-nbsd-tdep.c
vendored
@ -192,7 +192,7 @@ static const struct tramp_frame alphanbsd_sigtramp_sc1 = {
|
|||||||
{ 0x23de0010, 0xffffffff }, /* lda sp, 16(sp) */
|
{ 0x23de0010, 0xffffffff }, /* lda sp, 16(sp) */
|
||||||
{ 0x201f0127, 0xffffffff }, /* lda v0, 295 */
|
{ 0x201f0127, 0xffffffff }, /* lda v0, 295 */
|
||||||
{ 0x00000083, 0xffffffff }, /* call_pal callsys */
|
{ 0x00000083, 0xffffffff }, /* call_pal callsys */
|
||||||
{ TRAMP_SENTINEL_INSN, -1 }
|
{ TRAMP_SENTINEL_INSN, (ULONGEST)-1 }
|
||||||
},
|
},
|
||||||
alphanbsd_sigtramp_cache_init
|
alphanbsd_sigtramp_cache_init
|
||||||
};
|
};
|
||||||
@ -203,13 +203,13 @@ static const struct tramp_frame alphanbsd_sigtramp_si2 =
|
|||||||
SIGTRAMP_FRAME,
|
SIGTRAMP_FRAME,
|
||||||
4,
|
4,
|
||||||
{
|
{
|
||||||
{ 0x221e0080, -1 }, /* lda a0,128(sp) */
|
{ 0x221e0080, (ULONGEST)-1 }, /* lda a0,128(sp) */
|
||||||
{ 0x201f0134, -1 }, /* lda v0,308 */
|
{ 0x201f0134, (ULONGEST)-1 }, /* lda v0,308 */
|
||||||
{ 0x00000083, -1 }, /* callsys */
|
{ 0x00000083, (ULONGEST)-1 }, /* callsys */
|
||||||
{ 0x47e00410, -1 }, /* mov v0,a0 */
|
{ 0x47e00410, (ULONGEST)-1 }, /* mov v0,a0 */
|
||||||
{ 0x201f0001, -1 }, /* lda v0,1 */
|
{ 0x201f0001, (ULONGEST)-1 }, /* lda v0,1 */
|
||||||
{ 0x00000083, -1 }, /* callsys */
|
{ 0x00000083, (ULONGEST)-1 }, /* callsys */
|
||||||
{ TRAMP_SENTINEL_INSN, -1 }
|
{ TRAMP_SENTINEL_INSN, (ULONGEST)-1 }
|
||||||
},
|
},
|
||||||
alphanbsd_sigtramp_cache_init
|
alphanbsd_sigtramp_cache_init
|
||||||
};
|
};
|
||||||
@ -220,14 +220,14 @@ static const struct tramp_frame alphanbsd_sigtramp_si4 =
|
|||||||
4,
|
4,
|
||||||
{
|
{
|
||||||
{ 0x27ba0000, 0xffff0000 },
|
{ 0x27ba0000, 0xffff0000 },
|
||||||
{ 0x23bd0000, 0xffff0000 }, /* ldgp gp,0(ra) */
|
{ 0x23bd0000, 0xffff0000 }, /* ldgp gp,0(ra) */
|
||||||
{ 0x221e0080, -1 }, /* lda a0,128(sp) */
|
{ 0x221e0080, (ULONGEST)-1 }, /* lda a0,128(sp) */
|
||||||
{ 0x201f0134, -1 }, /* lda v0,308 */
|
{ 0x201f0134, (ULONGEST)-1 }, /* lda v0,308 */
|
||||||
{ 0x00000083, -1 }, /* callsys */
|
{ 0x00000083, (ULONGEST)-1 }, /* callsys */
|
||||||
{ 0x221fffff, -1 }, /* lda a0,-1 */
|
{ 0x221fffff, (ULONGEST)-1 }, /* lda a0,-1 */
|
||||||
{ 0x201f0001, -1 }, /* lda v0,1 */
|
{ 0x201f0001, (ULONGEST)-1 }, /* lda v0,1 */
|
||||||
{ 0x00000083, -1 }, /* callsys */
|
{ 0x00000083, (ULONGEST)-1 }, /* callsys */
|
||||||
{ TRAMP_SENTINEL_INSN, -1 }
|
{ TRAMP_SENTINEL_INSN, (ULONGEST)-1 }
|
||||||
},
|
},
|
||||||
alphanbsd_sigtramp_cache_init
|
alphanbsd_sigtramp_cache_init
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user