diff --git a/kdlibcpp b/kdlibcpp index c79f079..deda36a 160000 --- a/kdlibcpp +++ b/kdlibcpp @@ -1 +1 @@ -Subproject commit c79f0797228b1436c41b700f4564eb986388bb35 +Subproject commit deda36a086494be526a5d62bf1b104cb780d7a07 diff --git a/pykd/pydbgio.h b/pykd/pydbgio.h index 75f73ce..b0acd18 100644 --- a/pykd/pydbgio.h +++ b/pykd/pydbgio.h @@ -49,6 +49,12 @@ inline void dinput(const std::wstring &str) kdlib::dinput(str); } +inline void setStatusMessage(const std::wstring &str) +{ + AutoRestorePyState pystate; + kdlib::setStatusMessage(str); +} + /////////////////////////////////////////////////////////////////////////////// class DbgOut : public kdlib::windbg::WindbgOut diff --git a/pykd/pykdver.h b/pykd/pykdver.h index 199ac5e..480e6e9 100644 --- a/pykd/pykdver.h +++ b/pykd/pykdver.h @@ -2,7 +2,7 @@ #define PYKD_VERSION_MAJOR 0 #define PYKD_VERSION_MINOR 3 #define PYKD_VERSION_SUBVERSION 4 -#define PYKD_VERSION_BUILDNO 8 +#define PYKD_VERSION_BUILDNO 9 #define __VER_STR2__(x) #x #define __VER_STR1__(x) __VER_STR2__(x) diff --git a/pykd/pymod.cpp b/pykd/pymod.cpp index 33c2332..92b1fbb 100644 --- a/pykd/pymod.cpp +++ b/pykd/pymod.cpp @@ -230,6 +230,8 @@ void pykd_init() "Print out string and insert end of line symbol. If dml = True string is printed with dml highlighting ( only for windbg )" ) ); python::def("dinput", &pykd::dinput, "Provide input for debugger"); + python::def("setStatusMessage", &pykd::setStatusMessage, + "Set message at a windbg status bar"); // Python debug output console helper classes