New ARI web page, generated using script inside CVS tree in gdb/contrib/ari directory

Pedro Alves palves@redhat.com
Mon Nov 12 18:48:00 GMT 2012


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



More information about the Gdb mailing list