Important bugfix: passing the instruction cache entry pointer
does not account for arrays of instructions provided by one virtual instruction trace cache entry -> passing the current instruction directly. ALUInstr not yet completely tested. git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1704 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -31,7 +31,7 @@ class BochsController : public SimulatorController {
|
||||
private:
|
||||
ExperimentFlow* m_CurrFlow; //!< Stores the current flow for save/restore-operations
|
||||
BX_CPU_C *m_CPUContext; //!< Additional information that is passed on occurence of a BPEvent
|
||||
bxICacheEntry_c *m_CacheEntry; //!< dito.
|
||||
bxInstruction_c *m_CurrentInstruction; //!< dito.
|
||||
#ifdef DEBUG
|
||||
unsigned m_Regularity; //! regularity of instruction ptr output
|
||||
unsigned m_Counter; //! current instr-ptr counter
|
||||
@ -145,7 +145,7 @@ public:
|
||||
* Retrieves the current Bochs instruction cache entry
|
||||
* @returns a pointer to a bxICacheEntry_c object
|
||||
*/
|
||||
inline bxICacheEntry_c *getICacheEntry() const { return m_CacheEntry; }
|
||||
inline bxInstruction_c *getCurrentInstruction() const { return m_CurrentInstruction; }
|
||||
/**
|
||||
* Retrieves the current CPU context
|
||||
* @return a pointer to a \c BX_CPU_C object
|
||||
@ -157,7 +157,7 @@ public:
|
||||
* @param context the CPU context object ptr (Bochs internal=
|
||||
* @param cacheEntry the Bochs internal CPU cache entry ptr
|
||||
*/
|
||||
void updateBPEventInfo(BX_CPU_C *context, bxICacheEntry_c *cacheEntry);
|
||||
void updateBPEventInfo(BX_CPU_C *context, bxInstruction_c *instr);
|
||||
};
|
||||
|
||||
} // end-of-namespace: fail
|
||||
|
||||
Reference in New Issue
Block a user