From 73d60558e13ab94f59d3865c5c07ddd7cda032b7 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 8 Oct 2019 15:30:10 -0700 Subject: [PATCH] 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 Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power Tested-by: kokoro --- src/cpu/pc_event.cc | 16 ---------------- src/cpu/pc_event.hh | 4 ---- 2 files changed, 20 deletions(-) diff --git a/src/cpu/pc_event.cc b/src/cpu/pc_event.cc index 4d01ca772..2dbe53789 100644 --- a/src/cpu/pc_event.cc +++ b/src/cpu/pc_event.cc @@ -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::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) { diff --git a/src/cpu/pc_event.hh b/src/cpu/pc_event.hh index 7b57e97a7..0822c528a 100644 --- a/src/cpu/pc_event.hh +++ b/src/cpu/pc_event.hh @@ -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: -- 2.30.2