Revisited breakpoint implementation of gem5.
Now, the gem5 implementation equals the Bochs variant. Note that its necessary to enable CONFIG_EVENTS_BREAKPOINTS_RANGE in order to use range breakpoints. In addition, gem5 distinguishes between macro- and microops. With the new implemenation, onBreakpoint is only called when a macroop changes. Change-Id: Ib86d1802fc70c20d22ca1a1ece0e8d1221b2e7db
This commit is contained in:
@ -9,8 +9,6 @@ class System;
|
||||
|
||||
namespace fail {
|
||||
|
||||
class Gem5Breakpoint;
|
||||
|
||||
// Register-/Memory-related:
|
||||
regdata_t GetRegisterContent(System* sys, unsigned int id, RegisterType type, size_t idx);
|
||||
void SetRegisterContent(System* sys, unsigned int id, RegisterType type, size_t idx,
|
||||
@ -19,10 +17,6 @@ void WriteMemory(System* sys, guest_address_t addr, size_t cnt, void const *src)
|
||||
void ReadMemory(System* sys, guest_address_t addr, size_t cnt, void *dest);
|
||||
size_t GetPoolSize(System* sys);
|
||||
|
||||
// Breakpoint-related:
|
||||
Gem5Breakpoint* OnBreakpointAddition(address_t watchInstrPtr);
|
||||
void OnBreakpointDeletion(Gem5Breakpoint* bp);
|
||||
|
||||
// Controller-related:
|
||||
unsigned int GetCPUId(System* sys, int context);
|
||||
System* GetSystemObject();
|
||||
|
||||
Reference in New Issue
Block a user