Find arm-linux-gnueabi(hf)?-gcc in compile
authorYao Qi <yao.qi@linaro.org>
Fri, 19 Jan 2018 09:08:36 +0000 (09:08 +0000)
committerYao Qi <yao.qi@linaro.org>
Fri, 19 Jan 2018 09:08:36 +0000 (09:08 +0000)
commitdea445b940545f9564972c5410ac8792b72cc9c3
tree1877cd35878a8a8627b05b626f5683acd67d3f8a
parentadf8243ba9220966bbb8f67460b2d323e00cbfdb
Find arm-linux-gnueabi(hf)?-gcc in compile

GCC for arm-linux has different names on different distros.  It is
arm-linux-gnu-gcc on fedora.  Debian/Ubuntu has arm-linux-gnueabihf-gcc
and arm-linux-gnueabi-gcc.  So when I run gdb.compile/ tests on arm-linux,
I get,

(gdb) compile code -- ;
Could not find a compiler matching "^arm(-[^-]*)?-linux(-gnu)?-gcc$"

This patch extend the regexp to match both arm-linux-gnu-gcc and
arm-linux-gnueabihf-gcc.

gdb:

2018-01-19  Yao Qi  <yao.qi@linaro.org>

* osabi.c (gdb_osabi_names): Extend the regexp for
arm-linux-gnueabihf and arm-linux-gnueabi.
gdb/ChangeLog
gdb/osabi.c
This page took 0.024626 seconds and 4 git commands to generate.