Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] Fix apparent typo in lib/gdb.exp when setting skip_vmx_tests_saved
@ 2006-08-15 18:45 Fred Fish
  2006-08-18  8:49 ` Daniel Jacobowitz
  0 siblings, 1 reply; 2+ messages in thread
From: Fred Fish @ 2006-08-15 18:45 UTC (permalink / raw)
  To: GDB Patches

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Fix apparent typo in lib/gdb.exp when setting skip_vmx_tests_saved
  2006-08-15 18:45 [PATCH] Fix apparent typo in lib/gdb.exp when setting skip_vmx_tests_saved Fred Fish
@ 2006-08-18  8:49 ` Daniel Jacobowitz
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2006-08-18  8:49 UTC (permalink / raw)
  To: Fred Fish; +Cc: GDB Patches

On Tue, Aug 15, 2006 at 10:25:19AM -0400, Fred Fish wrote:
> 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.

Yes, definitely correct.  This is OK, thanks!

-- 
Daniel Jacobowitz
CodeSourcery


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-08-18  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-15 18:45 [PATCH] Fix apparent typo in lib/gdb.exp when setting skip_vmx_tests_saved Fred Fish
2006-08-18  8:49 ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox