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]

Re: Build error in 2009-06-30 patch, with fix


On Sunday 05 July 2009 20:15:46, Danny Backx wrote:
> The 2009-06-30 patch that adds i386-low.c doesn't appear to have added
> this file to the configure.srv for i*86-*-mingw32ce* .
> 
> The patch below fixes this.
> 

Thanks.

Please always post a ChangeLog entry.  If you don't write one,
someone else gets to write it.

>    i[34567]86-*-mingw32ce*)
>                         srv_regobj=reg-i386.o
> -                       srv_tgtobj="win32-low.o win32-i386-low.o"
> +                       srv_tgtobj="win32-low.o win32-i386-low.o
> i386-low.o"

Prepending i386-low.o instead of appending keeps this list in 100% sync
with srv_tgtobj in the i[34567]86-*-mingw* and i[34567]86-*-cygwin*
configurations.

I've applied the patch below.

-- 
Pedro Alves

2009-07-04  Danny Backx  <dannybackx@users.sourceforge.net>

	* configure.srv (i[34567]86-*-mingw32ce*): Add i386-low.o to
	srv_tgtobj.

---
 gdb/gdbserver/configure.srv |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: src/gdb/gdbserver/configure.srv
===================================================================
--- src.orig/gdb/gdbserver/configure.srv	2009-07-05 20:21:22.000000000 +0100
+++ src/gdb/gdbserver/configure.srv	2009-07-05 20:22:33.000000000 +0100
@@ -63,7 +63,7 @@ case "${target}" in
 			;;
   i[34567]86-*-mingw32ce*)
 			srv_regobj=reg-i386.o
-			srv_tgtobj="win32-low.o win32-i386-low.o"
+			srv_tgtobj="i386-low.o win32-low.o win32-i386-low.o"
 			srv_tgtobj="${srv_tgtobj} wincecompat.o"
 			# hostio_last_error implementation is in win32-low.c
 			srv_hostio_err_objs=""
-- 
Pedro Alves


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