From 3a558cbfee952246b2a9b32af7017f7330390f00 Mon Sep 17 00:00:00 2001 From: Stanislav Shwartsman Date: Sat, 10 Oct 2009 09:17:53 +0000 Subject: [PATCH] update for instrumentation --- bochs/cpu/fetchdecode.cc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/bochs/cpu/fetchdecode.cc b/bochs/cpu/fetchdecode.cc index 64e923493..ecf37061e 100644 --- a/bochs/cpu/fetchdecode.cc +++ b/bochs/cpu/fetchdecode.cc @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////// -// $Id: fetchdecode.cc,v 1.228 2009-08-22 11:47:42 sshwarts Exp $ +// $Id: fetchdecode.cc,v 1.229 2009-10-10 09:17:53 sshwarts Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (C) 2001 MandrakeSoft S.A. @@ -190,6 +190,15 @@ bxIAOpcodeTable BxOpcodesTable[] = { }; #undef bx_define_opcode +#if BX_INSTRUMENTATION +const char* BxOpcodeNamesTable[BX_IA_LAST] = +{ +#define bx_define_opcode(a, b, c) #a, +#include "ia_opcodes.h" +}; +#undef bx_define_opcode +#endif + /* ************************** */ /* 512 entries for 16bit mode */ /* 512 entries for 32bit mode */