#include "defs.h"
#include "top.h"
#include "inferior.h"
#include "target.h"
#include "symfile.h"
#include "symtab.h"
#include "objfiles.h"
#include "gdb.h"
#include "gdbcmd.h"
#include "gdbcore.h"
#include "gdbthread.h"
#include "regcache.h"
#include "event-top.h"
#include "inf-loop.h"
#include "gdb_stat.h"
#include "exceptions.h"
#include "inf-child.h"
#include "value.h"
#include "arch-utils.h"
#include "bfd.h"
#include "bfd/mach-o.h"
#include <sys/ptrace.h>
#include <sys/signal.h>
#include <machine/setjmp.h>
#include <sys/types.h>
#include <unistd.h>
#include <signal.h>
#include <string.h>
#include <ctype.h>
#include <sys/sysctl.h>
#include <sys/proc.h>
#include <libproc.h>
#include <sys/syscall.h>
#include <spawn.h>
#include <mach/mach_error.h>
#include <mach/mach_vm.h>
#include <mach/mach_init.h>
#include <mach/vm_map.h>
#include <mach/task.h>
#include <mach/mach_port.h>
#include <mach/thread_act.h>
#include <mach/port.h>
#include "darwin-nat.h"
#include "common/filestuff.h"
Go to the source code of this file.
Defines |
#define | PTRACE(CMD, PID, ADDR, SIG) darwin_ptrace(#CMD, CMD, (PID), (ADDR), (SIG)) |
#define | PAGE_TRUNC(x) ((x) & ~(mach_page_size - 1)) |
#define | PAGE_ROUND(x) PAGE_TRUNC((x) + mach_page_size - 1) |
#define | _POSIX_SPAWN_DISABLE_ASLR 0x0100 |
Functions |
boolean_t | exc_server (mach_msg_header_t *in, mach_msg_header_t *out) |
void | mach_check_error (kern_return_t ret, const char *file, unsigned int line, const char *func) |
void | _initialize_darwin_inferior (void) |
Variables |
mach_port_t | darwin_host_self |
mach_port_t | darwin_ex_port |
mach_port_t | darwin_port_set |
initialize_file_ftype | _initialize_darwin_inferior |
Define Documentation
#define PAGE_TRUNC |
( |
|
x | ) |
((x) & ~(mach_page_size - 1)) |
#define PTRACE |
( |
|
CMD, |
|
|
|
PID, |
|
|
|
ADDR, |
|
|
|
SIG |
|
) |
| darwin_ptrace(#CMD, CMD, (PID), (ADDR), (SIG)) |
Function Documentation
boolean_t exc_server |
( |
mach_msg_header_t * |
in, |
|
|
mach_msg_header_t * |
out |
|
) |
| |
Variable Documentation