Module Name:    src
Committed By:   christos
Date:           Sat Jul 13 21:53:48 UTC 2019

Modified Files:
        src/external/gpl3/gdb/dist/gdb: alpha-nbsd-tdep.c

Log Message:
Add (ULONGEST) to prevent narrowing warnings.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gdb/dist/gdb/alpha-nbsd-tdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gdb/dist/gdb/alpha-nbsd-tdep.c
diff -u src/external/gpl3/gdb/dist/gdb/alpha-nbsd-tdep.c:1.5 src/external/gpl3/gdb/dist/gdb/alpha-nbsd-tdep.c:1.6
--- src/external/gpl3/gdb/dist/gdb/alpha-nbsd-tdep.c:1.5	Thu May 30 09:54:20 2019
+++ src/external/gpl3/gdb/dist/gdb/alpha-nbsd-tdep.c	Sat Jul 13 17:53:48 2019
@@ -192,7 +192,7 @@ static const struct tramp_frame alphanbs
     { 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 @@ static const struct tramp_frame alphanbs
   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 @@ static const struct tramp_frame alphanbs
   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
 };

Reply via email to