[PR,gdb/22950] proc-events.c: fix compilation on Solaris
Commit Message
This patch adds a guard around the usage of SYS_uuidsys, which is
not available on (at least) Solaris 10 and OpenIndiana.
gdb/Changelog:
PR gdb/22950
* proc-events.c (init_syscall_table): Fix compilation when SYS_uuidsys
is not defined.
Comments
On 2018-04-28 15:28, Fabian Groffen wrote:
> This patch adds a guard around the usage of SYS_uuidsys, which is
> not available on (at least) Solaris 10 and OpenIndiana.
Thanks for the patch, I pushed it.
Simon
@@ -493,7 +493,9 @@
syscall_table[SYS_utssys] = "utssys";
syscall_table[SYS_uucopy] = "uucopy";
syscall_table[SYS_uucopystr] = "uucopystr";
+#ifdef SYS_uuidsys
syscall_table[SYS_uuidsys] = "uuidsys";
+#endif
#ifdef SYS_va_mask
syscall_table[SYS_va_mask] = "va_mask";
#endif
@@ -1,3 +1,9 @@
+2018-04-28 Fabian Groffen <grobian@gentoo.org>
+
+ PR gdb/22950
+ * proc-events.c (init_syscall_table): Fix compilation when SYS_uuidsys
+ is not defined.
+
2018-04-27 Alexandre Oliva <aoliva@redhat.com>
* compile/compile-c-types.c (convert_int, convert_float):