From c4d88f87b7b2930e52f48e9ee0edcdfe2f18c904 Mon Sep 17 00:00:00 2001 From: Paul Gilliam Date: Mon, 7 Mar 2005 18:57:57 +0000 Subject: fix obvious problem with compiler.c and compiler.cc: for xlc, used 'regsub', but for get_compiler_info, line must start with 'set'. --- gdb/testsuite/lib/compiler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/testsuite/lib/compiler.c') diff --git a/gdb/testsuite/lib/compiler.c b/gdb/testsuite/lib/compiler.c index 5875041..7160591 100644 --- a/gdb/testsuite/lib/compiler.c +++ b/gdb/testsuite/lib/compiler.c @@ -68,5 +68,5 @@ set compiler_info [join {hpacc __HP_aCC} -] #if defined (__xlc__) /* IBM'x xlc compiler. NOTE: __xlc__ expands to a double quoted string of four numbers seperated by '.'s: currently "7.0.0.0" */ -regsub -all {\.} [join {xlc __xlc__} -] - compiler_info +set need_a_set [regsub -all {\.} [join {xlc __xlc__} -] - compiler_info] #endif -- cgit v1.1