This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix apparent typo in lib/gdb.exp when setting skip_vmx_tests_saved


The attached patch fixes this error:

  Running /src/latest/patched/src/gdb/gdb/testsuite/gdb.arch/altivec-abi.exp ...
  ERROR: tcl error sourcing /src/latest/patched/src/gdb/gdb/testsuite/gdb.arch/altivec-abi.exp.
  ERROR: can't read "skip_vmx_tests_saved": no such variable
      while executing
  "set $skip_vmx_tests_saved 1"
      (procedure "skip_altivec_tests" line 15)
      invoked from within
  "skip_altivec_tests"
      (file "/src/latest/patched/src/gdb/gdb/testsuite/gdb.arch/altivec-abi.exp" line 1)
      ("uplevel" body line 1)
      invoked from within
  "catch "uplevel #0 source $test_file_name""


===================================================================

2006-08-15  Fred Fish  <fnf@specifix.com>

	* lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
	'$' in front of skip_vmx_tests_saved when setting that.


Index: gdb/gdb/testsuite/lib/gdb.exp
===================================================================
RCS file: /cvsroots/latest/src/gdb/gdb/testsuite/lib/gdb.exp,v
retrieving revision 1.1.1.2.2.5
diff -u -p -r1.1.1.2.2.5 gdb.exp
--- gdb/gdb/testsuite/lib/gdb.exp	13 Aug 2006 20:57:17 -0000	1.1.1.2.2.5
+++ gdb/gdb/testsuite/lib/gdb.exp	15 Aug 2006 12:06:45 -0000
@@ -1196,7 +1196,7 @@ proc skip_altivec_tests {} {
     # Some simulators are known to not support VMX instructions.
     if { [istarget powerpc-*-eabi] || [istarget powerpc*-*-eabispe] } {
         verbose "$me:  target known to not support VMX, returning 1" 2
-        return [set $skip_vmx_tests_saved 1]
+        return [set skip_vmx_tests_saved 1]
     }
 
     # Make sure we have a compiler that understands altivec.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]