public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix C++ build on FreeBSD/x86
@ 2016-04-19 21:41 John Baldwin
  2016-04-19 21:41 ` [PATCH 1/2] Cast the pointer assigned to ss_sp to char * John Baldwin
  2016-04-19 21:41 ` [PATCH 2/2] Handle void * conversions in FreeBSD/x86 native code to fix C++ build John Baldwin
  0 siblings, 2 replies; 5+ messages in thread
From: John Baldwin @ 2016-04-19 21:41 UTC (permalink / raw)
  To: gdb-patches

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-04-19 22:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-19 21:41 [PATCH 0/2] Fix C++ build on FreeBSD/x86 John Baldwin
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
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

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).