Logo SoCRocket

Transaction-Level Modeling Framework for Space Applications

Classes | Namespaces | Macros | Variables
GDBStub.hpp File Reference
#include <csignal>
#include "core/common/systemc.h"
#include <vector>
#include "core/common/trapgen/utils/trap_utils.hpp"
#include "core/common/trapgen/ABIIf.hpp"
#include "core/common/trapgen/ToolsIf.hpp"
#include "core/common/trapgen/instructionBase.hpp"
#include "core/common/trapgen/debugger/BreakpointManager.hpp"
#include "core/common/trapgen/debugger/GDBConnectionManager.hpp"
#include "core/common/trapgen/debugger/WatchpointManager.hpp"
#include <boost/algorithm/string.hpp>
#include <boost/circular_buffer.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/thread/condition.hpp>
#include <boost/thread/mutex.hpp>
#include <boost/thread/thread.hpp>
#include <boost/thread/xtime.hpp>
Include dependency graph for GDBStub.hpp:
This graph shows which files directly or indirectly include this file:

Classes

class  trap::GDBStub< issueWidth >
 

Namespaces

 trap
 

Macros

#define SIGTRAP   5
 
#define SIGQUIT   3
 

Variables

int exitValue
 

Macro Definition Documentation

#define SIGQUIT   3
#define SIGTRAP   5

This file contains the methods necessary to communicate with GDB in order to debug software running on simulators. Source code takes inspiration from the linux kernel (sparc-stub.c) and from ac_gdb.H in the ArchC sources In order to debug the remote protocol (as a help in the development of this stub, issue the "set debug remote 1" command in GDB) "set remotelogfile file" logs all the remote communication on the specified file

Variable Documentation

int exitValue