Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA] get win32-nat target to compile again.
@ 2002-01-07  2:17 Pierre Muller
  2002-01-07 10:43 ` Christopher Faylor
  2002-01-07 11:11 ` Michael Snyder
  0 siblings, 2 replies; 4+ messages in thread
From: Pierre Muller @ 2002-01-07  2:17 UTC (permalink / raw)
  To: gdb-patches

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.

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...


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>



Pierre Muller
Institut Charles Sadron
6,rue Boussingault
F 67083 STRASBOURG CEDEX (France)
mailto:muller@ics.u-strasbg.fr
Phone : (33)-3-88-41-40-07  Fax : (33)-3-88-41-40-99


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFA] get win32-nat target to compile again.
  2002-01-07  2:17 [RFA] get win32-nat target to compile again Pierre Muller
@ 2002-01-07 10:43 ` Christopher Faylor
  2002-01-08  0:27   ` Pierre Muller
  2002-01-07 11:11 ` Michael Snyder
  1 sibling, 1 reply; 4+ messages in thread
From: Christopher Faylor @ 2002-01-07 10:43 UTC (permalink / raw)
  To: gdb-patches

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>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFA] get win32-nat target to compile again.
  2002-01-07  2:17 [RFA] get win32-nat target to compile again Pierre Muller
  2002-01-07 10:43 ` Christopher Faylor
@ 2002-01-07 11:11 ` Michael Snyder
  1 sibling, 0 replies; 4+ messages in thread
From: Michael Snyder @ 2002-01-07 11:11 UTC (permalink / raw)
  To: Pierre Muller; +Cc: gdb-patches

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.
> 
> 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 ?)

We have used the same fix for several other i386 targets already.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFA] get win32-nat target to compile again.
  2002-01-07 10:43 ` Christopher Faylor
@ 2002-01-08  0:27   ` Pierre Muller
  0 siblings, 0 replies; 4+ messages in thread
From: Pierre Muller @ 2002-01-08  0:27 UTC (permalink / raw)
  To: Christopher Faylor, gdb-patches

At 19:43 07/01/2002 , Christopher Faylor a écrit:
>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.

Sorry, I forgot again about these Eudora transformations...

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

Done.




Pierre Muller
Institut Charles Sadron
6,rue Boussingault
F 67083 STRASBOURG CEDEX (France)
mailto:muller@ics.u-strasbg.fr
Phone : (33)-3-88-41-40-07  Fax : (33)-3-88-41-40-99


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-01-08  8:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-07  2:17 [RFA] get win32-nat target to compile again Pierre Muller
2002-01-07 10:43 ` Christopher Faylor
2002-01-08  0:27   ` Pierre Muller
2002-01-07 11:11 ` Michael Snyder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox