remote_gdb.cc (11274:d9a0136ab8cc) | remote_gdb.cc (11793:ef606668d247) |
---|---|
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 --- 103 unchanged lines hidden (view full) --- 112/* 113 * $NetBSD: kgdb_stub.c,v 1.8 2001/07/07 22:58:00 wdk Exp $ 114 * 115 * Taken from NetBSD 116 * 117 * "Stub" to allow remote cpu to debug over a serial line using gdb. 118 */ 119 | 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 --- 103 unchanged lines hidden (view full) --- 112/* 113 * $NetBSD: kgdb_stub.c,v 1.8 2001/07/07 22:58:00 wdk Exp $ 114 * 115 * Taken from NetBSD 116 * 117 * "Stub" to allow remote cpu to debug over a serial line using gdb. 118 */ 119 |
120#include "arch/alpha/remote_gdb.hh" 121 |
|
120#include <sys/signal.h> 121#include <unistd.h> 122 123#include <string> 124 | 122#include <sys/signal.h> 123#include <unistd.h> 124 125#include <string> 126 |
125 | |
126#include "arch/alpha/decoder.hh" 127#include "arch/alpha/regredir.hh" | 127#include "arch/alpha/decoder.hh" 128#include "arch/alpha/regredir.hh" |
128#include "arch/alpha/remote_gdb.hh" | |
129#include "arch/alpha/utility.hh" 130#include "arch/alpha/vtophys.hh" 131#include "base/intmath.hh" 132#include "base/remote_gdb.hh" 133#include "base/socket.hh" 134#include "base/trace.hh" 135#include "cpu/static_inst.hh" 136#include "cpu/thread_context.hh" 137#include "debug/GDBAcc.hh" 138#include "debug/GDBMisc.hh" 139#include "mem/physical.hh" 140#include "mem/port.hh" | 129#include "arch/alpha/utility.hh" 130#include "arch/alpha/vtophys.hh" 131#include "base/intmath.hh" 132#include "base/remote_gdb.hh" 133#include "base/socket.hh" 134#include "base/trace.hh" 135#include "cpu/static_inst.hh" 136#include "cpu/thread_context.hh" 137#include "debug/GDBAcc.hh" 138#include "debug/GDBMisc.hh" 139#include "mem/physical.hh" 140#include "mem/port.hh" |
141#include "sim/system.hh" | |
142#include "sim/full_system.hh" | 141#include "sim/full_system.hh" |
142#include "sim/system.hh" |
|
143 144using namespace std; 145using namespace AlphaISA; 146 147RemoteGDB::RemoteGDB(System *_system, ThreadContext *tc) 148 : BaseRemoteGDB(_system, tc) 149{ 150} --- 127 unchanged lines hidden --- | 143 144using namespace std; 145using namespace AlphaISA; 146 147RemoteGDB::RemoteGDB(System *_system, ThreadContext *tc) 148 : BaseRemoteGDB(_system, tc) 149{ 150} --- 127 unchanged lines hidden --- |