From: Phil Muldoon Date: Wed, 29 Nov 2017 16:48:32 +0000 (+0000) Subject: Fix Python rbreak tests setting too many breakpoints when glibc debug info is installed. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f6f1d339d4169a60362f1438221bd03f8f021f04;p=binutils-gdb.git Fix Python rbreak tests setting too many breakpoints when glibc debug info is installed. 2017-11-29 Phil Muldoon * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 4fba24bedc8..5b78c7dccfb 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2017-11-29 Phil Muldoon + + * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests. + 2017-11-29 Tom Tromey * gdb.base/relocate.exp: Update invalid argument test. diff --git a/gdb/testsuite/gdb.python/py-rbreak.exp b/gdb/testsuite/gdb.python/py-rbreak.exp index 5aaf2975c96..3cf158bb025 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" \