mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-14 03:40:52 +08:00
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
This commit is contained in:
@ -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>
|
2021-02-25 Jan Matyas <jmatyas@codasip.com>
|
||||||
|
|
||||||
PR gdb/26819
|
PR gdb/26819
|
||||||
|
@ -3646,6 +3646,9 @@ proc gdb_is_target_native { } {
|
|||||||
# This is the preferred way of checking use_gdb_stub, since it allows to check
|
# 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
|
# the value before the gdb has been spawned and it will return the correct value
|
||||||
# even when it was overriden by the test.
|
# 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 {} {
|
proc use_gdb_stub {} {
|
||||||
global use_gdb_stub
|
global use_gdb_stub
|
||||||
|
Reference in New Issue
Block a user