From f8624006a7023ac837ec092bea616fb178d50c1b Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Wed, 30 Mar 2011 16:40:17 +0200 Subject: [PATCH] winedbg: memory_get_current_frame() is not used anymore so remove it. --- programs/winedbg/debugger.h | 1 - programs/winedbg/memory.c | 7 ------- 2 files changed, 8 deletions(-) diff --git a/programs/winedbg/debugger.h b/programs/winedbg/debugger.h index 529191f8cce..9c72916cdb7 100644 --- a/programs/winedbg/debugger.h +++ b/programs/winedbg/debugger.h @@ -367,7 +367,6 @@ extern void memory_examine(const struct dbg_lvalue *lvalue, int coun extern void* memory_to_linear_addr(const ADDRESS64* address); extern BOOL memory_get_current_pc(ADDRESS64* address); extern BOOL memory_get_current_stack(ADDRESS64* address); -extern BOOL memory_get_current_frame(ADDRESS64* address); extern BOOL memory_get_string(struct dbg_process* pcs, void* addr, BOOL in_debuggee, BOOL unicode, char* buffer, int size); extern BOOL memory_get_string_indirect(struct dbg_process* pcs, void* addr, BOOL unicode, WCHAR* buffer, int size); extern BOOL memory_get_register(DWORD regno, DWORD_PTR** value, char* buffer, int len); diff --git a/programs/winedbg/memory.c b/programs/winedbg/memory.c index 5a54ec1d4d4..7a0b0850565 100644 --- a/programs/winedbg/memory.c +++ b/programs/winedbg/memory.c @@ -67,13 +67,6 @@ BOOL memory_get_current_stack(ADDRESS64* addr) be_cpu_addr_stack, addr); } -BOOL memory_get_current_frame(ADDRESS64* addr) -{ - assert(be_cpu->get_addr); - return be_cpu->get_addr(dbg_curr_thread->handle, &dbg_context, - be_cpu_addr_frame, addr); -} - static void memory_report_invalid_addr(const void* addr) { ADDRESS64 address;