This is the mail archive of the gdb@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: New ARI web page, generated using script inside CVS tree in gdb/contrib/ari directory


On 11/12/2012 06:38 PM, Joel Brobecker wrote:
>> strerror sounds like something gnulib might have a replacement for
>> too.  Then we could get rid of safe_strerror, and just use strerror
>> everywhere.
> 
> I had a look at that option, and I'm not sure whether it would work on
> Windows. But maybe I looked too quickly. If it works on windows, I am
> definitely in favor of that too.

Hmm, doesn't look like a full replacement.  Ours uses FormatMessage
for errors unknown to the native strerror, while gnulib's
returns "(undocumented error %d)".  Don't know if gnulib might be
interested in our version, though to me it sounds like our version is
more useful for Windows ports; it might be worth it to ask them and
contribute it.

-- 
Pedro Alves


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