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]

[PATCH 0/2] Fix C++ build on FreeBSD/x86


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


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