This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2] gdb: btrace: fix build errors on older glibc builds
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 13 Sep 2013 05:32:45 -0700
- Subject: Re: [PATCH v2] gdb: btrace: fix build errors on older glibc builds
- Authentication-results: sourceware.org; auth=none
- References: <1378190232-13873-1-git-send-email-vapier at gentoo dot org> <1379011230-410-1-git-send-email-vapier at gentoo dot org>
> gdb/:
> 2013-09-12 Mike Frysinger <vapier@gentoo.org>
>
> * common/linux-btrace.c: Move sys/syscall.h out of the
> HAVE_LINUX_PERF_EVENT_H check and wrap it in HAVE_SYS_SYSCALL_H.
> Also check for SYS_perf_event_open before attempting to buid.
>
> gdbserver/:
> 2013-09-12 Mike Frysinger <vapier@gentoo.org>
>
> * configure.ac (AC_CHECK_HEADERS): Add sys/syscall.h
> * config.in, configure: Regenerated.
Looks good to me. Please go ahead and commit.
For the record, I checked the gdb configure script, and it already
checks for sys/syscall.h. So we're good on that side.
--
Joel