+2011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
+ to the caller.
+ (gdb_test_multiple): Likewise.
+
2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix gdb.mi/mi-solib.exp without system debug info installed.
if {$code == 1} {
global errorInfo errorCode;
return -code error -errorinfo $errorInfo -errorcode $errorCode $string
- } elseif {$code == 2} {
- return -code return $string
- } elseif {$code == 3} {
- return
- } elseif {$code > 4} {
+ } elseif {$code > 1} {
return -code $code $string
}
return $result
global errorInfo errorCode;
return -code error -errorinfo $errorInfo -errorcode $errorCode $string
- } elseif {$code == 2} {
- return -code return $string
- } elseif {$code == 3} {
- return
- } elseif {$code > 4} {
+ } else {
return -code $code $string
}
}