This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: [PATCH] Fix siginfo C++ build error
- From: "Tedeschi, Walfred" <walfred dot tedeschi at intel dot com>
- To: Sergio Durigan Junior <sergiodj at redhat dot com>, Simon Marchi <simon dot marchi at ericsson dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Tue, 9 Feb 2016 08:13:11 +0000
- Subject: RE: [PATCH] Fix siginfo C++ build error
- Authentication-results: sourceware.org; auth=none
- References: <1454956057-15159-1-git-send-email-simon dot marchi at ericsson dot com> <87r3gmk491 dot fsf at redhat dot com>
Sergio,
Not received any e-mail. Will take a look asap.
Sorry for the inconvenience.
Regards,
-Fred
-----Original Message-----
From: Sergio Durigan Junior [mailto:sergiodj@redhat.com]
Sent: Tuesday, February 09, 2016 3:27 AM
To: Simon Marchi
Cc: gdb-patches@sourceware.org; Tedeschi, Walfred
Subject: Re: [PATCH] Fix siginfo C++ build error
On Monday, February 08 2016, Simon Marchi wrote:
> Change the signature of gdbserver's siginfo_fixup functions so that
> it's in line with gdb's. This gets rid of the following build error in C++:
>
> /home/emaisin/src/binutils-gdb/gdb/gdbserver/linux-x86-low.c: In function âint x86_siginfo_fixup(siginfo_t*, void*, int)â:
> /home/emaisin/src/binutils-gdb/gdb/gdbserver/linux-x86-low.c:694:21: error: invalid conversion from âvoid*â to âgdb_byte* {aka unsigned char*}â [-fpermissive]
> FIXUP_32);
> ^
> In file included from /home/emaisin/src/binutils-gdb/gdb/gdbserver/linux-x86-low.c:31:0:
> /home/emaisin/src/binutils-gdb/gdb/gdbserver/../nat/amd64-linux-siginfo.h:52:5: error: initializing argument 2 of âint amd64_linux_siginfo_fixup_common(siginfo_t*, gdb_byte*, int, amd64_siginfo_fixup_mode)â [-fpermissive]
> int amd64_linux_siginfo_fixup_common (siginfo_t *native, gdb_byte *inf,
> ^
> /home/emaisin/src/binutils-gdb/gdb/gdbserver/linux-x86-low.c:698:20: error: invalid conversion from âvoid*â to âgdb_byte* {aka unsigned char*}â [-fpermissive]
> FIXUP_X32);
> ^
> In file included from /home/emaisin/src/binutils-gdb/gdb/gdbserver/linux-x86-low.c:31:0:
> /home/emaisin/src/binutils-gdb/gdb/gdbserver/../nat/amd64-linux-siginfo.h:52:5: error: initializing argument 2 of âint amd64_linux_siginfo_fixup_common(siginfo_t*, gdb_byte*, int, amd64_siginfo_fixup_mode)â [-fpermissive]
> int amd64_linux_siginfo_fixup_common (siginfo_t *native, gdb_byte *inf,
> ^
This has been broken since February 2nd. The commit that caused this
was:
<http://gdb-build.sergiodj.net/builders/Fedora-x86_64-cxx-build-m64/builds/1869>
Walfred, out of curiosity, did you receive an e-mail from the BuildBot about this breakage?
--
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36 Please send encrypted e-mail if possible http://sergiodj.net/
Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Christian Lamprechter
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928