ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
Classes | Typedefs | Functions
GDBSystemWrapper.cpp File Reference

implements a ETISS_System wrapper to enable breakpoints More...

#include <stdlib.h>
#include "etiss/IntegratedLibrary/gdb/GDBServer.h"
Include dependency graph for GDBSystemWrapper.cpp:

Go to the source code of this file.

Classes

struct  ETISS_GDBSystem
 

Typedefs

typedef struct ETISS_GDBSystem ETISS_GDBSystem
 

Functions

static etiss_int32 gdb_system_call_iread (void *handle, ETISS_CPU *cpu, etiss_uint64 addr, etiss_uint32 length)
 
static etiss_int32 gdb_system_call_iwrite (void *handle, ETISS_CPU *cpu, etiss_uint64 addr, etiss_uint8 *buffer, etiss_uint32 length)
 
static etiss_int32 gdb_system_call_dread (void *handle, ETISS_CPU *cpu, etiss_uint64 addr, etiss_uint8 *buffer, etiss_uint32 length)
 
static etiss_int32 gdb_system_call_dwrite (void *handle, ETISS_CPU *cpu, etiss_uint64 addr, etiss_uint8 *buffer, etiss_uint32 length)
 
static etiss_int32 gdb_system_call_dbg_read (void *handle, etiss_uint64 addr, etiss_uint8 *buffer, etiss_uint32 length)
 
static etiss_int32 gdb_system_call_dbg_write (void *handle, etiss_uint64 addr, etiss_uint8 *buffer, etiss_uint32 length)
 
static void gdb_system_call_syncTime (void *handle, ETISS_CPU *cpu)
 

Detailed Description

implements a ETISS_System wrapper to enable breakpoints


Copyright 2018 Infineon Technologies AG

This file is part of ETISS tool, see https://github.com/tum-ei-eda/etiss.

The initial version of this software has been created with the funding support by the German Federal
Ministry of Education and Research (BMBF) in the project EffektiV under grant 01IS13022.

Redistribution and use in source and binary forms, with or without modification, are permitted
provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and
the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions
and the following disclaimer in the documentation and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse
or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

Author
Marc Greim marc..nosp@m.grei.nosp@m.m@myt.nosp@m.um.d.nosp@m.e, Chair of Electronic Design Automation, TUM
Date
July 29, 2014
Version
0.1

Definition in file GDBSystemWrapper.cpp.

Typedef Documentation

◆ ETISS_GDBSystem

Definition at line 1 of file GDBSystemWrapper.cpp.

Function Documentation

◆ gdb_system_call_dbg_read()

static etiss_int32 gdb_system_call_dbg_read ( void *  handle,
etiss_uint64  addr,
etiss_uint8 buffer,
etiss_uint32  length 
)
static

Definition at line 98 of file GDBSystemWrapper.cpp.

References ETISS_System::dbg_read, ETISS_System::handle, length(), and ETISS_GDBSystem::sys_.

Referenced by etiss::plugin::gdb::Server::wrap().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gdb_system_call_dbg_write()

static etiss_int32 gdb_system_call_dbg_write ( void *  handle,
etiss_uint64  addr,
etiss_uint8 buffer,
etiss_uint32  length 
)
static

Definition at line 104 of file GDBSystemWrapper.cpp.

References ETISS_System::dbg_write, ETISS_System::handle, length(), and ETISS_GDBSystem::sys_.

Referenced by etiss::plugin::gdb::Server::wrap().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gdb_system_call_dread()

static etiss_int32 gdb_system_call_dread ( void *  handle,
ETISS_CPU cpu,
etiss_uint64  addr,
etiss_uint8 buffer,
etiss_uint32  length 
)
static

Definition at line 81 of file GDBSystemWrapper.cpp.

References length().

Referenced by etiss::plugin::gdb::Server::wrap().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gdb_system_call_dwrite()

static etiss_int32 gdb_system_call_dwrite ( void *  handle,
ETISS_CPU cpu,
etiss_uint64  addr,
etiss_uint8 buffer,
etiss_uint32  length 
)
static

Definition at line 89 of file GDBSystemWrapper.cpp.

References length().

Referenced by etiss::plugin::gdb::Server::wrap().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gdb_system_call_iread()

static etiss_int32 gdb_system_call_iread ( void *  handle,
ETISS_CPU cpu,
etiss_uint64  addr,
etiss_uint32  length 
)
static

Definition at line 67 of file GDBSystemWrapper.cpp.

References length().

Referenced by etiss::plugin::gdb::Server::wrap().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gdb_system_call_iwrite()

static etiss_int32 gdb_system_call_iwrite ( void *  handle,
ETISS_CPU cpu,
etiss_uint64  addr,
etiss_uint8 buffer,
etiss_uint32  length 
)
static

Definition at line 73 of file GDBSystemWrapper.cpp.

References length().

Referenced by etiss::plugin::gdb::Server::wrap().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gdb_system_call_syncTime()

static void gdb_system_call_syncTime ( void *  handle,
ETISS_CPU cpu 
)
static

Definition at line 110 of file GDBSystemWrapper.cpp.

References ETISS_System::handle, ETISS_System::syncTime, and ETISS_GDBSystem::sys_.

Referenced by etiss::plugin::gdb::Server::wrap().

Here is the caller graph for this function: