Fix Python rbreak tests setting too many breakpoints when glibc debug info is installed.
authorPhil Muldoon <pmuldoon@redhat.com>
Wed, 29 Nov 2017 16:48:32 +0000 (16:48 +0000)
committerPhil Muldoon <pmuldoon@redhat.com>
Wed, 29 Nov 2017 16:50:36 +0000 (16:50 +0000)
2017-11-29  Phil Muldoon  <pmuldoon@redhat.com>

* gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-rbreak.exp

index 4fba24bedc8258bb0c776c9f3c785277e193f98b..5b78c7dccfb22c3b3d5e40e04e3cc9adbaacffe0 100644 (file)
@@ -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.
index 5aaf2975c9685115c2d90a5d48f795c327ecaba7..3cf158bb025b57e630ef39a2ceb541c3b0735f8e 100644 (file)
@@ -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" \
This page took 0.031693 seconds and 4 git commands to generate.