From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 127308 invoked by alias); 19 Apr 2016 21:41:15 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 127296 invoked by uid 89); 19 Apr 2016 21:41:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=fbsdnatc, fbsd-nat.c, UD:fbsd-nat.c X-HELO: bigwig.baldwin.cx Received: from bigwig.baldwin.cx (HELO bigwig.baldwin.cx) (96.47.65.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Tue, 19 Apr 2016 21:41:13 +0000 Received: from ralph.com (c-73-231-226-104.hsd1.ca.comcast.net [73.231.226.104]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 532D3B982 for ; Tue, 19 Apr 2016 17:41:11 -0400 (EDT) From: John Baldwin To: gdb-patches@sourceware.org Subject: [PATCH 0/2] Fix C++ build on FreeBSD/x86 Date: Tue, 19 Apr 2016 21:41:00 -0000 Message-Id: X-IsSubscribed: yes X-SW-Source: 2016-04/txt/msg00470.txt.bz2 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