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]

RE: [PATCH] Fix siginfo C++ build error


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]