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: [RFA/win32] move win32_xfer_shared_library to (new) win32-tdep...


On Sun, 11 Jan 2009 14:21:29 +0100, Joel Brobecker wrote:
> Excellent! Thank you, Chris. The two patches have now been checked in.
> 
> > I don't know of any way to do a "mv" in CVS.  If no one objects, I'll do
> > some surgery on the CVS repository to make a copy of windows-nat.c
> > and windows-tdep.c to make it look like they always existed and then
> > I'll cvs delete the old files and change Makefile.in.
> 
> Thanks for taking care of that too. The files are ready for the "move".

x86_64-unknown-linux-gnu now fails using --enable-targets=all:
libgdb.a(i386-cygwin-tdep.o): In function `core_process_module_section':
.../gdb/i386-cygwin-tdep.c:160: undefined reference to `win32_xfer_shared_library'

Please apply possibly adjusted before/after the expected renaming.


Regards,
Jan


2009-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>

	Fix linking with --enable-targets=all:
	* Makefile.in (ALL_TARGET_OBS): Add win32-tdep.o.
	(HFILES_NO_SRCDIR): Add win32-tdep.h.
	(ALLDEPFILES): Add win32-tdep.c.

--- gdb/Makefile.in	9 Jan 2009 21:15:10 -0000	1.1063
+++ gdb/Makefile.in	11 Jan 2009 15:54:10 -0000
@@ -515,7 +515,8 @@ ALL_TARGET_OBS = \
 	xcoffread.o \
 	prologue-value.o \
 	symfile-mem.o \
-	corelow.o
+	corelow.o \
+	win32-tdep.o
 
 # Host-dependent makefile fragment comes in here.
 @host_makefile_frag@
@@ -727,7 +728,7 @@ config/sparc/nm-sol2.h config/nm-linux.h
 config/rs6000/nm-rs6000.h top.h bsd-kvm.h gdb-stabs.h reggroups.h \
 annotate.h sim-regno.h dictionary.h dfp.h main.h frame-unwind.h	\
 remote-fileio.h i386-linux-tdep.h vax-tdep.h objc-lang.h \
-sentinel-frame.h bcache.h symfile.h
+sentinel-frame.h bcache.h symfile.h win32-tdep.h
 
 # Header files that already have srcdir in them, or which are in objdir.
 
@@ -1340,7 +1341,7 @@ ALLDEPFILES = \
 	spu-linux-nat.c spu-tdep.c \
 	v850-tdep.c \
 	vax-nat.c vax-tdep.c vaxbsd-nat.c vaxnbsd-tdep.c \
-	win32-nat.c \
+	win32-nat.c win32-tdep.c \
 	xcoffread.c xcoffsolib.c \
 	xstormy16-tdep.c \
 	xtensa-tdep.c xtensa-config.c \


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