cpu: Delete the unused sched_break_pc(_sys) functions.
authorGabe Black <gabeblack@google.com>
Tue, 8 Oct 2019 22:30:10 +0000 (15:30 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 15 Oct 2019 20:29:47 +0000 (20:29 +0000)
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>
src/cpu/pc_event.cc
src/cpu/pc_event.hh

index 4d01ca7722b1e54c2face2aa7fb09fcd6b5869c0..2dbe5378980a35e4183c904107a442fa77f4ef49 100644 (file)
@@ -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)
 {
index 7b57e97a7c58b7e3996304af21c1add8bee44757..0822c528a72e133ba26b1e4dbe654fef102792f3 100644 (file)
@@ -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: