Gabe Black has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/44030 )

Change subject: base: Get rid of the unused "debuggers" vector in the remote GDB stub.
......................................................................

base: Get rid of the unused "debuggers" vector in the remote GDB stub.

This was presumably there for debuggers attached to gem5 itself to
examine, but doesn't provide much value and adds a small amount of
complexity.

Change-Id: Iaed08b63beafe8bf05f1496f6341a7feadc350ce
---
M src/base/remote_gdb.cc
1 file changed, 0 insertions(+), 3 deletions(-)



diff --git a/src/base/remote_gdb.cc b/src/base/remote_gdb.cc
index 2aea740..519ba64 100644
--- a/src/base/remote_gdb.cc
+++ b/src/base/remote_gdb.cc
@@ -155,8 +155,6 @@
 static const char GDBGoodP = '+';
 static const char GDBBadP = '-';

-std::vector<BaseRemoteGDB *> debuggers;
-
 class HardBreakpoint : public PCEvent
 {
   private:
@@ -316,7 +314,6 @@
         active(false), attached(false), sys(_system), tc(c),
         trapEvent(this), singleStepEvent(*this)
 {
-    debuggers.push_back(this);
 }

 BaseRemoteGDB::~BaseRemoteGDB()

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/44030
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: Iaed08b63beafe8bf05f1496f6341a7feadc350ce
Gerrit-Change-Number: 44030
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-CC: Gabe Black <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to