diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-04-11 16:53:01 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-04-11 16:53:01 +0000 |
commit | 8f39447c48de57306a669ed1c49b3a6efd5e3bbb (patch) | |
tree | 793ef64c322586850a3df67fd6db2bdaabdcd7ec /gdb/configure.tgt | |
parent | 3f98c536487a84b5e846cb00643283e108b102b7 (diff) | |
download | gdb-8f39447c48de57306a669ed1c49b3a6efd5e3bbb.tar.gz |
gdb/
Fix parsing tabs in ${gdb_target_obs}.
* configure.tgt (gdb_have_gcore): Replace case with for and if.
Diffstat (limited to 'gdb/configure.tgt')
-rw-r--r-- | gdb/configure.tgt | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/gdb/configure.tgt b/gdb/configure.tgt index 51fe87c620f..2435de4ffd4 100644 --- a/gdb/configure.tgt +++ b/gdb/configure.tgt @@ -707,11 +707,9 @@ esac # Check whether this target supports gcore. # Such target has to call set_gdbarch_find_memory_regions. -case " ${gdb_target_obs} " in - *" linux-tdep.o "*) +gdb_have_gcore=false +for t in x ${gdb_target_obs}; do + if test "$t" = linux-tdep.o; then gdb_have_gcore=true - ;; - *) - gdb_have_gcore=false - ;; -esac + fi +done |