public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-tromey-python: Remove python-support.exp.  Do not load it in gdb.exp.
@ 2011-01-10 12:33 pmuldoon
  0 siblings, 0 replies; only message in thread
From: pmuldoon @ 2011-01-10 12:33 UTC (permalink / raw)
  To: archer-commits

The branch, archer-tromey-python has been updated
       via  fe209e2360570eedf77b88a3614a2d85557921d9 (commit)
      from  9fe16c1eb6385a05849cd2d67dd8a39899234f9b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit fe209e2360570eedf77b88a3614a2d85557921d9
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Mon Jan 10 12:32:52 2011 +0000

    Remove python-support.exp.  Do not load it in gdb.exp.

-----------------------------------------------------------------------

Summary of changes:
 gdb/testsuite/lib/python-support.exp |   53 ----------------------------------
 1 files changed, 0 insertions(+), 53 deletions(-)
 delete mode 100644 gdb/testsuite/lib/python-support.exp

First 500 lines of diff:
diff --git a/gdb/testsuite/lib/python-support.exp b/gdb/testsuite/lib/python-support.exp
deleted file mode 100644
index b8e9836..0000000
--- a/gdb/testsuite/lib/python-support.exp
+++ /dev/null
@@ -1,53 +0,0 @@
-global python_supported_saved
-
-# Return 1 if Python scripting is supported in GDB, 0 if not.
-proc python_supported { } {
-  global gdb_prompt
-  global python_supported_saved
-
-  if [info exists python_supported_saved] {
-      verbose "python_supported:  returning saved $python_supported_saved" 2
-      return $python_supported_saved
-  }
-
-  gdb_test_multiple "python print 'hello, world!'" "verify python support" {
-    -re "not supported.*$gdb_prompt $"	{
-      return [set python_supported_saved 0]
-    }
-    -re "$gdb_prompt $"	{
-      return [set python_supported_saved 1]
-    }
-  }
-
-  return [set python_supported_saved 0]
-}
-
-# Run a command in GDB, and report a failure if a Python exception is thrown.
-# If report_pass is true, report a pass if no exception is thrown.
-proc gdb_py_test_silent_cmd {cmd name report_pass} {
-  global gdb_prompt
-
-  gdb_test_multiple $cmd $name {
-      -re "Traceback.*$gdb_prompt $"  { fail $name }
-      -re "$gdb_prompt $"	      { if $report_pass { pass $name } }
-  }
-}
-
-# Usage: gdb_py_test_multiple NAME INPUT RESULT {INPUT RESULT}...
-# Run a test named NAME, consisting of multiple lines of input.
-# After each input line INPUT, search for result line RESULT.
-# Succeed if all results are seen; fail otherwise.
-proc gdb_py_test_multiple {name args} {
-    global gdb_prompt
-
-    foreach {input result} $args {
-	if {[gdb_test_multiple $input "$name - $input" {
-	    -re "\[\r\n\]*($result)\[\r\n\]+($gdb_prompt | *>)$" {
-		pass "$name - $input"
-	    }
-	}]} {
-	    return 1
-	}
-    }
-    return 0
-}


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-01-10 12:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-10 12:33 [SCM] archer-tromey-python: Remove python-support.exp. Do not load it in gdb.exp pmuldoon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).