From 549cb797c1e15c242b50626dc1eb62b82157e429 Mon Sep 17 00:00:00 2001 From: "SND\\kernelnet_cp" Date: Mon, 19 Sep 2011 08:33:46 +0000 Subject: [PATCH] [pykd] fixed: issue 9518 ( Problem with dbgCommand('!analyze -v') ) git-svn-id: https://pykd.svn.codeplex.com/svn@69869 9b283d60-5439-405e-af05-b73fd8c4d996 --- pykd/dbgio.cpp | 4 ++-- pykd/pykd.rc | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pykd/dbgio.cpp b/pykd/dbgio.cpp index f49bb38..ca4adac 100644 --- a/pykd/dbgio.cpp +++ b/pykd/dbgio.cpp @@ -14,7 +14,7 @@ void dbgPrint::dprint( const boost::python::object& obj, bool dml ) { std::wstring str = boost::python::extract( obj ); - HRESULT hres = dbgExt->control4->ControlledOutputWide( dml ? DEBUG_OUTCTL_AMBIENT_DML : DEBUG_OUTCTL_AMBIENT_TEXT, DEBUG_OUTPUT_NORMAL, str.c_str() ); + HRESULT hres = dbgExt->control4->ControlledOutputWide( dml ? DEBUG_OUTCTL_AMBIENT_DML : DEBUG_OUTCTL_AMBIENT_TEXT, DEBUG_OUTPUT_NORMAL, L"%ws", str.c_str() ); std::wcout << str; } @@ -26,7 +26,7 @@ void dbgPrint::dprintln( const boost::python::object& obj, bool dml ) std::wstring str = boost::python::extract( obj ); str += L"\r\n"; - dbgExt->control4->ControlledOutputWide( dml ? DEBUG_OUTCTL_AMBIENT_DML : DEBUG_OUTCTL_AMBIENT_TEXT, DEBUG_OUTPUT_NORMAL, str.c_str() ); + dbgExt->control4->ControlledOutputWide( dml ? DEBUG_OUTCTL_AMBIENT_DML : DEBUG_OUTCTL_AMBIENT_TEXT, DEBUG_OUTPUT_NORMAL, L"%ws", str.c_str() ); std::wcout << str; } diff --git a/pykd/pykd.rc b/pykd/pykd.rc index 54ff864..6555650 100644 --- a/pykd/pykd.rc +++ b/pykd/pykd.rc @@ -53,8 +53,8 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION 0,0,19,0 - PRODUCTVERSION 0,0,19,0 + FILEVERSION 0,0,20,0 + PRODUCTVERSION 0,0,20,0 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -70,11 +70,11 @@ BEGIN BLOCK "041904b0" BEGIN VALUE "FileDescription", "pykd - python extension for windbg" - VALUE "FileVersion", "0, 0, 19, 0" + VALUE "FileVersion", "0, 0, 20, 0" VALUE "InternalName", "pykd" VALUE "OriginalFilename", "pykd.dll" VALUE "ProductName", "pykd - python extension for windbg" - VALUE "ProductVersion", "0, 0, 19, 0" + VALUE "ProductVersion", "0, 0, 20, 0" END END BLOCK "VarFileInfo"