This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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. --- a/gdb/proc-events.c +++ b/gdb/proc-events.c @@ -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 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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):
Attachment:
signature.asc
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |