#include <ansidecl.h>
#include <stdarg.h>
#include "bfd.h"
Go to the source code of this file.
Classes |
struct | CB_TARGET_DEFS_MAP |
struct | host_callback_struct |
struct | host_callback_struct::pipe_write_buffer |
struct | cb_syscall |
Defines |
#define | MAX_CALLBACK_FDS 10 |
#define | HOST_CALLBACK_MAGIC 4705 /* teds constant */ |
#define | CB_SYS_exit 1 |
#define | CB_SYS_open 2 |
#define | CB_SYS_close 3 |
#define | CB_SYS_read 4 |
#define | CB_SYS_write 5 |
#define | CB_SYS_lseek 6 |
#define | CB_SYS_unlink 7 |
#define | CB_SYS_getpid 8 |
#define | CB_SYS_kill 9 |
#define | CB_SYS_fstat 10 |
#define | CB_SYS_argvlen 12 |
#define | CB_SYS_argv 13 |
#define | CB_SYS_chdir 14 |
#define | CB_SYS_stat 15 |
#define | CB_SYS_chmod 16 |
#define | CB_SYS_utime 17 |
#define | CB_SYS_time 18 |
#define | CB_SYS_lstat 19 |
#define | CB_SYS_rename 20 |
#define | CB_SYS_truncate 21 |
#define | CB_SYS_ftruncate 22 |
#define | CB_SYS_pipe 23 |
#define | CB_SYS_argc 24 |
#define | CB_SYS_argnlen 25 |
#define | CB_SYS_argn 26 |
#define | CB_SYSCALL_MAGIC 0x12344321 |
#define | CB_SYSCALL_INIT(sc) |
Typedefs |
typedef struct host_callback_struct | host_callback |
typedef struct cb_syscall | CB_SYSCALL |
Enumerations |
enum | CB_RC { CB_RC_OK = 0,
CB_RC_ERR,
CB_RC_ACCESS,
CB_RC_NO_MEM
} |
Functions |
CB_RC | cb_read_target_syscall_maps (host_callback *, const char *) |
int | cb_target_to_host_syscall (host_callback *, int) |
int | cb_host_to_target_errno (host_callback *, int) |
int | cb_target_to_host_open (host_callback *, int) |
int | cb_target_to_host_signal (host_callback *, int) |
int | cb_host_to_gdb_signal (host_callback *, int) |
int | cb_host_to_target_stat (host_callback *, const struct stat *, PTR) |
void | cb_store_target_endian (host_callback *, char *, int, long) |
int | cb_is_stdin (host_callback *, int) |
int | cb_is_stdout (host_callback *, int) |
int | cb_is_stderr (host_callback *, int) |
int | cb_get_string (host_callback *, CB_SYSCALL *, char *, int, unsigned long) |
CB_RC | cb_syscall (host_callback *, CB_SYSCALL *) |
Variables |
host_callback | default_callback |
Define Documentation
Typedef Documentation
Enumeration Type Documentation
- Enumerator:
CB_RC_OK |
|
CB_RC_ERR |
|
CB_RC_ACCESS |
|
CB_RC_NO_MEM |
|
Definition at line 292 of file callback.h.
Function Documentation
Variable Documentation