cherrypick a patch from 7.11

This cherrypicks the commit:
  78af0f6: Handle cross compile for locale configuration

BUG=None
TEST=./checkbuild.py on linux x86

Change-Id: I55ab0c97771b5efc3c317c20e7704bd94cb21a25
1 file changed
tree: 45c69617a4217ed15e1b63f5f713679db6d9f9e9
  1. build-gdb.sh
  2. build.py
  3. gdb-7.11/
  4. gdb-8.0.1/