From: Gabe Black Date: Tue, 8 Oct 2019 22:30:10 +0000 (-0700) Subject: cpu: Delete the unused sched_break_pc(_sys) functions. X-Git-Tag: v19.0.0.0~443 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=73d60558e13ab94f59d3865c5c07ddd7cda032b7;p=gem5.git 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 --- 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: