diff options
author | Tom de Vries <tdevries@suse.de> | 2023-06-21 16:29:04 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2023-06-21 16:29:04 +0200 |
commit | 83aa25512de00bbbc469d3bf2414e99c8374e0d7 (patch) | |
tree | d71d4cca955f3b821cd7de2539daac87fcc25183 /config | |
parent | b96cac16078d282ee0924296817c6eee52196669 (diff) | |
download | gdb-83aa25512de00bbbc469d3bf2414e99c8374e0d7.zip gdb-83aa25512de00bbbc469d3bf2414e99c8374e0d7.tar.gz gdb-83aa25512de00bbbc469d3bf2414e99c8374e0d7.tar.bz2 |
[gdb/testsuite] Add have_host_locale
With test-case gdb.tui/pr30056.exp, I run into:
...
sh: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)^M
...
and then subsequently into:
...
WARNING: timeout in accept_gdb_output
FAIL: gdb.tui/pr30056.exp: Control-C
...
This is on a CentOS 7 distro for powerpc64le.
Either it has no C.UTF-8 support, or it's not installed:
...
$ locale -a | grep ^C
C
$
...
Fix this by:
- adding a new proc have_host_locale, and
- using it in all test-cases using setenv LC_ALL.
Tested on powerpc64le-linux and x86_64-linux.
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions