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: RFA: Support Windows extended error numbers in safe_strerror


On Sat, Feb 04, 2006 at 01:58:45PM +0200, Eli Zaretskii wrote:
> How about if you put this in some function on win32-nat.c, and then
> leave only the conditional call to that function in utils.c?  Actualy,
> perhaps we don't need any ifdef at all, since I think there's no way
> the argument can be greater than sys_nerr on other platforms, right?

Well, it can't be in win32-nat.c - it's for Windows hosting rather
than Windows native.  But I could move the code to a new
Windows-specific file, like ser-windows.o introduced in my other
patch, and call it there.  I've no objection to that.

-- 
Daniel Jacobowitz
CodeSourcery


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