вс, 31 мар. 2019 г. в 17:45, Eli Zaretskii : > Bother: do we want to behave like a Posix platform here, or like a > Windows system? Windows doesn't have LC_MESSAGES as a locale > category. I just saw LC_MESSAGES usage in gettext... > Finally, a more general point: I'm not sure I understand the purpose > of this change. Is the purpose to let users control the language of > the gdbserver system error messages? Yes, it's the purprose. > If so, would they need to > control that by setting environment variables? It sounds less > convenient than it could have been, I think. Why not a GDB variable > instead? Environment variables are used in gettext anyway, I think single source for localisation language is convenient. I corrected issues you mentioned (I hope!) and made a function to get locale ID.