TEMU  3.0
The Terma Emulator
GdbServer.h
Go to the documentation of this file.
1 //===-- temu-c/GdbServer.h - GdbServer API ------------------------*- C++ -*-===//
2 //
3 // TEMU: The Terma Emulator
4 // (c) Terma 2015
5 // Authors: Mattias Holm <maho@terma.com>
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef TEMU_GDBSERVER_H
10 #define TEMU_GDBSERVER_H
11 
12 #include <stdint.h>
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 void temu_initGdbServerLib(void);
19 
24 void* temu_createGdbServer(uint16_t Port);
25 
29 void temu_disposeGdbServer(void *Gdb);
30 
34 void temu_gdbWaitForConnection(void *Gdb);
35 
40 void temu_gdbAddMachine(void *Gdb, const char *MachineName);
41 
46 void temu_gdbAddCpu(void *Gdb, const char *CpuName);
47 
51 void temu_gdbAsyncStop(void *Gdb);
52 
56 int temu_gdbRun(void *Gdb);
57 
58 #ifdef __cplusplus
59 }
60 #endif
61 
62 
63 #endif /* TEMU_GDBSERVER_H */
int temu_gdbRun(void *Gdb)
void temu_gdbAddCpu(void *Gdb, const char *CpuName)
void temu_gdbAddMachine(void *Gdb, const char *MachineName)
void * temu_createGdbServer(uint16_t Port)
void temu_disposeGdbServer(void *Gdb)
void temu_gdbAsyncStop(void *Gdb)
void temu_gdbWaitForConnection(void *Gdb)
void temu_initGdbServerLib(void)
Initialise the GDB Server Library.