From 0963d3ac8bf9beaea6ab5a7e48c187c24fbd8bb6 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sun, 24 Jan 2021 22:36:27 -0800 Subject: [PATCH] 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 --- src/base/remote_gdb.cc | 15 --------------- src/base/remote_gdb.hh | 3 --- 2 files changed, 18 deletions(-) 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. */ -- 2.30.2