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]

[RFC 5/9] Unify windows specifics into common/windows-hdep files


Patch that add windows-hdep.o to gdb_host_obs when needed
in configure.host file.

Pierre Muller
GDB pascal language maintainer


ChangeLog entry:

2011-03-30  Pierre Muller  <muller@ics.u-strasbg.fr>

	* configure.host: Add windows-hdep.o to gdb_host_obs when needed.


diff --git a/gdb/configure.host b/gdb/configure.host
index bcebdaf..fce90fc 100644
--- a/gdb/configure.host
+++ b/gdb/configure.host
@@ -91,7 +91,7 @@ i[34567]86-*-netbsdelf* | i[34567]86-*-knetbsd*-gnu)
 i[34567]86-*-netbsd*)	gdb_host=nbsdaout ;;
 i[34567]86-*-go32*)	gdb_host=go32 ;;
 i[34567]86-*-mingw32*)	gdb_host=mingw
-			gdb_host_obs=mingw-hdep.o
+			gdb_host_obs="mingw-hdep.o windows-hdep.o"
 			;;
 i[34567]86-*-msdosdjgpp*) gdb_host=go32 ;;
 i[34567]86-*-linux*)	gdb_host=linux ;;
@@ -103,7 +103,9 @@ i[34567]86-*-openbsd*)	gdb_host=obsd ;;
 i[34567]86-*-solaris2.1[0-9]* | x86_64-*-solaris2.1[0-9]*)
 			gdb_host=sol2-64 ;;
 i[34567]86-*-solaris*)	gdb_host=i386sol2 ;;
-i[34567]86-*-cygwin*)	gdb_host=cygwin ;;
+i[34567]86-*-cygwin*)	gdb_host=cygwin
+			gdb_host_obs="posix-hdep.o windows-hdep.o"
+			;;
 
 ia64-*-hpux*)		gdb_host=hpux ;;
 ia64-*-linux*)		gdb_host=linux ;;
@@ -174,7 +176,7 @@ x86_64-*-netbsd* | x86_64-*-knetbsd*-gnu)
 			gdb_host=nbsd64 ;;
 x86_64-*-openbsd*)	gdb_host=obsd64 ;;
 x86_64-*-mingw*)        gdb_host=mingw64
-			gdb_host_obs=mingw-hdep.o
+			gdb_host_obs="mingw-hdep.o windows-hdep.o"
 			;;
 m32r*-*-linux*)          gdb_host=linux ;;
 
-- 
1.7.4



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