This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/2] Fix C++ build on FreeBSD/x86
- From: John Baldwin <jhb at FreeBSD dot org>
- To: gdb-patches at sourceware dot org
- Date: Tue, 19 Apr 2016 14:40:01 -0700
- Subject: [PATCH 0/2] Fix C++ build on FreeBSD/x86
- Authentication-results: sourceware.org; auth=none
These changes allow FreeBSD/amd64 and FreeBSD/i386 to build in C++ mode.
Tested with GCC (4.8) and clang (3.4 and 3.8).
John Baldwin (2):
Cast the pointer assigned to ss_sp to char *.
Handle void * conversions in FreeBSD/x86 native code to fix C++ build.
gdb/ChangeLog | 16 ++++++++++++++++
gdb/amd64bsd-nat.c | 4 ++--
gdb/fbsd-nat.c | 4 ++--
gdb/i386bsd-nat.c | 8 ++++----
gdb/main.c | 4 +++-
5 files changed, 27 insertions(+), 9 deletions(-)
--
2.7.0