diff options
author | Siva Chandra <sivachandra@chromium.org> | 2015-04-25 17:10:30 -0700 |
---|---|---|
committer | Siva Chandra <sivachandra@chromium.org> | 2015-05-08 07:20:04 -0700 |
commit | df2eb078c0a88a44c49de7045a1c163f380a7efc (patch) | |
tree | c6da3560801d7ad9d5d607f846e2ee51daa62afb /gdb/testsuite/gdb.python/py-xmethods.exp | |
parent | 573cc2e57db66165b390044338d3a4ad51f36bf8 (diff) | |
download | gdb-df2eb078c0a88a44c49de7045a1c163f380a7efc.zip gdb-df2eb078c0a88a44c49de7045a1c163f380a7efc.tar.gz gdb-df2eb078c0a88a44c49de7045a1c163f380a7efc.tar.bz2 |
[PR python/18291] Fix printing of "disabled" status of xmethod matchers.
gdb/ChangeLog:
PR python/18291
* python/lib/gdb/command/xmethods.py (print_xm_info): Fix typo.
Print xmethod matcher status.
gdb/testsuite/ChangeLog:
PR python/18291
* gdb.python/py-xmethods.exp: Add tests.
Diffstat (limited to 'gdb/testsuite/gdb.python/py-xmethods.exp')
-rw-r--r-- | gdb/testsuite/gdb.python/py-xmethods.exp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.python/py-xmethods.exp b/gdb/testsuite/gdb.python/py-xmethods.exp index eea1283..712f271 100644 --- a/gdb/testsuite/gdb.python/py-xmethods.exp +++ b/gdb/testsuite/gdb.python/py-xmethods.exp @@ -150,6 +150,9 @@ 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" +gdb_test_no_output "disable xmethod progspace G_methods" "Disable G_methods 2" +gdb_test "info xmethod progspace" ".*G_methods \\\[disabled\\\].*" \ + "info xmethod progspace" # PR 18285 # First make sure both are enabled. |