diff options
author | Gabe Black <gabeblack@google.com> | 2019-10-08 15:30:10 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2019-10-15 20:29:47 +0000 |
commit | 73d60558e13ab94f59d3865c5c07ddd7cda032b7 (patch) | |
tree | c2bb0841cd25ec202cb3db81bf15d5d84efefa82 /src/cpu | |
parent | e71a1049e865faeccb949ec4c777540c4ac5fdff (diff) | |
download | gem5-73d60558e13ab94f59d3865c5c07ddd7cda032b7.tar.xz |
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>
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/pc_event.cc | 16 | ||||
-rw-r--r-- | src/cpu/pc_event.hh | 4 |
2 files changed, 0 insertions, 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<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) { 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: |