Add entry event in MI protocol
authorIgor Kulaychuk <i.kulaychuk@samsung.com>
Thu, 1 Feb 2018 13:02:33 +0000 (16:02 +0300)
committerIgor Kulaychuk <i.kulaychuk@samsung.com>
Thu, 1 Feb 2018 13:02:33 +0000 (16:02 +0300)
src/debug/netcoredbg/miprotocol.cpp

index c5052b7bdc9587397ccbc35e0eed814ba42811f9..0e2ef74b33dc06f908acf6d31b4bb2da73fe8c09 100644 (file)
@@ -471,6 +471,12 @@ void MIProtocol::EmitStoppedEvent(StoppedEvent event)
             MIProtocol::Printf("*stopped,reason=\"interrupted\",stopped-threads=\"all\"\n");
             return;
         }
+        case StopEntry:
+        {
+            MIProtocol::Printf("*stopped,reason=\"entry-point-hit\",thread-id=\"%i\",stopped-threads=\"all\",frame={%s}\n",
+                event.threadId, frameLocation.c_str());
+            return;
+        }
         default:
             break;
     }