From: Gabe Black Date: Mon, 25 Jan 2021 06:36:27 +0000 (-0800) Subject: base: Delete the unused RemoteGDB::(set|clear)TempBreakpoint methods. X-Git-Tag: develop-gem5-snapshot~206 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0963d3ac8bf9beaea6ab5a7e48c187c24fbd8bb6;p=gem5.git base: Delete the unused RemoteGDB::(set|clear)TempBreakpoint methods. These are not used by anything, and use the ISA specific TheISA::MachInst type. Change-Id: Iae08e672b00834ccc5f11295b4c4529fbe7f8d0e Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/39660 Reviewed-by: Bobby R. Bruce Reviewed-by: Daniel Carvalho Maintainer: Bobby R. Bruce Tested-by: kokoro --- diff --git a/src/base/remote_gdb.cc b/src/base/remote_gdb.cc index 1e86a693f..02cb11ad5 100644 --- a/src/base/remote_gdb.cc +++ b/src/base/remote_gdb.cc @@ -711,21 +711,6 @@ BaseRemoteGDB::removeHardBreak(Addr addr, size_t len) } } -void -BaseRemoteGDB::clearTempBreakpoint(Addr &bkpt) -{ - DPRINTF(GDBMisc, "setTempBreakpoint: addr=%#x\n", bkpt); - removeHardBreak(bkpt, sizeof(TheISA::MachInst)); - bkpt = 0; -} - -void -BaseRemoteGDB::setTempBreakpoint(Addr bkpt) -{ - DPRINTF(GDBMisc, "setTempBreakpoint: addr=%#x\n", bkpt); - insertHardBreak(bkpt, sizeof(TheISA::MachInst)); -} - void BaseRemoteGDB::scheduleInstCommitEvent(Event *ev, int delta) { diff --git a/src/base/remote_gdb.hh b/src/base/remote_gdb.hh index c71abfea3..cbfb46f9e 100644 --- a/src/base/remote_gdb.hh +++ b/src/base/remote_gdb.hh @@ -257,9 +257,6 @@ class BaseRemoteGDB void insertHardBreak(Addr addr, size_t len); void removeHardBreak(Addr addr, size_t len); - void clearTempBreakpoint(Addr &bkpt); - void setTempBreakpoint(Addr bkpt); - /* * GDB commands. */