remote_gdb.hh (4120:3e09b5d32c45) | remote_gdb.hh (4144:f54c2e74010c) |
---|---|
1/* 2 * Copyright (c) 2007 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * Redistribution and use of this software in source and binary forms, 6 * with or without modification, are permitted provided that the 7 * following conditions are met: 8 * --- 44 unchanged lines hidden (view full) --- 53 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 54 * 55 * Authors: Gabe Black 56 */ 57 58#ifndef __ARCH_X86_REMOTEGDB_HH__ 59#define __ARCH_X86_REMOTEGDB_HH__ 60 | 1/* 2 * Copyright (c) 2007 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * Redistribution and use of this software in source and binary forms, 6 * with or without modification, are permitted provided that the 7 * following conditions are met: 8 * --- 44 unchanged lines hidden (view full) --- 53 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 54 * 55 * Authors: Gabe Black 56 */ 57 58#ifndef __ARCH_X86_REMOTEGDB_HH__ 59#define __ARCH_X86_REMOTEGDB_HH__ 60 |
61#error X86 is not yet supported! | 61#include "arch/x86/types.hh" 62#include "base/remote_gdb.hh" |
62 | 63 |
64class System; 65class ThreadContext; 66 |
|
63namespace X86ISA 64{ | 67namespace X86ISA 68{ |
65}; | 69 class RemoteGDB : public BaseRemoteGDB 70 { 71 protected: 72 enum RegisterContants 73 { 74 //XXX fill this in 75 }; |
66 | 76 |
77 public: 78 RemoteGDB(System *system, ThreadContext *context); 79 80 bool acc(Addr addr, size_t len); 81 82 protected: 83 void getregs(); 84 void setregs(); 85 86 void clearSingleStep(); 87 void setSingleStep(); 88 89 Addr nextBkpt; 90 }; 91} 92 |
|
67#endif // __ARCH_X86_REMOTEGDB_HH__ | 93#endif // __ARCH_X86_REMOTEGDB_HH__ |