remote_gdb.hh (10595:25ecfc14f73f) | remote_gdb.hh (10597:bd68c6838b9f) |
---|---|
1/* 2 * Copyright 2014 Google, Inc. 3 * Copyright (c) 2002-2005 The Regents of The University of Michigan 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 101 unchanged lines hidden (view full) --- 110 protected: 111 BaseRemoteGDB *gdb; 112 113 public: 114 Event(BaseRemoteGDB *g, int fd, int e); 115 void process(int revent); 116 }; 117 | 1/* 2 * Copyright 2014 Google, Inc. 3 * Copyright (c) 2002-2005 The Regents of The University of Michigan 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 101 unchanged lines hidden (view full) --- 110 protected: 111 BaseRemoteGDB *gdb; 112 113 public: 114 Event(BaseRemoteGDB *g, int fd, int e); 115 void process(int revent); 116 }; 117 |
118 class TrapEvent : public ::Event 119 { 120 protected: 121 int _type; 122 BaseRemoteGDB *gdb; 123 124 public: 125 TrapEvent(BaseRemoteGDB *g) : gdb(g) 126 {} 127 128 void type(int t) { _type = t; } 129 void process(); 130 }; 131 |
|
118 friend class Event; 119 Event *event; | 132 friend class Event; 133 Event *event; |
134 TrapEvent trapEvent; |
|
120 GDBListener *listener; 121 int number; 122 123 protected: 124 //The socket commands come in through 125 int fd; 126 127 protected: --- 158 unchanged lines hidden --- | 135 GDBListener *listener; 136 int number; 137 138 protected: 139 //The socket commands come in through 140 int fd; 141 142 protected: --- 158 unchanged lines hidden --- |