summaryrefslogtreecommitdiff
path: root/src/base/remote_gdb.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/remote_gdb.hh')
-rw-r--r--src/base/remote_gdb.hh15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/base/remote_gdb.hh b/src/base/remote_gdb.hh
index ef414f09b..110059141 100644
--- a/src/base/remote_gdb.hh
+++ b/src/base/remote_gdb.hh
@@ -115,8 +115,23 @@ class BaseRemoteGDB
void process(int revent);
};
+ class TrapEvent : public ::Event
+ {
+ protected:
+ int _type;
+ BaseRemoteGDB *gdb;
+
+ public:
+ TrapEvent(BaseRemoteGDB *g) : gdb(g)
+ {}
+
+ void type(int t) { _type = t; }
+ void process();
+ };
+
friend class Event;
Event *event;
+ TrapEvent trapEvent;
GDBListener *listener;
int number;