This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: PATCH: Introduce gdb_gettimeofday
Mark Kettenis wrote:
I'm not thrilled. gettimeofday(2) is POSIX, so any decent operating
system should have it. Even cygwin (the only way GDB currently
supports Windows) seems to have it. Is there a coordinated attempt to
make GDB run on Windows in some other way?
Yes. I have patches to make GDB run on Windows without Cygwin, for use
as a cross-debugger via the GDB remote protocol. (I've not tried to
implement support debugging actual Windows applications, though there's
nothing in what I've done that would prevent that later.)
There will be a few more patches in this series, but no major changes to
the structure of GDB.
If there indeed is such an effort, did you consider adding
gettimeofday(2) to libiberty?
No. Do you prefer that I ask DJ/Ian about that?
2005-03-08 Mark Mitchell <mark@codesourcery.com>
* config.in (HAVE_GETTIMEOFDAY): #undef it.
This should not be necessary.
OK.
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304