From: Nicholas Nethercote Date: Mon, 22 Nov 2004 21:13:31 +0000 (+0000) Subject: Move redundant function decls from core.h (they end up in tool.h X-Git-Tag: svn/VALGRIND_3_0_0~1247 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6ca747fcc7efcee5f9f5e785788980f1be7532e7;p=thirdparty%2Fvalgrind.git Move redundant function decls from core.h (they end up in tool.h anyway). Also remove a declaration for a no-longer-existing function from tool.h. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3071 --- diff --git a/coregrind/core.h b/coregrind/core.h index 9ecb4fc909..18372e7a97 100644 --- a/coregrind/core.h +++ b/coregrind/core.h @@ -1787,11 +1787,6 @@ extern void VGA_(init_high_baseBlock) ( Addr client_ip, Addr sp_at_startup ); extern void VGA_(load_state) ( arch_thread_t*, ThreadId tid ); extern void VGA_(save_state) ( arch_thread_t*, ThreadId tid ); -// Register state access -extern void VGA_(set_thread_shadow_archreg) ( ThreadId tid, UInt archreg, UInt val ); -extern UInt VGA_(get_thread_shadow_archreg) ( ThreadId tid, UInt archreg ); -extern UInt VGA_(get_shadow_archreg) ( UInt archreg ); - // Thread stuff extern void VGA_(clear_thread) ( arch_thread_t* ); extern void VGA_(init_thread) ( arch_thread_t* ); diff --git a/include/tool.h.base b/include/tool.h.base index 3e9a873612..8e35e9b26c 100644 --- a/include/tool.h.base +++ b/include/tool.h.base @@ -578,15 +578,13 @@ extern void VG_(cpuid) ( UInt eax, /* ------------------------------------------------------------------ */ /* Accessing archregs and their shadows */ -/* ToDo: is this still needed ? */ + extern UInt VGA_(get_archreg) ( UInt archreg ); extern UInt VGA_(get_thread_archreg) ( ThreadId tid, UInt archreg ); extern UInt VGA_(get_shadow_archreg) ( UInt archreg ); extern void VGA_(set_shadow_archreg) ( UInt archreg, UInt val ); -extern Addr VGA_(shadow_archreg_address) ( UInt archreg ); - extern UInt VGA_(get_thread_shadow_archreg) ( ThreadId tid, UInt archreg ); extern void VGA_(set_thread_shadow_archreg) ( ThreadId tid, UInt archreg, UInt val );