diff options
author | Markus Metzger <markus.t.metzger@intel.com> | 2020-12-21 08:14:55 +0100 |
---|---|---|
committer | Markus Metzger <markus.t.metzger@intel.com> | 2021-02-26 09:08:07 +0100 |
commit | cb51b708fd7e0ba427f07b3209d0df1d9a0e3f94 (patch) | |
tree | 17d34c04ef3aabc3ac0cdcf26d949fb6366a366d /gdb | |
parent | bfece7562d62f11782ca7089310b4063be526fb2 (diff) | |
download | gdb-cb51b708fd7e0ba427f07b3209d0df1d9a0e3f94.zip gdb-cb51b708fd7e0ba427f07b3209d0df1d9a0e3f94.tar.gz gdb-cb51b708fd7e0ba427f07b3209d0df1d9a0e3f94.tar.bz2 |
testsuite: note on use_gdb_stub usage
Add a note to the comment on use_gdb_stub explaining the use of this check
for skipping tests that spawn new inferiors as discussed here:
https://sourceware.org/pipermail/gdb-patches/2020-December/174186.html
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/lib/gdb.exp | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index f2c142e..c64ad97 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2021-02-26 Markus Metzger <markus.t.metzger@intel.com> + + * lib/gdb.exp (use_gdb_stub): Extend comment. + 2021-02-25 Jan Matyas <jmatyas@codasip.com> PR gdb/26819 diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 60f84d2..1420512 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -3646,6 +3646,9 @@ proc gdb_is_target_native { } { # This is the preferred way of checking use_gdb_stub, since it allows to check # the value before the gdb has been spawned and it will return the correct value # even when it was overriden by the test. +# +# Note that stub targets are not able to spawn new inferiors. Use this +# check for skipping respective tests. proc use_gdb_stub {} { global use_gdb_stub |