This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Fix Python rbreak tests setting too many breakpoints when glibc debug info is installed.
- From: Phil Muldoon <pmuldoon at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 29 Nov 2017 16:51:00 -0000
- Subject: [binutils-gdb] Fix Python rbreak tests setting too many breakpoints when glibc debug info is installed.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f6f1d339d4169a60362f1438221bd03f8f021f04
commit f6f1d339d4169a60362f1438221bd03f8f021f04
Author: Phil Muldoon <pmuldoon@redhat.com>
Date: Wed Nov 29 16:48:32 2017 +0000
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.
Diff:
---
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 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" \