public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: John Baldwin <jhb@FreeBSD.org>
To: gdb-patches@sourceware.org
Subject: [PATCH 0/2] Fix C++ build on FreeBSD/x86
Date: Tue, 19 Apr 2016 21:41:00 -0000	[thread overview]
Message-ID: <cover.1461101705.git.jhb@FreeBSD.org> (raw)

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

             reply	other threads:[~2016-04-19 21:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-19 21:41 John Baldwin [this message]
2016-04-19 21:41 ` [PATCH 2/2] Handle void * conversions in FreeBSD/x86 native code to fix C++ build John Baldwin
2016-04-19 22:40   ` Pedro Alves
2016-04-19 21:41 ` [PATCH 1/2] Cast the pointer assigned to ss_sp to char * John Baldwin
2016-04-19 22:38   ` Pedro Alves

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1461101705.git.jhb@FreeBSD.org \
    --to=jhb@freebsd.org \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).