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]

Resync toplevel files (was: Re: [RFA] Build gdb on darwin)


On Thu, 27 Nov 2008, Tristan Gingold wrote:

> 
> On Nov 27, 2008, at 4:00 PM, Stan Shebs wrote:
> 
> > Tristan Gingold wrote:
> > > Hi,
> > > 
> > > all the bits for darwin/x86 have been committed but the top-level
> > > configure doesn't build gdb.
> > > This patch build gdb when configured for i*86-*-darwin.
> > 
> > This is good, thanks!
> 
> Committed. Thanks.

Remember that toplevel patches need to go in both the gcc and src 
repositories.  As there seem to be quite a lot that haven't, I've applied 
this patch to GCC and will follow up with resyncing changes in the other 
direction.

Index: configure
===================================================================
--- configure	(revision 142244)
+++ configure	(working copy)
@@ -2210,10 +2210,14 @@
   *-*-chorusos)
     noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
     ;;
-  powerpc-*-darwin* | i[3456789]86-*-darwin* | x86_64-*-darwin9*)
+  powerpc-*-darwin* | x86_64-*-darwin9*)
     noconfigdirs="$noconfigdirs ld gas gdb gprof"
     noconfigdirs="$noconfigdirs sim target-rda"
     ;;
+  i[3456789]86-*-darwin*)
+    noconfigdirs="$noconfigdirs ld gas gprof"
+    noconfigdirs="$noconfigdirs sim target-rda"
+    ;;
   *-*-darwin*)
     noconfigdirs="$noconfigdirs ld gas gdb gprof"
     noconfigdirs="$noconfigdirs sim target-rda"
Index: configure.ac
===================================================================
--- configure.ac	(revision 142244)
+++ configure.ac	(working copy)
@@ -446,10 +446,14 @@
   *-*-chorusos)
     noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
     ;;
-  powerpc-*-darwin* | i[[3456789]]86-*-darwin* | x86_64-*-darwin9*)
+  powerpc-*-darwin* | x86_64-*-darwin9*)
     noconfigdirs="$noconfigdirs ld gas gdb gprof"
     noconfigdirs="$noconfigdirs sim target-rda"
     ;;
+  i[[3456789]]86-*-darwin*)
+    noconfigdirs="$noconfigdirs ld gas gprof"
+    noconfigdirs="$noconfigdirs sim target-rda"
+    ;;
   *-*-darwin*)
     noconfigdirs="$noconfigdirs ld gas gdb gprof"
     noconfigdirs="$noconfigdirs sim target-rda"
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 142244)
+++ ChangeLog	(working copy)
@@ -1,3 +1,8 @@
+2008-11-27  Tristan Gingold  <gingold@adacore.com>
+
+	* configure.ac: Build gdb for i?86-*-darwin*
+	* configure: Regenerated.
+
 2008-11-24  Hariharan Sandanagobalane <hariharan@picochip.com>
 
 	* MAINTAINERS: Added my full name.

-- 
Joseph S. Myers
joseph@codesourcery.com


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