* gdb.python/py-prompt.exp: Quit if the target is remote.
authorThiago Jung Bauermann <bauerman@br.ibm.com>
Sat, 19 May 2012 01:05:38 +0000 (01:05 +0000)
committerThiago Jung Bauermann <bauerman@br.ibm.com>
Sat, 19 May 2012 01:05:38 +0000 (01:05 +0000)
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-prompt.exp

index 4d8f178..879afdd 100644 (file)
@@ -1,3 +1,7 @@
+2012-05-18  Thiago Jung Bauermann  <thiago.bauermann@linaro.org>
+
+       * gdb.python/py-prompt.exp: Quit if the target is remote.
+
 2012-05-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        Fix ERROR: internal buffer is full.
index eacb074..ab17ab9 100644 (file)
@@ -20,6 +20,10 @@ set testfile "py-prompt"
 set srcfile ${testfile}.c
 set binfile ${objdir}/${subdir}/${testfile}
 
+# We need to use TCL's exec to get the pid.
+if [is_remote target] then {
+    return 0
+}
 
 load_lib gdb-python.exp
 load_lib prompt.exp