This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [mingw rfc] Add mkdtemp to gdb/gnulib/ [Re: [PATCH v4 14/14] the "compile" command]
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: Yao Qi <yao at codesourcery dot com>, gdb-patches at sourceware dot org, Kai Tietz <ktietz at redhat dot com>
- Date: Mon, 15 Dec 2014 19:20:57 +0100
- Subject: Re: [mingw rfc] Add mkdtemp to gdb/gnulib/ [Re: [PATCH v4 14/14] the "compile" command]
- Authentication-results: sourceware.org; auth=none
- References: <20141123192713 dot 32193 dot 57150 dot stgit at host1 dot jankratochvil dot net> <20141123192900 dot 32193 dot 65726 dot stgit at host1 dot jankratochvil dot net> <87r3w2vkhv dot fsf at codesourcery dot com> <20141214075258 dot GA26795 at host2 dot jankratochvil dot net> <87egs2vcfu dot fsf at codesourcery dot com> <20141214182341 dot GA2908 at host2 dot jankratochvil dot net> <87a92pvc0w dot fsf at codesourcery dot com> <20141215124358 dot GU5457 at adacore dot com> <20141215171225 dot GA19674 at host2 dot jankratochvil dot net> <20141215181449 dot GA5457 at adacore dot com>
On Mon, 15 Dec 2014 19:14:49 +0100, Joel Brobecker wrote:
> > Does it mean that after upgrading gnulib we can drop the MS-Windows host
> > routines (which need to be written yet) again?
>
> Provided that the corresponding gnulib modules can in fact be
> imported without problem, then my answer would be yes.
Could someone write the MS-Windows calling code. I can try that myself but I
cannot test it much, from what I tried in the past gdb.exe does not work much
under Wine.
> As Eli pointed out, it's not necessarily an easy change.
OK.
> I don't > see the relation between select and mkdtemp, but maybe I missed
> something.
Importing mkdtemp from gnulib broke select() calls:
On Sun, 14 Dec 2014 19:23:41 +0100, Jan Kratochvil wrote:
# But after the gnulib mkdtemp
# addition there are many errors (attached as the second attachment). It is all
# about
# struct timeval *
# vs.
# struct rpl_timeval *
Jan