This is the mail archive of the gdb-patches@sources.redhat.com 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] get win32-nat target to compile again.


On Mon, Jan 07, 2002 at 11:17:45AM +0100, Pierre Muller wrote:
>Win32-nat target is broken since december 27.,
>when Mark moved some macros  from tm-i386.h 
>to i386-tdep.h which isn't included in the win32-nat.c.

I tried to apply this patch but it is malformed.

However, it looks right, so if you want to check it in, please do.

I think you still want to investigate why the patch is screwed up,
though.

>The patch below does fix the compile failure, but I am unsure if this
>is the correct approach (maybe it should rather be included inside
>another include file ?)
>
>By the way, are there any plans to support win32 for other processors
>as i386 ?  A big part of the win32-nat.c code is processor independant,
>but several recent additions (include my not yet accepted debug
>register support) do have proc specific code...

The win32-nat.c code sort of assumes cygwin right now.  I plan on adding
some more code from Tak Ota at some point which allows command line
redirection under cygwin.

That's about it for any plans *I* have for win32-nat.c.

cgf

>2002-01-06 Pierre Muller  <muller@ics.u-strasbg.fr>
>
>	* win32-nat.c: Add i386-tdep.h dependency.
>
>Index: win32-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/win32-nat.c,v
>retrieving revision 1.41
>diff -u -r1.41 win32-nat.c
>--- win32-nat.c 2001/12/03 08:19:01     1.41
>+++ win32-nat.c 2002/01/07 10:07:59
>@@ -34,6 +34,7 @@
>  #include "completer.h"
>  #include "regcache.h"
>  #include "top.h"
>+#include "i386-tdep.h"
>  #include <signal.h>
>  #include <sys/types.h>
>  #include <fcntl.h>


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