[ping] [PATCH] Different outputs affected by locale

Yao Qi yao@codesourcery.com
Thu Jun 12 07:04:00 GMT 2014


On 06/12/2014 10:46 AM, Eli Zaretskii wrote:
> So you need _any_ character for which iswprint returns zero?  If so,
> does the character have to be a single byte?

Find a character for which iswprint returns zero isn't the point, IMO.
The problem is wchar.exp expects "\242" but GDB prints cent sign on
mingw.  Instead of changing to another character, isn't better to match
both (\242 and cent sign) in regexp pattern?

-- 
Yao (齐尧)



More information about the Gdb-patches mailing list