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 <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>
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user