winedbg: memory_get_current_frame() is not used anymore so remove it.

This commit is contained in:
Francois Gouget 2011-03-30 16:40:17 +02:00 committed by Alexandre Julliard
parent d770f86c9a
commit f8624006a7
2 changed files with 0 additions and 8 deletions

View file

@ -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 void* memory_to_linear_addr(const ADDRESS64* address);
extern BOOL memory_get_current_pc(ADDRESS64* address); extern BOOL memory_get_current_pc(ADDRESS64* address);
extern BOOL memory_get_current_stack(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(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_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); extern BOOL memory_get_register(DWORD regno, DWORD_PTR** value, char* buffer, int len);

View file

@ -67,13 +67,6 @@ BOOL memory_get_current_stack(ADDRESS64* addr)
be_cpu_addr_stack, 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) static void memory_report_invalid_addr(const void* addr)
{ {
ADDRESS64 address; ADDRESS64 address;