Move condition field in Breakpoint struct
authorAlexander Aksenov <a.aksenov@samsung.com>
Wed, 9 Jan 2019 12:08:11 +0000 (15:08 +0300)
committerAlexander Aksenov <a.aksenov@samsung.com>
Wed, 9 Jan 2019 12:08:11 +0000 (15:08 +0300)
Breakpoint struct aligns DAP Breakpoint interface by its top, so
conditional field is moved to 'exposed' bottom part, cause it breaks
alignment

Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
src/debug/netcoredbg/protocol.h

index 608c6dd2050f56083a9635f4c467f8c1162139f6..95ec7c1190df831d28ce73c733863a4fb506150d 100644 (file)
@@ -74,11 +74,11 @@ struct Breakpoint
     uint32_t id;
     bool verified;
     std::string message;
-    std::string condition;
     Source source;
     int line;
 
     uint32_t hitCount; // exposed for MI protocol
+    std::string condition;
 
     Breakpoint() : id(0), verified(false), line(0), hitCount(0) {}
 };