summaryrefslogtreecommitdiff
path: root/util/statetrace/arch/tracechild_i386.cc
diff options
context:
space:
mode:
Diffstat (limited to 'util/statetrace/arch/tracechild_i386.cc')
-rw-r--r--util/statetrace/arch/tracechild_i386.cc19
1 files changed, 0 insertions, 19 deletions
diff --git a/util/statetrace/arch/tracechild_i386.cc b/util/statetrace/arch/tracechild_i386.cc
index 81264483a..2cdeb29fa 100644
--- a/util/statetrace/arch/tracechild_i386.cc
+++ b/util/statetrace/arch/tracechild_i386.cc
@@ -37,18 +37,6 @@
using namespace std;
-char * I386TraceChild::regNames[numregs] = {
- //GPRs
- "eax", "ebx", "ecx", "edx",
- //Index registers
- "esi", "edi",
- //Base pointer and stack pointer
- "ebp", "esp",
- //Segmentation registers
- "cs", "ds", "es", "fs", "gs", "ss",
- //PC
- "eip"};
-
int64_t
I386TraceChild::getRegs(user_regs_struct & myregs, int num)
{
@@ -109,13 +97,6 @@ I386TraceChild::getOldRegVal(int num)
return getRegs(oldregs, num);
}
-char *
-I386TraceChild::printReg(int num)
-{
- sprintf(printBuffer, "0x%08X", getRegVal(num));
- return printBuffer;
-}
-
TraceChild *
genTraceChild()
{