From 3ba32a0b82e3d68edcd351d5c4b55f4930225f80 Mon Sep 17 00:00:00 2001 From: "SND\\kernelnet_cp" Date: Tue, 27 Mar 2012 13:44:06 +0000 Subject: [PATCH] [0.1.x] added: conversion for intBase to long and unsigned long git-svn-id: https://pykd.svn.codeplex.com/svn@75085 9b283d60-5439-405e-af05-b73fd8c4d996 --- pykd/pymod.cpp | 4 +++- pykd/typedvar.cpp | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pykd/pymod.cpp b/pykd/pymod.cpp index 96cb8a6..63666ec 100644 --- a/pykd/pymod.cpp +++ b/pykd/pymod.cpp @@ -137,8 +137,10 @@ BOOST_PYTHON_MODULE( pykd ) python::implicitly_convertible(); python::implicitly_convertible(); + python::implicitly_convertible(); + python::implicitly_convertible(); - python::class_("dbgClient", "Class representing a debugging session", python::no_init ) + python::class_("dbgClient", "Class representing a debugging session", python::no_init ) .def( "addr64", &DebugClient::addr64, "Extend address to 64 bits formats" ) .def( "breakin", &DebugClient::breakin, diff --git a/pykd/typedvar.cpp b/pykd/typedvar.cpp index c91e1e7..ddee138 100644 --- a/pykd/typedvar.cpp +++ b/pykd/typedvar.cpp @@ -176,7 +176,7 @@ std::string PtrTypedVar::print() { std::stringstream sstr; - sstr << m_typeInfo->getName() << " " << m_varData->asString(); + sstr << "Ptr " << m_typeInfo->getName() << " " << m_varData->asString(); sstr << " Value: " << printValue(); return sstr.str();