Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jwessel...
[sfrench/cifs-2.6.git] / kernel / debug / debug_core.c
index 51d14fe876485447b5cb7738d7fa780f24c9d7d2..3c2d4972d2352ad1bff0fb31a676f467420b6ddd 100644 (file)
@@ -605,6 +605,8 @@ cpu_master_loop:
                if (dbg_kdb_mode) {
                        kgdb_connected = 1;
                        error = kdb_stub(ks);
+                       if (error == -1)
+                               continue;
                        kgdb_connected = 0;
                } else {
                        error = gdb_serial_stub(ks);