* [patch] Fix Python rbreak tests setting too many breakpoints
@ 2017-11-29 16:32 Phil Muldoon
2017-11-29 16:35 ` Pedro Alves
0 siblings, 1 reply; 2+ messages in thread
From: Phil Muldoon @ 2017-11-29 16:32 UTC (permalink / raw)
To: gdb-patches
Pedro noticed that when glibc debug info is installed the Python
rbreak fails by setting far too many breakpoints. This patch excludes
these symbols by setting "nosharedlibrary" before the tests run.
Cheers
Phil
--
2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
* gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
diff --git a/gdb/testsuite/gdb.python/py-rbreak.exp b/gdb/testsuite/gdb.python/py-rbreak.exp
index 5aaf2975c9..3cf158bb02 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" \
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch] Fix Python rbreak tests setting too many breakpoints
2017-11-29 16:32 [patch] Fix Python rbreak tests setting too many breakpoints Phil Muldoon
@ 2017-11-29 16:35 ` Pedro Alves
0 siblings, 0 replies; 2+ messages in thread
From: Pedro Alves @ 2017-11-29 16:35 UTC (permalink / raw)
To: Phil Muldoon, gdb-patches
On 11/29/2017 04:32 PM, Phil Muldoon wrote:
> Pedro noticed that when glibc debug info is installed the Python
> rbreak fails by setting far too many breakpoints. This patch excludes
> these symbols by setting "nosharedlibrary" before the tests run.
OK.
Thanks,
Pedro Alves
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-11-29 16:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-29 16:32 [patch] Fix Python rbreak tests setting too many breakpoints Phil Muldoon
2017-11-29 16:35 ` Pedro Alves
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox