diff options
Diffstat (limited to 'gdb/testsuite/gdb.python/py-xmethods.exp')
-rw-r--r-- | gdb/testsuite/gdb.python/py-xmethods.exp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/testsuite/gdb.python/py-xmethods.exp b/gdb/testsuite/gdb.python/py-xmethods.exp index a455a7a..8824127 100644 --- a/gdb/testsuite/gdb.python/py-xmethods.exp +++ b/gdb/testsuite/gdb.python/py-xmethods.exp @@ -125,19 +125,19 @@ gdb_test "p g_ptr->mul<char>('a')" "From Python G<>::mul.*" \ "After: g_ptr->mul<char>('a')" # Tests for 'disable/enable xmethod' command. -gdb_test_no_output "disable xmethod .*xmethods G_methods" \ +gdb_test_no_output "disable xmethod progspace G_methods" \ "Disable G_methods" gdb_test "p g.mul<char>('a')" "Couldn't find method.*" \ "g.mul<char>('a') after disabling G_methods" -gdb_test_no_output "enable xmethod .*xmethods G_methods" \ +gdb_test_no_output "enable xmethod progspace G_methods" \ "Enable G_methods" gdb_test "p g.mul<char>('a')" "From Python G<>::mul.*" \ "After enabling G_methods" -gdb_test_no_output "disable xmethod .*xmethods G_methods;mul" \ +gdb_test_no_output "disable xmethod progspace G_methods;mul" \ "Disable G_methods;mul" gdb_test "p g.mul<char>('a')" "Couldn't find method.*" \ "g.mul<char>('a') after disabling G_methods;mul" -gdb_test_no_output "enable xmethod .*xmethods G_methods;mul" \ +gdb_test_no_output "enable xmethod progspace G_methods;mul" \ "Enable G_methods;mul" gdb_test "p g.mul<char>('a')" "From Python G<>::mul.*" \ "After enabling G_methods;mul" @@ -145,9 +145,9 @@ gdb_test "p g.mul<char>('a')" "From Python G<>::mul.*" \ # Test for 'info xmethods' command gdb_test "info xmethod global plus" "global.*plus_plus_A" \ "info xmethod global plus 1" -gdb_test_no_output "disable xmethod .*xmethods E_methods;method_int" \ - "disable xmethod .*xmethods E_methods;method_int" -gdb_test "info xmethod .*xmethods E_methods;method_int" ".* \\\[disabled\\\]" \ +gdb_test_no_output "disable xmethod progspace E_methods;method_int" \ + "disable xmethod progspace E_methods;method_int" +gdb_test "info xmethod progspace E_methods;method_int" ".* \\\[disabled\\\]" \ "info xmethod xmethods E_methods;method_int" remote_file host delete ${xmethods_script} |