idc.py: RefreshDebuggerMemory() was broken

This commit is contained in:
elias.bachaalany 2009-11-13 12:24:06 +00:00
parent 0e9f53eaad
commit ab7a03431e

View File

@ -22,12 +22,23 @@ PyObject *meminfo_vec_t_to_py(meminfo_vec_t &areas);
%inline %{
//<inline(py_dbg)>
//-------------------------------------------------------------------------
PyObject *py_get_manual_regions()
{
meminfo_vec_t areas;
get_manual_regions(&areas);
return meminfo_vec_t_to_py(areas);
}
//-------------------------------------------------------------------------
PyObject *refresh_debugger_memory()
{
invalidate_dbgmem_config();
invalidate_dbgmem_contents(BADADDR, BADADDR);
if ( dbg != NULL && dbg->stopped_at_debug_event != NULL )
dbg->stopped_at_debug_event(true);
Py_RETURN_NONE;
}
//</inline(py_dbg)>
int idaapi DBG_Callback(void *ud, int notification_code, va_list va);