This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 0/4] C++: handle ptrace(enum __ptrace_request, ...)
- From: Pedro Alves <palves at redhat dot com>
- To: GDB Patches <gdb-patches at sourceware dot org>
- Date: Fri, 24 Jul 2015 15:21:58 +0100
- Subject: Re: [PATCH 0/4] C++: handle ptrace(enum __ptrace_request, ...)
- Authentication-results: sourceware.org; auth=none
- References: <1436565127-30293-1-git-send-email-palves at redhat dot com>
On 07/10/2015 10:52 PM, Pedro Alves wrote:
> Building GDB on GNU/Linux in C++ mode issues ~40 ptrace-related
> -fpermissive warnings like this:
>
> ../../src/gdb/linux-nat.c: In function âint linux_handle_extended_wait(lwp_info*, int, int)â:
> ../../src/gdb/linux-nat.c:2016:51: warning: invalid conversion from âintâ to â__ptrace_requestâ [-fpermissive]
> ptrace (PTRACE_GETEVENTMSG, pid, 0, &new_pid);
>
> This series fixes them all.
>
> No regressions on x86_64 Fedora 20.
>
> Pedro Alves (4):
> make gdbserver use the same ptrace autoconf checks as gdb
> Move gdb_ptrace.h to nat/
> C++: handle glibc's ptrace(enum __ptrace_request, ...)
> Linux: sys/ptrace.h -> nat/gdb_ptrace.h everywhere
FYI, I pushed these in.
--
Pedro Alves