cpu: Delete the unused sched_break_pc(_sys) functions.
Change-Id: I2adae2858897e665fd28cfe9de3fdcf95ffc2a2e Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/21779 Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Jason Lowe-Power <jason@lowepower.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -144,22 +144,6 @@ BreakPCEvent::process(ThreadContext *tc)
|
||||
delete this;
|
||||
}
|
||||
|
||||
void
|
||||
sched_break_pc_sys(System *sys, Addr addr)
|
||||
{
|
||||
new BreakPCEvent(&sys->pcEventQueue, "debug break", addr, true);
|
||||
}
|
||||
|
||||
void
|
||||
sched_break_pc(Addr addr)
|
||||
{
|
||||
for (vector<System *>::iterator sysi = System::systemList.begin();
|
||||
sysi != System::systemList.end(); ++sysi) {
|
||||
sched_break_pc_sys(*sysi, addr);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
PanicPCEvent::PanicPCEvent(PCEventQueue *q, const std::string &desc, Addr pc)
|
||||
: PCEvent(q, desc, pc)
|
||||
{
|
||||
|
||||
@@ -142,10 +142,6 @@ class BreakPCEvent : public PCEvent
|
||||
virtual void process(ThreadContext *tc);
|
||||
};
|
||||
|
||||
void sched_break_pc_sys(System *sys, Addr addr);
|
||||
|
||||
void sched_break_pc(Addr addr);
|
||||
|
||||
class PanicPCEvent : public PCEvent
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user