base: Delete the unused RemoteGDB::(set|clear)TempBreakpoint methods.
authorGabe Black <gabe.black@gmail.com>
Mon, 25 Jan 2021 06:36:27 +0000 (22:36 -0800)
committerGabe Black <gabe.black@gmail.com>
Wed, 27 Jan 2021 00:41:05 +0000 (00:41 +0000)
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 <bbruce@ucdavis.edu>
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
Tested-by: kokoro <noreply+kokoro@google.com>
src/base/remote_gdb.cc
src/base/remote_gdb.hh

index 1e86a693f1d1fbf7420613f7d0625e8f6c905ea3..02cb11ad54f012625e57b60d6cd20008e0362ad2 100644 (file)
@@ -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)
 {
index c71abfea31ebb17eb7d8a80b73a1c6a53b6ac1f1..cbfb46f9ef319717995d2057acdfce18bca05c4c 100644 (file)
@@ -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.
      */