ports/devel/gdb/files/patch-gdb_tramp-frame.h
Luca Pizzamiglio b8942914f5 devel/gdb: fix build on current
Clang 6 doesn't allow negative numbers to be implicitely converted to
unsigned types.
This patch explicits all casts.
While I'm here, add an option to silent tons of warning messages

PR:		226644
Reported by:	rakuco@
2018-03-16 14:29:38 +00:00

11 lines
353 B
C

--- gdb/tramp-frame.h.orig 2018-03-15 10:38:21.385046000 +0100
+++ gdb/tramp-frame.h 2018-03-15 10:38:49.942224000 +0100
@@ -41,7 +41,7 @@
/* Magic instruction that to mark the end of the signal trampoline
instruction sequence. */
-#define TRAMP_SENTINEL_INSN ((LONGEST) -1)
+#define TRAMP_SENTINEL_INSN ((ULONGEST) -1)
struct tramp_frame
{