summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-symtab.exp
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-10-15 14:19:43 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-10-15 14:19:43 -0700
commit12131234750c1f8743bead5c6cb1eb5d6af61d32 (patch)
tree45f92b148250974d7c751ae474387d736a4ae8a4 /gdb/testsuite/gdb.python/py-symtab.exp
parent978c07fd9d5b0792ec9c2be54cbdcc899265439f (diff)
parent5164ec17af2b8a66674aaf0ee013ed9d71fa383e (diff)
downloadgdb-hjl/x32/master.tar.gz
Merge remote-tracking branch 'origin/master' into hjl/x32/masterhjl/x32/master
Diffstat (limited to 'gdb/testsuite/gdb.python/py-symtab.exp')
-rw-r--r--gdb/testsuite/gdb.python/py-symtab.exp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.python/py-symtab.exp b/gdb/testsuite/gdb.python/py-symtab.exp
index da0c3e4be29..0d3a5f2d83a 100644
--- a/gdb/testsuite/gdb.python/py-symtab.exp
+++ b/gdb/testsuite/gdb.python/py-symtab.exp
@@ -73,3 +73,6 @@ gdb_test "python print \"simple_struct\" in static_symbols" "True" "Test simple_
gdb_unload
gdb_test "python print sal.is_valid()" "False" "Test sal.is_valid"
gdb_test "python print symtab.is_valid()" "False" "Test symtab.is_valid()"
+
+gdb_test_no_output "python sal = None" "Test sal destructor"
+gdb_test_no_output "python symtab = None" "Test symtab destructor"