From f6f1d339d4169a60362f1438221bd03f8f021f04 Mon Sep 17 00:00:00 2001 From: Phil Muldoon Date: Wed, 29 Nov 2017 16:48:32 +0000 Subject: [PATCH] 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. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.python/py-rbreak.exp | 1 + 2 files changed, 5 insertions(+) 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" \ -- 2.30.2