Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Aug 2011 13:09:44 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r224832 - stable/8/gnu/usr.bin/gdb/arch/sparc64
Message-ID:  <201108131309.p7DD9i0n017454@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marius
Date: Sat Aug 13 13:09:43 2011
New Revision: 224832
URL: http://svn.freebsd.org/changeset/base/224832

Log:
  MFC: r224687
  
  Compile fbsd-threads.c. Amongst others this is necessary for a working
  kgdb(1).
  
  PR:		158719
  Reviewed by:	marcel

Modified:
  stable/8/gnu/usr.bin/gdb/arch/sparc64/Makefile
  stable/8/gnu/usr.bin/gdb/arch/sparc64/init.c
Directory Properties:
  stable/8/gnu/usr.bin/gdb/arch/sparc64/   (props changed)

Modified: stable/8/gnu/usr.bin/gdb/arch/sparc64/Makefile
==============================================================================
--- stable/8/gnu/usr.bin/gdb/arch/sparc64/Makefile	Sat Aug 13 12:57:51 2011	(r224831)
+++ stable/8/gnu/usr.bin/gdb/arch/sparc64/Makefile	Sat Aug 13 13:09:43 2011	(r224832)
@@ -1,6 +1,7 @@
 # $FreeBSD$
 
 .if !defined(GDB_CROSS_DEBUGGER)
+LIBSRCS+= fbsd-threads.c
 LIBSRCS+= solib.c solib-legacy.c solib-svr4.c
 LIBSRCS+= sparc-nat.c sparc64-nat.c sparc64fbsd-nat.c
 .endif

Modified: stable/8/gnu/usr.bin/gdb/arch/sparc64/init.c
==============================================================================
--- stable/8/gnu/usr.bin/gdb/arch/sparc64/init.c	Sat Aug 13 12:57:51 2011	(r224831)
+++ stable/8/gnu/usr.bin/gdb/arch/sparc64/init.c	Sat Aug 13 13:09:43 2011	(r224832)
@@ -11,6 +11,7 @@ extern initialize_file_ftype _initialize
 extern initialize_file_ftype _initialize_ser_hardwire;
 extern initialize_file_ftype _initialize_ser_pipe;
 extern initialize_file_ftype _initialize_ser_tcp;
+extern initialize_file_ftype _initialize_thread_db;
 extern initialize_file_ftype _initialize_sparc64fbsd_nat;
 extern initialize_file_ftype _initialize_sparc64_nat;
 extern initialize_file_ftype _initialize_sparc_nat;
@@ -124,6 +125,7 @@ initialize_all_files (void)
   _initialize_ser_pipe ();
   _initialize_ser_tcp ();
 #ifndef CROSS_DEBUGGER
+  _initialize_thread_db ();
   _initialize_sparc64fbsd_nat ();
   _initialize_sparc64_nat ();
   _initialize_sparc_nat ();



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108131309.p7DD9i0n017454>