mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 04:49:54 +08:00
* gdb.guile/guile.exp (guile not supported): Verify multi-line
guile command issues an error.
This commit is contained in:
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
* gdb.python/python.exp (python not supported): Verify multi-line
|
* gdb.python/python.exp (python not supported): Verify multi-line
|
||||||
python command issues an error.
|
python command issues an error.
|
||||||
|
* gdb.python/guile.exp (guile not supported): Verify multi-line
|
||||||
|
guile command issues an error.
|
||||||
|
|
||||||
2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
|
2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
|
||||||
|
|
||||||
|
@ -38,6 +38,13 @@ gdb_test_multiple "guile (display 23) (newline)" "verify guile support" {
|
|||||||
gdb_test "source $srcdir/$subdir/source2.scm" \
|
gdb_test "source $srcdir/$subdir/source2.scm" \
|
||||||
"Error in sourced command file:.*" \
|
"Error in sourced command file:.*" \
|
||||||
"source source2.scm when guile disabled"
|
"source source2.scm when guile disabled"
|
||||||
|
|
||||||
|
# Verify multi-line guile commands cause an error.
|
||||||
|
gdb_test_multiline "multi-line guile command" \
|
||||||
|
"guile" "" \
|
||||||
|
"(print 23)" "" \
|
||||||
|
"end" "not supported.*"
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
-re "$gdb_prompt $" {}
|
-re "$gdb_prompt $" {}
|
||||||
|
Reference in New Issue
Block a user