• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Révision4ff322b6fa699e352730f58a0a1e90c09274b0f6 (tree)
l'heure2022-10-25 21:09:32
AuteurTom de Vries <tdevries@suse...>
CommiterTom de Vries

Message de Log

[gdb/testsuite] Add missing skip_gdbserver_tests in gdb.multi/attach-no-multi-process.exp

I build gdb without gdbserver, and ran into:
...
(gdb) PASS: gdb.multi/attach-no-multi-process.exp: target_non_stop=off: \

switch to inferior 2

spawn of --once --multi localhost:2346 failed
ERROR: tcl error sourcing attach-no-multi-process.exp.
ERROR: tcl error code NONE
ERROR: Timeout waiting for gdbserver response.
...

Add the missing skip_gdbserver_tests.

Tested on x86_64-linux.

Change Summary

Modification

--- a/gdb/testsuite/gdb.multi/attach-no-multi-process.exp
+++ b/gdb/testsuite/gdb.multi/attach-no-multi-process.exp
@@ -22,6 +22,10 @@ load_lib gdbserver-support.exp
2222
2323 standard_testfile
2424
25+if { [skip_gdbserver_tests] } {
26+ return 0
27+}
28+
2529 if {![can_spawn_for_attach]} {
2630 return
2731 }