diff options
author | Phil Muldoon <pmuldoon@redhat.com> | 2017-11-29 16:48:32 +0000 |
---|---|---|
committer | Phil Muldoon <pmuldoon@redhat.com> | 2017-11-29 16:50:36 +0000 |
commit | f6f1d339d4169a60362f1438221bd03f8f021f04 (patch) | |
tree | 568c5f94a9c22df6b16920cc832ed1203c8314b5 /gdb/testsuite/gdb.python/py-rbreak.exp | |
parent | 8ca2f0b9ac024db56ca40f2b37c0b6b2bfcd139b (diff) | |
download | binutils-f6f1d339d4169a60362f1438221bd03f8f021f04.zip binutils-f6f1d339d4169a60362f1438221bd03f8f021f04.tar.gz binutils-f6f1d339d4169a60362f1438221bd03f8f021f04.tar.bz2 |
Fix Python rbreak tests setting too many breakpoints when glibc debug info is installed.
2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
Diffstat (limited to 'gdb/testsuite/gdb.python/py-rbreak.exp')
-rw-r--r-- | gdb/testsuite/gdb.python/py-rbreak.exp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.python/py-rbreak.exp b/gdb/testsuite/gdb.python/py-rbreak.exp index 5aaf297..3cf158b 100644 --- a/gdb/testsuite/gdb.python/py-rbreak.exp +++ b/gdb/testsuite/gdb.python/py-rbreak.exp @@ -32,6 +32,7 @@ if ![runto_main] then { return 0 } +gdb_test_no_output "nosharedlibrary" gdb_py_test_silent_cmd "py sl = gdb.rbreak(\"\",minsyms=False)" \ "get all function breakpoints" 0 gdb_test "py print(len(sl))" "11" \ |