TEMU  3.0
The Terma Emulator
GdbServer.h File Reference
#include <stdint.h>
Include dependency graph for GdbServer.h:

Go to the source code of this file.

Functions

void temu_initGdbServerLib (void)
 Initialise the GDB Server Library. More...
 
void * temu_createGdbServer (uint16_t Port)
 
void temu_disposeGdbServer (void *Gdb)
 
void temu_gdbWaitForConnection (void *Gdb)
 
void temu_gdbAddMachine (void *Gdb, const char *MachineName)
 
void temu_gdbAddCpu (void *Gdb, const char *CpuName)
 
void temu_gdbAsyncStop (void *Gdb)
 
int temu_gdbRun (void *Gdb)
 

Function Documentation

◆ temu_createGdbServer()

void* temu_createGdbServer ( uint16_t  Port)

Create a new GDB server

Parameters
PortTCP port to start server on.
Returns
Opaque handle to GDB server.

◆ temu_disposeGdbServer()

void temu_disposeGdbServer ( void *  Gdb)

Dispose a GDB server

Parameters
GdbPointer returned by temu_createGdbServer()

◆ temu_gdbAddCpu()

void temu_gdbAddCpu ( void *  Gdb,
const char *  CpuName 
)

Add named CPU to GDB server

Parameters
GdbPointer returned by temu_createGdbServer()
CpuNameName of processor object.

◆ temu_gdbAddMachine()

void temu_gdbAddMachine ( void *  Gdb,
const char *  MachineName 
)

Add named machine to GDB server

Parameters
GdbPointer returned by temu_createGdbServer()
MachineNameName of Machine object.

◆ temu_gdbAsyncStop()

void temu_gdbAsyncStop ( void *  Gdb)

Tell GDB server to stop at next safe point in time.

Parameters
GdbPointer returned by temu_createGdbServer()

◆ temu_gdbRun()

int temu_gdbRun ( void *  Gdb)

Run the GDB server loop

Parameters
GdbPointer returned by temu_createGdbServer()

◆ temu_gdbWaitForConnection()

void temu_gdbWaitForConnection ( void *  Gdb)

Wait current thread for a user to connect

Parameters
GdbPointer returned by temu_createGdbServer()

◆ temu_initGdbServerLib()

void temu_initGdbServerLib ( void  )

Initialise the GDB Server Library.