GDB (xrefs)
Classes | Typedefs | Functions | Variables
/tmp/gdb-7.10/gdb/windows-tdep.c File Reference
#include "defs.h"
#include "windows-tdep.h"
#include "gdb_obstack.h"
#include "xml-support.h"
#include "gdbarch.h"
#include "target.h"
#include "value.h"
#include "inferior.h"
#include "command.h"
#include "gdbcmd.h"
#include "gdbthread.h"
#include "objfiles.h"
#include "symfile.h"
#include "coff-pe-read.h"
#include "gdb_bfd.h"
#include "complaints.h"
#include "solib.h"
#include "solib-target.h"
#include "gdbcore.h"

Go to the source code of this file.

Classes

struct  thread_information_block_32
 
struct  thread_information_block_64
 

Typedefs

typedef struct thread_information_block_32 thread_information_32
 
typedef struct thread_information_block_64 thread_information_64
 

Functions

static struct typewindows_get_tlb_type (struct gdbarch *gdbarch)
 
static void tlb_value_read (struct value *val)
 
static void tlb_value_write (struct value *v, struct value *fromval)
 
static struct valuetlb_make_value (struct gdbarch *gdbarch, struct internalvar *var, void *ignore)
 
static int display_one_tib (ptid_t ptid)
 
static void display_tib (char *args, int from_tty)
 
void windows_xfer_shared_library (const char *so_name, CORE_ADDR load_addr, struct gdbarch *gdbarch, struct obstack *obstack)
 
static void windows_iterate_over_objfiles_in_search_order (struct gdbarch *gdbarch, iterate_over_objfiles_in_search_order_cb_ftype *cb, void *cb_data, struct objfile *current_objfile)
 
static void show_maint_show_all_tib (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
 
static void info_w32_command (char *args, int from_tty)
 
void init_w32_command_list (void)
 
void windows_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
 
void _initialize_windows_tdep (void)
 

Variables

struct cmd_list_elementinfo_w32_cmdlist
 
static const char * TIB_NAME []
 
static const int MAX_TIB32
 
static const int MAX_TIB64
 
static const int FULL_TIB_SIZE = 0x1000
 
static int maint_display_all_tib = 0
 
static const struct lval_funcs tlb_value_funcs
 
static int w32_prefix_command_valid = 0
 
initialize_file_ftype _initialize_windows_tdep
 
static const struct internalvar_funcs tlb_funcs
 

Typedef Documentation

Function Documentation

void _initialize_windows_tdep ( void  )
static int display_one_tib ( ptid_t  ptid)
static
static void display_tib ( char *  args,
int  from_tty 
)
static
static void info_w32_command ( char *  args,
int  from_tty 
)
static

Definition at line 469 of file windows-tdep.c.

References class_info, gdb_stdout, and help_list().

Referenced by init_w32_command_list().

void init_w32_command_list ( void  )
static void show_maint_show_all_tib ( struct ui_file file,
int  from_tty,
struct cmd_list_element c,
const char *  value 
)
static

Definition at line 461 of file windows-tdep.c.

References _, and fprintf_filtered().

Referenced by _initialize_windows_tdep().

static struct value* tlb_make_value ( struct gdbarch gdbarch,
struct internalvar var,
void *  ignore 
)
static
static void tlb_value_read ( struct value val)
static
static void tlb_value_write ( struct value v,
struct value fromval 
)
static

Definition at line 262 of file windows-tdep.c.

References _, and error().

static struct type* windows_get_tlb_type ( struct gdbarch gdbarch)
static
void windows_init_abi ( struct gdbarch_info  info,
struct gdbarch gdbarch 
)
static void windows_iterate_over_objfiles_in_search_order ( struct gdbarch gdbarch,
iterate_over_objfiles_in_search_order_cb_ftype cb,
void *  cb_data,
struct objfile current_objfile 
)
static

Definition at line 435 of file windows-tdep.c.

References ALL_OBJFILES.

Referenced by windows_init_abi().

void windows_xfer_shared_library ( const char *  so_name,
CORE_ADDR  load_addr,
struct gdbarch gdbarch,
struct obstack *  obstack 
)

Variable Documentation

initialize_file_ftype _initialize_windows_tdep
const int FULL_TIB_SIZE = 0x1000
static

Definition at line 101 of file windows-tdep.c.

Referenced by display_one_tib().

struct cmd_list_element* info_w32_cmdlist

Definition at line 38 of file windows-tdep.c.

Referenced by _initialize_windows_nat().

int maint_display_all_tib = 0
static

Definition at line 103 of file windows-tdep.c.

const int MAX_TIB32
static
Initial value:
=
sizeof (thread_information_32) / sizeof (uint32_t)
struct thread_information_block_32 thread_information_32

Definition at line 97 of file windows-tdep.c.

Referenced by display_one_tib().

const int MAX_TIB64
static
Initial value:
=
sizeof (thread_information_64) / sizeof (uint64_t)
struct thread_information_block_64 thread_information_64

Definition at line 99 of file windows-tdep.c.

Referenced by display_one_tib().

const char* TIB_NAME[]
static
Initial value:
=
{
" current_seh ",
" current_top_of_stack ",
" current_bottom_of_stack ",
" sub_system_tib ",
" fiber_data ",
" arbitrary_data_slot ",
" linear_address_tib ",
" environment_pointer ",
" process_id ",
" current_thread_id ",
" active_rpc_handle ",
" thread_local_storage ",
" process_environment_block ",
" last_error_number "
}

Definition at line 79 of file windows-tdep.c.

Referenced by display_one_tib().

const struct internalvar_funcs tlb_funcs
static
Initial value:
=
{
NULL,
NULL
}
static struct value * tlb_make_value(struct gdbarch *gdbarch, struct internalvar *var, void *ignore)
Definition: windows-tdep.c:279

Definition at line 508 of file windows-tdep.c.

const struct lval_funcs tlb_value_funcs
static
Initial value:
=
{
}
static void tlb_value_read(struct value *val)
Definition: windows-tdep.c:248
static void tlb_value_write(struct value *v, struct value *fromval)
Definition: windows-tdep.c:262

Definition at line 267 of file windows-tdep.c.

int w32_prefix_command_valid = 0
static

Definition at line 474 of file windows-tdep.c.