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

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