Deleted Added
sdiff udiff text old ( 3579:e9976b62c259 ) new ( 3960:1dca397b2bab )
full compact
1/*
2 * Copyright (c) 2002-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

27 *
28 * Authors: Nathan Binkert
29 */
30
31#ifndef __REMOTE_GDB_HH__
32#define __REMOTE_GDB_HH__
33
34#include <map>
35
36#include "arch/types.hh"
37#include "cpu/pc_event.hh"
38#include "base/pollevent.hh"
39#include "base/socket.hh"
40
41class System;
42class ThreadContext;

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

172 void replaceThreadContext(ThreadContext *tc) { context = tc; }
173
174 void attach(int fd);
175 void detach();
176 bool isattached();
177
178 virtual bool acc(Addr addr, size_t len) = 0;
179 bool trap(int type);
180
181 protected:
182 virtual void getregs() = 0;
183 virtual void setregs() = 0;
184
185 virtual void clearSingleStep() = 0;
186 virtual void setSingleStep() = 0;
187

--- 81 unchanged lines hidden ---