GDB (API)
|
#include "defs.h"
#include "frame.h"
#include "inferior.h"
#include "target.h"
#include "exceptions.h"
#include "gdbcore.h"
#include "command.h"
#include "completer.h"
#include "regcache.h"
#include "top.h"
#include <signal.h>
#include <sys/types.h>
#include <fcntl.h>
#include <stdlib.h>
#include <windows.h>
#include <imagehlp.h>
#include <psapi.h>
#include "buildsym.h"
#include "filenames.h"
#include "symfile.h"
#include "objfiles.h"
#include "gdb_bfd.h"
#include "gdb_obstack.h"
#include "gdb_string.h"
#include "gdbthread.h"
#include "gdbcmd.h"
#include <unistd.h>
#include "exec.h"
#include "solist.h"
#include "solib.h"
#include "xml-support.h"
#include "i386-tdep.h"
#include "i387-tdep.h"
#include "windows-tdep.h"
#include "windows-nat.h"
#include "i386-nat.h"
#include "complaints.h"
Go to the source code of this file.
Defines | |
#define | AdjustTokenPrivileges dyn_AdjustTokenPrivileges |
#define | DebugActiveProcessStop dyn_DebugActiveProcessStop |
#define | DebugBreakProcess dyn_DebugBreakProcess |
#define | DebugSetProcessKillOnExit dyn_DebugSetProcessKillOnExit |
#define | EnumProcessModules dyn_EnumProcessModules |
#define | GetModuleInformation dyn_GetModuleInformation |
#define | LookupPrivilegeValueA dyn_LookupPrivilegeValueA |
#define | OpenProcessToken dyn_OpenProcessToken |
#define | GetConsoleFontSize dyn_GetConsoleFontSize |
#define | GetCurrentConsoleFont dyn_GetCurrentConsoleFont |
#define | __PMAX (MAX_PATH + 1) |
#define | STARTUPINFO STARTUPINFOA |
#define | CreateProcess CreateProcessA |
#define | GetModuleFileNameEx_name "GetModuleFileNameExA" |
#define | bad_GetModuleFileNameEx bad_GetModuleFileNameExA |
#define | CONTEXT_EXTENDED_REGISTERS 0 |
#define | CONTEXT_DEBUGGER_DR |
#define | DR6_CLEAR_VALUE 0xffff0ff0 |
#define | _CYGWIN_SIGNAL_STRING "cYgSiGw00f" |
#define | CHECK(x) check (x, __FILE__,__LINE__) |
#define | DEBUG_EXEC(x) if (debug_exec) printf_unfiltered x |
#define | DEBUG_EVENTS(x) if (debug_events) printf_unfiltered x |
#define | DEBUG_MEM(x) if (debug_memory) printf_unfiltered x |
#define | DEBUG_EXCEPT(x) if (debug_exceptions) printf_unfiltered x |
#define | p ((struct safe_symbol_file_add_args *) argv) |
#define | sp ((struct safe_symbol_file_add_args *)p) |
#define | DEBUG_EXCEPTION_SIMPLE(x) |
Typedefs | |
typedef struct thread_info_struct | thread_info |
Enumerations | |
enum | { FLAG_TRACE_BIT = 0x100, CONTEXT_DEBUGGER = (CONTEXT_FULL | CONTEXT_FLOATING_POINT) } |
Functions | |
void | windows_set_context_register_offsets (const int *offsets) |
void | windows_set_segment_register_p (segment_register_p_ftype *fun) |
void | _initialize_windows_nat (void) |
void | _initialize_check_for_gdb_ini (void) |
void | _initialize_loadable (void) |
Variables | |
initialize_file_ftype | _initialize_windows_nat |
initialize_file_ftype | _initialize_check_for_gdb_ini |
initialize_file_ftype | _initialize_loadable |
#define __PMAX (MAX_PATH + 1) |
Definition at line 104 of file windows-nat.c.
#define _CYGWIN_SIGNAL_STRING "cYgSiGw00f" |
Definition at line 160 of file windows-nat.c.
#define AdjustTokenPrivileges dyn_AdjustTokenPrivileges |
Definition at line 71 of file windows-nat.c.
#define bad_GetModuleFileNameEx bad_GetModuleFileNameExA |
Definition at line 109 of file windows-nat.c.
#define CHECK | ( | x | ) | check (x, __FILE__,__LINE__) |
Definition at line 163 of file windows-nat.c.
#define CONTEXT_DEBUGGER_DR |
CONTEXT_DEBUGGER | CONTEXT_DEBUG_REGISTERS \ | CONTEXT_EXTENDED_REGISTERS
Definition at line 147 of file windows-nat.c.
#define CONTEXT_EXTENDED_REGISTERS 0 |
Definition at line 144 of file windows-nat.c.
#define CreateProcess CreateProcessA |
Definition at line 107 of file windows-nat.c.
#define DEBUG_EVENTS | ( | x | ) | if (debug_events) printf_unfiltered x |
Definition at line 165 of file windows-nat.c.
#define DEBUG_EXCEPT | ( | x | ) | if (debug_exceptions) printf_unfiltered x |
Definition at line 167 of file windows-nat.c.
#define DEBUG_EXCEPTION_SIMPLE | ( | x | ) |
if (debug_exceptions) \ printf_unfiltered ("gdb: Target exception %s at %s\n", x, \ host_address_to_string (\ current_event.u.Exception.ExceptionRecord.ExceptionAddress))
Definition at line 1118 of file windows-nat.c.
#define DEBUG_EXEC | ( | x | ) | if (debug_exec) printf_unfiltered x |
Definition at line 164 of file windows-nat.c.
#define DEBUG_MEM | ( | x | ) | if (debug_memory) printf_unfiltered x |
Definition at line 166 of file windows-nat.c.
#define DebugActiveProcessStop dyn_DebugActiveProcessStop |
Definition at line 72 of file windows-nat.c.
#define DebugBreakProcess dyn_DebugBreakProcess |
Definition at line 73 of file windows-nat.c.
#define DebugSetProcessKillOnExit dyn_DebugSetProcessKillOnExit |
Definition at line 74 of file windows-nat.c.
#define DR6_CLEAR_VALUE 0xffff0ff0 |
Definition at line 155 of file windows-nat.c.
#define EnumProcessModules dyn_EnumProcessModules |
Definition at line 75 of file windows-nat.c.
#define GetConsoleFontSize dyn_GetConsoleFontSize |
Definition at line 79 of file windows-nat.c.
#define GetCurrentConsoleFont dyn_GetCurrentConsoleFont |
Definition at line 80 of file windows-nat.c.
#define GetModuleFileNameEx_name "GetModuleFileNameExA" |
Definition at line 108 of file windows-nat.c.
#define GetModuleInformation dyn_GetModuleInformation |
Definition at line 76 of file windows-nat.c.
#define LookupPrivilegeValueA dyn_LookupPrivilegeValueA |
Definition at line 77 of file windows-nat.c.
#define OpenProcessToken dyn_OpenProcessToken |
Definition at line 78 of file windows-nat.c.
#define p ((struct safe_symbol_file_add_args *) argv) |
#define STARTUPINFO STARTUPINFOA |
Definition at line 106 of file windows-nat.c.
typedef struct thread_info_struct thread_info |
anonymous enum |
Definition at line 134 of file windows-nat.c.
void _initialize_check_for_gdb_ini | ( | void | ) |
Definition at line 2723 of file windows-nat.c.
void _initialize_loadable | ( | void | ) |
Definition at line 2823 of file windows-nat.c.
void _initialize_windows_nat | ( | void | ) |
Definition at line 2561 of file windows-nat.c.
void windows_set_context_register_offsets | ( | const int * | offsets | ) |
Definition at line 274 of file windows-nat.c.
void windows_set_segment_register_p | ( | segment_register_p_ftype * | fun | ) |
Definition at line 282 of file windows-nat.c.