GDB (xrefs)
Classes | Typedefs | Functions | Variables
/home/stan/gdb/src/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"

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 struct lval_funcs tlb_value_funcs
static int w32_prefix_command_valid = 0
initialize_file_ftype _initialize_windows_tdep
static 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 468 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 460 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, read]
static void tlb_value_read ( struct value val) [static]
static void tlb_value_write ( struct value v,
struct value fromval 
) [static]

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

References _, and error().

static struct type* windows_get_tlb_type ( struct gdbarch gdbarch) [static, read]
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 434 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

Referenced by initialize_all_files().

const int FULL_TIB_SIZE = 0x1000 [static]

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

Referenced by display_one_tib().

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

Referenced by _initialize_windows_nat().

int maint_display_all_tib = 0 [static]

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

const int MAX_TIB32 [static]
Initial value:
  sizeof (thread_information_32) / sizeof (uint32_t)

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

Referenced by display_one_tib().

const int MAX_TIB64 [static]
Initial value:
  sizeof (thread_information_64) / sizeof (uint64_t)

Definition at line 98 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 78 of file windows-tdep.c.

Referenced by display_one_tib().

struct internalvar_funcs tlb_funcs [static]
Initial value:
{
  tlb_make_value,
  NULL,
  NULL
}

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

struct lval_funcs tlb_value_funcs [static]
Initial value:

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

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

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines