<div dir="ltr"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
 gdb_caching_proc can_spawn_for_attach_1 {} {<br>
+    # For the benefit of gdb-caching-proc-consistency.exp, which<br>
+    # calls can_spawn_for_attach_1 directly.  Keep in sync with<br>
+    # can_spawn_for_attach.<br>
+    if { [is_remote target] || [target_info exists use_gdb_stub] } {<br>
+       return 0<br>
+    }<br>
+<br>
     # Assume yes.<br>
     set res 1<br>
<br>
<br></blockquote><div>This solution looks reasonable to me. Also I've tried running this test on aarch64 but it always passes there:</div><div><br></div><div> make check RUNTESTFLAGS="--target_board=native-gdbserver" TESTS=gdb.testsuite/gdb-caching-proc-consistency.exp</div><div><br></div><div> Reviewed-By: Alexandra Petlanova Hajkova <<a href="mailto:ahajkova@redhat.com">ahajkova@redhat.com</a>> <br></div></div></div>