Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA] Darwin/x86 port (v2 - part 4/4: misc)
@ 2008-11-12 12:50 Tristan Gingold
  2008-11-12 12:53 ` Mark Kettenis
  2008-11-12 17:29 ` Tristan Gingold
  0 siblings, 2 replies; 4+ messages in thread
From: Tristan Gingold @ 2008-11-12 12:50 UTC (permalink / raw)
  To: gdb-patches

darwin.defs:

#include "config.h"
#ifdef HAVE_64_BIT_MACH_EXCEPTIONS
#import <mach/mach_exc.defs>
#else
#import <mach/exc.defs>
#endif

config/i386/darwin.mh:

# Host: IA86 running Darwin

SER_HARDWIRE = ser-base.o ser-unix.o ser-tcp.o

NATDEPFILES = fork-child.o machoread.o darwin-nat.o excServer.o \
     i386-darwin-nat.o i386-nat.o

# Trick so that excServer.c is not the default target!
_all: all

excServer.c: darwin.defs
	/usr/bin/mig -I. $<


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

* Re: [RFA] Darwin/x86 port (v2 - part 4/4: misc)
  2008-11-12 12:50 [RFA] Darwin/x86 port (v2 - part 4/4: misc) Tristan Gingold
@ 2008-11-12 12:53 ` Mark Kettenis
  2008-11-12 17:08   ` Tristan Gingold
  2008-11-12 17:29 ` Tristan Gingold
  1 sibling, 1 reply; 4+ messages in thread
From: Mark Kettenis @ 2008-11-12 12:53 UTC (permalink / raw)
  To: gingold; +Cc: gdb-patches

> Date: Wed, 12 Nov 2008 11:13:46 +0100
> From: Tristan Gingold <gingold@adacore.com>
> 
> config/i386/darwin.mh:
> 
> # Host: IA86 running Darwin
> 
> SER_HARDWIRE = ser-base.o ser-unix.o ser-tcp.o

Do you really need to override this for Darwin?  I'd expect ser-pipe.c
to work just fine.  If not, this should really be moved into
configure.ac, where we handle go32/djgpp/mingw32.


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

* Re: [RFA] Darwin/x86 port (v2 - part 4/4: misc)
  2008-11-12 12:53 ` Mark Kettenis
@ 2008-11-12 17:08   ` Tristan Gingold
  0 siblings, 0 replies; 4+ messages in thread
From: Tristan Gingold @ 2008-11-12 17:08 UTC (permalink / raw)
  To: gdb-patches; +Cc: Mark Kettenis


On Nov 12, 2008, at 1:32 PM, Mark Kettenis wrote:

>> Date: Wed, 12 Nov 2008 11:13:46 +0100
>> From: Tristan Gingold <gingold@adacore.com>

>>
>> SER_HARDWIRE = ser-base.o ser-unix.o ser-tcp.o
>
> Do you really need to override this for Darwin?  I'd expect ser-pipe.c
> to work just fine.  If not, this should really be moved into
> configure.ac, where we handle go32/djgpp/mingw32.

I didn't realize there are default values.  So here is the new  
darwin.mh file:

# Host: IA86 running Darwin

NATDEPFILES = fork-child.o machoread.o darwin-nat.o excServer.o \
      i386-darwin-nat.o i386-nat.o darwin-nat-info.o

# Trick so that excServer.c is not the default target!
_all: all

excServer.c: darwin.defs
	/usr/bin/mig -I. $<


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

* [RFA] Darwin/x86 port (v2 - part 4/4: misc)
  2008-11-12 12:50 [RFA] Darwin/x86 port (v2 - part 4/4: misc) Tristan Gingold
  2008-11-12 12:53 ` Mark Kettenis
@ 2008-11-12 17:29 ` Tristan Gingold
  1 sibling, 0 replies; 4+ messages in thread
From: Tristan Gingold @ 2008-11-12 17:29 UTC (permalink / raw)
  To: gdb-patches

darwin.defs:

#include "config.h"
#ifdef HAVE_64_BIT_MACH_EXCEPTIONS
#import <mach/mach_exc.defs>
#else
#import <mach/exc.defs>
#endif

config/i386/darwin.mh:

# Host: IA86 running Darwin

SER_HARDWIRE = ser-base.o ser-unix.o ser-tcp.o

NATDEPFILES = fork-child.o machoread.o darwin-nat.o excServer.o \
     i386-darwin-nat.o i386-nat.o

# Trick so that excServer.c is not the default target!
_all: all

excServer.c: darwin.defs
	/usr/bin/mig -I. $<


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

end of thread, other threads:[~2008-11-12 12:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-12 12:50 [RFA] Darwin/x86 port (v2 - part 4/4: misc) Tristan Gingold
2008-11-12 12:53 ` Mark Kettenis
2008-11-12 17:08   ` Tristan Gingold
2008-11-12 17:29 ` Tristan Gingold

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