diff options
-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 |