aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorPhil Muldoon <pmuldoon@redhat.com>2017-11-29 16:48:32 +0000
committerPhil Muldoon <pmuldoon@redhat.com>2017-11-29 16:50:36 +0000
commitf6f1d339d4169a60362f1438221bd03f8f021f04 (patch)
tree568c5f94a9c22df6b16920cc832ed1203c8314b5 /gdb/testsuite
parent8ca2f0b9ac024db56ca40f2b37c0b6b2bfcd139b (diff)
downloadgdb-f6f1d339d4169a60362f1438221bd03f8f021f04.zip
gdb-f6f1d339d4169a60362f1438221bd03f8f021f04.tar.gz
gdb-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')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.python/py-rbreak.exp1
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 4fba24b..5b78c7d 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
+
+ * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
+
2017-11-29 Tom Tromey <tom@tromey.com>
* 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 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" \