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 Add (ULONGEST) to prevent narrowi...



details:   https://anonhg.NetBSD.org/src/rev/939d5cff24dc
branches:  trunk
changeset: 452554:939d5cff24dc
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jul 13 21:53:48 2019 +0000

description:
Add (ULONGEST) to prevent narrowing warnings.

diffstat:

 external/gpl3/gdb/dist/gdb/alpha-nbsd-tdep.c |  32 ++++++++++++++--------------
 1 files changed, 16 insertions(+), 16 deletions(-)

diffs (56 lines):

diff -r 962e7034cd28 -r 939d5cff24dc external/gpl3/gdb/dist/gdb/alpha-nbsd-tdep.c
--- a/external/gpl3/gdb/dist/gdb/alpha-nbsd-tdep.c      Sat Jul 13 17:13:36 2019 +0000
+++ b/external/gpl3/gdb/dist/gdb/alpha-nbsd-tdep.c      Sat Jul 13 21:53:48 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, -1 }
+    { TRAMP_SENTINEL_INSN, (ULONGEST)-1 }
   },
   alphanbsd_sigtramp_cache_init
 };
@@ -203,13 +203,13 @@
   SIGTRAMP_FRAME,
   4,
   {
-    { 0x221e0080, -1 },                /* lda  a0,128(sp) */
-    { 0x201f0134, -1 },                /* lda  v0,308 */
-    { 0x00000083, -1 },                /* callsys */
-    { 0x47e00410, -1 },                /* mov  v0,a0 */
-    { 0x201f0001, -1 },                /* lda  v0,1 */
-    { 0x00000083, -1 },                /* callsys */
-    { TRAMP_SENTINEL_INSN, -1 }
+    { 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 }
   },
   alphanbsd_sigtramp_cache_init
 };
@@ -220,14 +220,14 @@
   4,
   {
     { 0x27ba0000, 0xffff0000 },
-    { 0x23bd0000, 0xffff0000 },        /* ldgp gp,0(ra) */
-    { 0x221e0080, -1 },                /* lda  a0,128(sp) */
-    { 0x201f0134, -1 },                /* lda  v0,308 */
-    { 0x00000083, -1 },                /* callsys */
-    { 0x221fffff, -1 },                /* lda  a0,-1 */
-    { 0x201f0001, -1 },                /* lda  v0,1 */
-    { 0x00000083, -1 },                /* callsys */
-    { TRAMP_SENTINEL_INSN, -1 }
+    { 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 }
   },
   alphanbsd_sigtramp_cache_init
 };



Home | Main Index | Thread Index | Old Index