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: patch: libiberty pex for _WIN64


Hi Christopher,

> On Sat, Aug 04, 2007 at 11:44:03AM +0300, Eli Zaretskii wrote:
> >> Date: Fri, 3 Aug 2007 19:16:42 -0400
> >> From: Christopher Faylor 
<cgf-use-the-mailinglist-please@sourceware.org>
> >> 
> >> >2007-08-03  Kai Tietz   <kai.tietz@onevision.com>
> >> >
> >> >        * pex-common.h: (pex_funcs): Retyped wait and exec_childto 
pid_t.
> >> >        * pex-djgpp.c: Likewise.
> >> >        * pex-msdos.c: Likewise.
> >> >        * pex-unix.c: Likewise.
> >> >        * pex-win32.c: Likewise.
> >> 
> >> If long isn't long enough what is pid_t defined to be on _WIN64?
> >
> >I think it's "long long", as 64-bit Windows uses the P64 model.
> 
> Yeah, duh.  That was obvious.  Sorry.
> 
> Where does the "typedef long long pid_t" come from?  I only see it as
> being defined as "int" in the mingw headers.  And I didn't see any
> machinery in configure to derive this.
> 
> I guess I'm asking if there is another patch coming down the line which
> handles the long long.

The _WIN64 headers are released under the Snapshot mingw-w64-headers (as 
the new crt for this platform). The pid_t is defined there in sys/types.h.
I think that the headers may get merged with the 32-bit version, but I am 
not quite certain about that. Therefore I try to open an repository on 
sourceforge for them and let them run in parallel.

Cheers,
 i.A. Kai Tietz

|  (\_/)  This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.

------------------------------------------------------------------------------------------
  OneVision Software Entwicklungs GmbH & Co. KG
  Dr.-Leo-Ritter-StraÃe 9 - 93049 Regensburg
  Tel: +49.(0)941.78004.0 - Fax: +49.(0)941.78004.489 - www.OneVision.com
  Commerzbank Regensburg - BLZ 750 400 62 - Konto 6011050
  Handelsregister: HRA 6744, Amtsgericht Regensburg
  KomplementÃrin: OneVision Software Entwicklungs Verwaltungs GmbH
  Dr.-Leo-Ritter-StraÃe 9 â 93049 Regensburg
  Handelsregister: HRB 8932, Amtsgericht Regensburg - GeschÃftsfÃhrer: 
Ulrike DÃhler, Manuela Kluger


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