Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gdb/dist/gdb Use ULONGEST_MAX instead of (ULON...
details: https://anonhg.NetBSD.org/src/rev/8dba22752a36
branches: trunk
changeset: 1000203:8dba22752a36
user: christos <christos%NetBSD.org@localhost>
date: Sat Jul 13 21:55:52 2019 +0000
description:
Use ULONGEST_MAX instead of (ULONGEST)-1
diffstat:
external/gpl3/gdb/dist/gdb/aarch64-nbsd-tdep.c | 10 ++++----
external/gpl3/gdb/dist/gdb/alpha-nbsd-tdep.c | 30 +++++++++++++-------------
external/gpl3/gdb/dist/gdb/sh-nbsd-tdep.c | 30 +++++++++++++-------------
3 files changed, 35 insertions(+), 35 deletions(-)
diffs (118 lines):
diff -r c4bc17798d1b -r 8dba22752a36 external/gpl3/gdb/dist/gdb/aarch64-nbsd-tdep.c
--- a/external/gpl3/gdb/dist/gdb/aarch64-nbsd-tdep.c Sat Jul 13 21:53:48 2019 +0000
+++ b/external/gpl3/gdb/dist/gdb/aarch64-nbsd-tdep.c Sat Jul 13 21:55:52 2019 +0000
@@ -118,11 +118,11 @@
SIGTRAMP_FRAME,
4,
{
- {0x910003e0, (ULONGEST)-1}, /* mov x0, sp */
- {0x91014000, (ULONGEST)-1}, /* add x0, x0, #SF_UC */
- {0xd2803428, (ULONGEST)-1}, /* mov x8, #SYS_sigreturn */
- {0xd4000001, (ULONGEST)-1}, /* svc 0x0 */
- {(ULONGEST)TRAMP_SENTINEL_INSN, (ULONGEST)-1}
+ {0x910003e0, ULONGEST_MAX}, /* mov x0, sp */
+ {0x91014000, ULONGEST_MAX}, /* add x0, x0, #SF_UC */
+ {0xd2803428, ULONGEST_MAX}, /* mov x8, #SYS_sigreturn */
+ {0xd4000001, ULONGEST_MAX}, /* svc 0x0 */
+ {(ULONGEST)TRAMP_SENTINEL_INSN, ULONGEST_MAX}
},
aarch64_nbsd_sigframe_init
};
diff -r c4bc17798d1b -r 8dba22752a36 external/gpl3/gdb/dist/gdb/alpha-nbsd-tdep.c
--- a/external/gpl3/gdb/dist/gdb/alpha-nbsd-tdep.c Sat Jul 13 21:53:48 2019 +0000
+++ b/external/gpl3/gdb/dist/gdb/alpha-nbsd-tdep.c Sat Jul 13 21:55:52 2019 +0000
@@ -192,7 +192,7 @@
{ 0x23de0010, 0xffffffff }, /* lda sp, 16(sp) */
{ 0x201f0127, 0xffffffff }, /* lda v0, 295 */
{ 0x00000083, 0xffffffff }, /* call_pal callsys */
- { TRAMP_SENTINEL_INSN, (ULONGEST)-1 }
+ { TRAMP_SENTINEL_INSN, ULONGEST_MAX }
},
alphanbsd_sigtramp_cache_init
};
@@ -203,13 +203,13 @@
SIGTRAMP_FRAME,
4,
{
- { 0x221e0080, (ULONGEST)-1 }, /* lda a0,128(sp) */
- { 0x201f0134, (ULONGEST)-1 }, /* lda v0,308 */
- { 0x00000083, (ULONGEST)-1 }, /* callsys */
- { 0x47e00410, (ULONGEST)-1 }, /* mov v0,a0 */
- { 0x201f0001, (ULONGEST)-1 }, /* lda v0,1 */
- { 0x00000083, (ULONGEST)-1 }, /* callsys */
- { TRAMP_SENTINEL_INSN, (ULONGEST)-1 }
+ { 0x221e0080, ULONGEST_MAX }, /* lda a0,128(sp) */
+ { 0x201f0134, ULONGEST_MAX }, /* lda v0,308 */
+ { 0x00000083, ULONGEST_MAX }, /* callsys */
+ { 0x47e00410, ULONGEST_MAX }, /* mov v0,a0 */
+ { 0x201f0001, ULONGEST_MAX }, /* lda v0,1 */
+ { 0x00000083, ULONGEST_MAX }, /* callsys */
+ { TRAMP_SENTINEL_INSN, ULONGEST_MAX }
},
alphanbsd_sigtramp_cache_init
};
@@ -221,13 +221,13 @@
{
{ 0x27ba0000, 0xffff0000 },
{ 0x23bd0000, 0xffff0000 }, /* ldgp gp,0(ra) */
- { 0x221e0080, (ULONGEST)-1 }, /* lda a0,128(sp) */
- { 0x201f0134, (ULONGEST)-1 }, /* lda v0,308 */
- { 0x00000083, (ULONGEST)-1 }, /* callsys */
- { 0x221fffff, (ULONGEST)-1 }, /* lda a0,-1 */
- { 0x201f0001, (ULONGEST)-1 }, /* lda v0,1 */
- { 0x00000083, (ULONGEST)-1 }, /* callsys */
- { TRAMP_SENTINEL_INSN, (ULONGEST)-1 }
+ { 0x221e0080, ULONGEST_MAX }, /* lda a0,128(sp) */
+ { 0x201f0134, ULONGEST_MAX }, /* lda v0,308 */
+ { 0x00000083, ULONGEST_MAX }, /* callsys */
+ { 0x221fffff, ULONGEST_MAX }, /* lda a0,-1 */
+ { 0x201f0001, ULONGEST_MAX }, /* lda v0,1 */
+ { 0x00000083, ULONGEST_MAX }, /* callsys */
+ { TRAMP_SENTINEL_INSN, ULONGEST_MAX }
},
alphanbsd_sigtramp_cache_init
};
diff -r c4bc17798d1b -r 8dba22752a36 external/gpl3/gdb/dist/gdb/sh-nbsd-tdep.c
--- a/external/gpl3/gdb/dist/gdb/sh-nbsd-tdep.c Sat Jul 13 21:53:48 2019 +0000
+++ b/external/gpl3/gdb/dist/gdb/sh-nbsd-tdep.c Sat Jul 13 21:55:52 2019 +0000
@@ -141,25 +141,25 @@
SIGTRAMP_FRAME,
2,
{
- { 0x64f3, (ULONGEST)-1 }, /* mov r15,r4 */
- { 0xd002, (ULONGEST)-1 }, /* mov.l .LSYS_setcontext */
- { 0xc380, (ULONGEST)-1 }, /* trapa #-128 */
- { 0xa003, (ULONGEST)-1 }, /* bra .Lskip1 */
- { 0x0009, (ULONGEST)-1 }, /* nop */
- { 0x0009, (ULONGEST)-1 }, /* nop */
+ { 0x64f3, ULONGEST_MAX }, /* mov r15,r4 */
+ { 0xd002, ULONGEST_MAX }, /* mov.l .LSYS_setcontext */
+ { 0xc380, ULONGEST_MAX }, /* trapa #-128 */
+ { 0xa003, ULONGEST_MAX }, /* bra .Lskip1 */
+ { 0x0009, ULONGEST_MAX }, /* nop */
+ { 0x0009, ULONGEST_MAX }, /* nop */
/* .LSYS_setcontext */
- { 0x0134, (ULONGEST)-1 }, { 0x0000, (ULONGEST)-1 }, /* 0x134 */
+ { 0x0134, ULONGEST_MAX }, { 0x0000, ULONGEST_MAX }, /* 0x134 */
/* .Lskip1 */
- { 0x6403, (ULONGEST)-1 }, /* mov r0,r4 */
- { 0xd002, (ULONGEST)-1 }, /* mov.l .LSYS_exit */
- { 0xc380, (ULONGEST)-1 }, /* trapa #-128 */
- { 0xa003, (ULONGEST)-1 }, /* bra .Lskip2 */
- { 0x0009, (ULONGEST)-1 }, /* nop */
- { 0x0009, (ULONGEST)-1 }, /* nop */
+ { 0x6403, ULONGEST_MAX }, /* mov r0,r4 */
+ { 0xd002, ULONGEST_MAX }, /* mov.l .LSYS_exit */
+ { 0xc380, ULONGEST_MAX }, /* trapa #-128 */
+ { 0xa003, ULONGEST_MAX }, /* bra .Lskip2 */
+ { 0x0009, ULONGEST_MAX }, /* nop */
+ { 0x0009, ULONGEST_MAX }, /* nop */
/* .LSYS_exit */
- { 0x0001, (ULONGEST)-1 }, { 0x0000, (ULONGEST)-1 }, /* 0x1 */
+ { 0x0001, ULONGEST_MAX }, { 0x0000, ULONGEST_MAX }, /* 0x1 */
/* .Lskip2 */
- { TRAMP_SENTINEL_INSN, (ULONGEST)-1 }
+ { TRAMP_SENTINEL_INSN, ULONGEST_MAX }
},
shnbsd_sigtramp_cache_init
};
Home |
Main Index |
Thread Index |
Old Index