Blame SOURCES/gdb-upstream-man-gcore-2of2.patch

861f93
http://sourceware.org/ml/gdb-cvs/2013-04/msg00110.html
861f93
861f93
### src/gdb/ChangeLog	2013/04/11 14:13:42	1.15398
861f93
### src/gdb/ChangeLog	2013/04/11 16:53:01	1.15399
861f93
## -22,6 +22,9 @@
861f93
 	* gcore.in: ... here.  Remove gcore.sh comment.  Use GDB_TRANSFORM_NAME
861f93
 	and GCORE_TRANSFORM_NAME substitutions.
861f93
 
861f93
+	Fix parsing tabs in ${gdb_target_obs}.
861f93
+	* configure.tgt (gdb_have_gcore): Replace case with for and if.
861f93
+
861f93
 2013-04-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
861f93
 
861f93
 	* remote.c (unpush_and_perror): Add output message final dot.
861f93
--- src/gdb/configure.tgt	2013/04/11 14:13:43	1.273
861f93
+++ src/gdb/configure.tgt	2013/04/11 16:53:01	1.274
861f93
@@ -707,11 +707,9 @@
861f93
 
861f93
 # Check whether this target supports gcore.
861f93
 # Such target has to call set_gdbarch_find_memory_regions.
861f93
-case " ${gdb_target_obs} " in
861f93
-  *" linux-tdep.o "*)
861f93
+gdb_have_gcore=false
861f93
+for t in x ${gdb_target_obs}; do
861f93
+  if test "$t" = linux-tdep.o; then
861f93
     gdb_have_gcore=true
861f93
-    ;;
861f93
-  *)
861f93
-    gdb_have_gcore=false
861f93
-    ;;
861f93
-esac
861f93
+  fi
861f93
+done