added setStatusMessage ( set a message at a windbg status bar )

This commit is contained in:
ussrhero 2019-09-02 23:47:58 +03:00
parent a3da177dc1
commit 4de8114c3e
4 changed files with 10 additions and 2 deletions

@ -1 +1 @@
Subproject commit c79f0797228b1436c41b700f4564eb986388bb35
Subproject commit deda36a086494be526a5d62bf1b104cb780d7a07

View File

@ -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

View File

@ -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)

View File

@ -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