remote_gdb.hh (12122:20512f6810d7) remote_gdb.hh (12125:0066d9926c1a)
1/*
2 * Copyright 2015 LabWare
3 * Copyright 2014 Google, Inc.
4 * Copyright (c) 2002-2005 The Regents of The University of Michigan
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions are

--- 246 unchanged lines hidden (view full) ---

255
256 virtual bool acc(Addr addr, size_t len) = 0;
257 bool trap(int type);
258 virtual bool breakpoint()
259 {
260 return trap(SIGTRAP);
261 }
262
1/*
2 * Copyright 2015 LabWare
3 * Copyright 2014 Google, Inc.
4 * Copyright (c) 2002-2005 The Regents of The University of Michigan
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions are

--- 246 unchanged lines hidden (view full) ---

255
256 virtual bool acc(Addr addr, size_t len) = 0;
257 bool trap(int type);
258 virtual bool breakpoint()
259 {
260 return trap(SIGTRAP);
261 }
262
263 protected:
264 class SingleStepEvent : public Event
265 {
266 protected:
267 BaseRemoteGDB *gdb;
263 void processSingleStepEvent();
264 EventFunctionWrapper singleStepEvent;
268
265
269 public:
270 SingleStepEvent(BaseRemoteGDB *g) : gdb(g)
271 {}
272
273 void process();
274 };
275
276 SingleStepEvent singleStepEvent;
277
278 void clearSingleStep();
279 void setSingleStep();
280
281 PCEventQueue *getPcEventQueue();
282 EventQueue *getComInstEventQueue();
283
284 /// Schedule an event which will be triggered "delta" instructions later.
285 void scheduleInstCommitEvent(Event *ev, int delta);

--- 86 unchanged lines hidden ---
266 void clearSingleStep();
267 void setSingleStep();
268
269 PCEventQueue *getPcEventQueue();
270 EventQueue *getComInstEventQueue();
271
272 /// Schedule an event which will be triggered "delta" instructions later.
273 void scheduleInstCommitEvent(Event *ev, int delta);

--- 86 unchanged lines hidden ---