117a118,131
> class TrapEvent : public ::Event
> {
> protected:
> int _type;
> BaseRemoteGDB *gdb;
>
> public:
> TrapEvent(BaseRemoteGDB *g) : gdb(g)
> {}
>
> void type(int t) { _type = t; }
> void process();
> };
>
119a134
> TrapEvent trapEvent;