remote_gdb.hh (8737:770ccf3af571) remote_gdb.hh (8931:7a1dfb191e3f)
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;

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

37
38#include "arch/types.hh"
39#include "base/pollevent.hh"
40#include "base/socket.hh"
41#include "cpu/pc_event.hh"
42
43class System;
44class ThreadContext;
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;

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

37
38#include "arch/types.hh"
39#include "base/pollevent.hh"
40#include "base/socket.hh"
41#include "cpu/pc_event.hh"
42
43class System;
44class ThreadContext;
45class PhysicalMemory;
46
47class GDBListener;
48
49enum GDBCommands
50{
51 GDBSignal = '?', // last signal
52 GDBSetBaud = 'b', // set baud (depracated)
53 GDBSetBreak = 'B', // set breakpoint (depracated)

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

126 protected:
127#ifdef notyet
128 label_t recover;
129#endif
130 bool active;
131 bool attached;
132
133 System *system;
45
46class GDBListener;
47
48enum GDBCommands
49{
50 GDBSignal = '?', // last signal
51 GDBSetBaud = 'b', // set baud (depracated)
52 GDBSetBreak = 'B', // set breakpoint (depracated)

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

125 protected:
126#ifdef notyet
127 label_t recover;
128#endif
129 bool active;
130 bool attached;
131
132 System *system;
134 PhysicalMemory *pmem;
135 ThreadContext *context;
136
137 protected:
138 class GdbRegCache
139 {
140 public:
141 GdbRegCache(size_t newSize) : regs(new uint64_t[newSize]), size(newSize)
142 {}

--- 132 unchanged lines hidden ---
133 ThreadContext *context;
134
135 protected:
136 class GdbRegCache
137 {
138 public:
139 GdbRegCache(size_t newSize) : regs(new uint64_t[newSize]), size(newSize)
140 {}

--- 132 unchanged lines hidden ---