This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFA: Support Windows extended error numbers in safe_strerror
On Fri, Feb 03, 2006 at 05:06:11PM -0800, Jim Blandy wrote:
> On 2/3/06, Mark Kettenis <mark.kettenis@xs4all.nl> wrote:
> > GDB is written for POSIX systems. It's clear that Windows isn't even
> > remotely POSIX compliant.
>
> Technically, Stallman would say that GDB is written for GNU systems,
> and *all* non-GNU support is a distraction. Iffy. So I'm not sure
> you really want to push that argument too hard.
>
> But I agree, about the patch.
>
> If we had safe_strerror try a macro which the nm-*.h file could
> define, I'd feel better about the change.
Except we're trying to kill the aggravating NM files, remember? Also,
it would be an XM file, and we've already successfully killed those (or
most of them). We replaced them with autoconf magic, which is not
fundamentally different from the USE_WIN32API bits.
I'll be back to the rest of this in a separate message.
--
Daniel Jacobowitz
CodeSourcery