[ping] [PATCH] Different outputs affected by locale
Yao Qi
yao@codesourcery.com
Thu Jun 12 00:48:00 GMT 2014
On 06/12/2014 12:22 AM, Eli Zaretskii wrote:
> Why do you need 0xa2 to be unprintable?
Test in gdb.base/wchar.exp expects 0xa2 being unprintable.
set cent "\\\\242"
gdb_test "print repeat" "= L\"A\", '$cent' <repeats 21 times>, \"B.*"
but it is printable on mingw and causes several fails in wchar.exp. At
the beginning, I think this is caused by locale but the experiment later
shows that setting locale doesn't change anything (the subject becomes
misleading).
I should change the subject to "Different output affected by host", and
probably go back to use the patch to relax the pattern to
set cent "(\\\\242|\u00A2)"
--
Yao (é½å°§)
More information about the Gdb-patches
mailing list