GDB (xrefs)
Classes | Macros | Enumerations | Functions | Variables
/tmp/gdb-7.10/gdb/go32-nat.c File Reference
#include "defs.h"
#include <fcntl.h>
#include "x86-nat.h"
#include "inferior.h"
#include "infrun.h"
#include "gdbthread.h"
#include "gdb_wait.h"
#include "gdbcore.h"
#include "command.h"
#include "gdbcmd.h"
#include "floatformat.h"
#include "buildsym.h"
#include "i387-tdep.h"
#include "i386-tdep.h"
#include "nat/x86-cpuid.h"
#include "value.h"
#include "regcache.h"
#include "top.h"
#include "cli/cli-utils.h"
#include "inf-child.h"
#include <ctype.h>
#include <unistd.h>
#include <sys/utsname.h>
#include <io.h>
#include <dos.h>
#include <dpmi.h>
#include <go32.h>
#include <sys/farptr.h>
#include <debug/v2load.h>
#include <debug/dbgcom.h>
#include <langinfo.h>

Go to the source code of this file.

Classes

struct  NPXREG
 
struct  NPX
 
struct  cmdline_t
 
struct  seg_descr
 
struct  gate_descr
 
struct  dtr_reg
 

Macros

#define SOME_PID   42
 
#define r_ofs(x)   (offsetof(TSS,x))
 
#define D_REGS   edi.dr
 
#define CONTROL   D_REGS[7]
 
#define STATUS   D_REGS[6]
 

Enumerations

enum  wp_op { wp_insert, wp_remove, wp_count }
 

Functions

static void save_npx (void)
 
static void load_npx (void)
 
void redir_cmdline_delete (cmdline_t *ptr)
 
int redir_cmdline_parse (const char *args, cmdline_t *ptr)
 
int redir_to_child (cmdline_t *ptr)
 
int redir_to_debugger (cmdline_t *ptr)
 
int redir_debug_init (cmdline_t *ptr)
 
static void go32_mourn_inferior (struct target_ops *ops)
 
static void go32_attach (struct target_ops *ops, const char *args, int from_tty)
 
static void go32_resume (struct target_ops *ops, ptid_t ptid, int step, enum gdb_signal siggnal)
 
static ptid_t go32_wait (struct target_ops *ops, ptid_t ptid, struct target_waitstatus *status, int options)
 
static void fetch_register (struct regcache *regcache, int regno)
 
static void go32_fetch_registers (struct target_ops *ops, struct regcache *regcache, int regno)
 
static void store_register (const struct regcache *regcache, int regno)
 
static void go32_store_registers (struct target_ops *ops, struct regcache *regcache, int regno)
 
static int my_write_child (unsigned child_addr, const void *buf, unsigned len)
 
static enum target_xfer_status go32_xfer_memory (gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST memaddr, ULONGEST len, ULONGEST *xfered_len)
 
static enum target_xfer_status go32_xfer_partial (struct target_ops *ops, enum target_object object, const char *annex, gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST offset, ULONGEST len, ULONGEST *xfered_len)
 
static void go32_files_info (struct target_ops *target)
 
static void go32_kill_inferior (struct target_ops *ops)
 
static void go32_create_inferior (struct target_ops *ops, char *exec_file, char *args, char **env, int from_tty)
 
static void go32_set_dr (int i, CORE_ADDR addr)
 
static void go32_set_dr7 (unsigned long val)
 
static unsigned long go32_get_dr6 (void)
 
static unsigned long go32_get_dr7 (void)
 
static CORE_ADDR go32_get_dr (int i)
 
static int device_mode (int fd, int raw_p)
 
static void go32_terminal_init (struct target_ops *self)
 
static void go32_terminal_info (struct target_ops *self, const char *args, int from_tty)
 
static void go32_terminal_inferior (struct target_ops *self)
 
static void go32_terminal_ours (struct target_ops *self)
 
static int go32_thread_alive (struct target_ops *ops, ptid_t ptid)
 
static char * go32_pid_to_str (struct target_ops *ops, ptid_t ptid)
 
static struct target_opsgo32_target (void)
 
static int dos_codepage (void)
 
char * nl_langinfo (nl_item item)
 
static void go32_get_windows_version (void)
 
static void print_mem (unsigned long datum, const char *header, int in_pages_p)
 
static void go32_sysinfo (char *arg, int from_tty)
 
struct seg_descr __attribute__ ((packed))
 
static int read_memory_region (unsigned long addr, void *dest, size_t len)
 
static int get_descriptor (unsigned long table_base, int idx, void *descr)
 
static void display_descriptor (unsigned type, unsigned long base_addr, int idx, int force)
 
static void go32_sldt (char *arg, int from_tty)
 
static void go32_sgdt (char *arg, int from_tty)
 
static void go32_sidt (char *arg, int from_tty)
 
static unsigned long get_cr3 (void)
 
static unsigned long get_pde (int n)
 
static unsigned long get_pte (unsigned long pde, int n)
 
static void display_ptable_entry (unsigned long entry, int is_dir, int force, unsigned off)
 
static void go32_pde (char *arg, int from_tty)
 
static void display_page_table (long n, int force)
 
static void go32_pte (char *arg, int from_tty)
 
static void go32_pte_for_address (char *arg, int from_tty)
 
static void go32_info_dos_command (char *args, int from_tty)
 
void _initialize_go32_nat (void)
 
pid_t tcgetpgrp (int fd)
 
int tcsetpgrp (int fd, pid_t pgid)
 

Variables

static NPX npx
 
static int dr_ref_count [4]
 
static int prog_has_started = 0
 
struct {
   size_t   tss_ofs
 
   size_t   size
 
regno_mapping []
 
struct {
   int   go32_sig
 
   enum gdb_signal   gdb_sig
 
sig_map []
 
struct {
   enum gdb_signal   gdb_sig
 
   int   djgpp_excepno
 
excepn_map []
 
static int resume_is_step
 
static int resume_signal = -1
 
static char child_cwd [FILENAME_MAX]
 
static cmdline_t child_cmd
 
static int inf_mode_valid = 0
 
static int inf_terminal_mode
 
static int terminal_is_ours = 1
 
unsigned short windows_major
 
unsigned short windows_minor
 
unsigned short limit0
 
unsigned short base0
 
unsigned char base1
 
unsigned stype
 
unsigned dpl
 
unsigned present
 
unsigned limit1
 
unsigned available
 
unsigned dummy
 
unsigned bit32
 
unsigned page_granular
 
unsigned char base2
 
unsigned short offset0
 
unsigned short selector
 
unsigned param_count
 
unsigned short offset1
 
struct dtr_reg __attribute__
 
static unsigned long pdbr
 
static struct cmd_list_elementinfo_dos_cmdlist = NULL
 
initialize_file_ftype _initialize_go32_nat
 

Macro Definition Documentation

#define CONTROL   D_REGS[7]

Definition at line 754 of file go32-nat.c.

Referenced by go32_get_dr7(), and go32_set_dr7().

#define D_REGS   edi.dr

Definition at line 753 of file go32-nat.c.

Referenced by go32_get_dr(), and go32_set_dr().

#define r_ofs (   x)    (offsetof(TSS,x))

Definition at line 237 of file go32-nat.c.

#define SOME_PID   42

Definition at line 232 of file go32-nat.c.

Referenced by go32_create_inferior(), go32_wait(), tcgetpgrp(), and tcsetpgrp().

#define STATUS   D_REGS[6]

Definition at line 755 of file go32-nat.c.

Referenced by go32_get_dr6().

Enumeration Type Documentation

enum wp_op
Enumerator
wp_insert 
wp_remove 
wp_count 

Definition at line 227 of file go32-nat.c.

Function Documentation

struct seg_descr __attribute__ ( (packed)  )
void _initialize_go32_nat ( void  )
static int device_mode ( int  fd,
int  raw_p 
)
static

Definition at line 814 of file go32-nat.c.

Referenced by go32_terminal_inferior(), and go32_terminal_ours().

static void display_descriptor ( unsigned  type,
unsigned long  base_addr,
int  idx,
int  force 
)
static
static void display_page_table ( long  n,
int  force 
)
static

Definition at line 1976 of file go32-nat.c.

References display_ptable_entry(), get_pde(), get_pte(), printf_filtered(), and puts_filtered().

Referenced by go32_pte().

static void display_ptable_entry ( unsigned long  entry,
int  is_dir,
int  force,
unsigned  off 
)
static

Definition at line 1921 of file go32-nat.c.

References printf_filtered(), and puts_filtered().

Referenced by display_page_table(), go32_pde(), and go32_pte_for_address().

static int dos_codepage ( void  )
static

Definition at line 980 of file go32-nat.c.

Referenced by nl_langinfo().

static void fetch_register ( struct regcache regcache,
int  regno 
)
static
static unsigned long get_cr3 ( void  )
static

Definition at line 1819 of file go32-nat.c.

References offset, and pdbr.

Referenced by go32_pde(), go32_pte(), and go32_pte_for_address().

static int get_descriptor ( unsigned long  table_base,
int  idx,
void *  descr 
)
static

Definition at line 1503 of file go32-nat.c.

References read_memory_region().

Referenced by display_descriptor(), and go32_sldt().

static unsigned long get_pde ( int  n)
static

Definition at line 1888 of file go32-nat.c.

Referenced by display_page_table(), go32_pde(), and go32_pte_for_address().

static unsigned long get_pte ( unsigned long  pde,
int  n 
)
static

Definition at line 1902 of file go32-nat.c.

Referenced by display_page_table(), and go32_pte_for_address().

static void go32_attach ( struct target_ops ops,
const char *  args,
int  from_tty 
)
static

Definition at line 339 of file go32-nat.c.

References _, and error().

Referenced by go32_target().

static void go32_create_inferior ( struct target_ops ops,
char *  exec_file,
char *  args,
char **  env,
int  from_tty 
)
static
static void go32_fetch_registers ( struct target_ops ops,
struct regcache regcache,
int  regno 
)
static

Definition at line 509 of file go32-nat.c.

References fetch_register(), gdbarch_fp0_regnum(), get_regcache_arch(), and i387_supply_fsave().

Referenced by go32_target().

static void go32_files_info ( struct target_ops target)
static

Definition at line 622 of file go32-nat.c.

References printf_unfiltered().

Referenced by go32_target().

static CORE_ADDR go32_get_dr ( int  i)
static

Definition at line 802 of file go32-nat.c.

References _, D_REGS, and internal_error().

Referenced by _initialize_go32_nat().

static unsigned long go32_get_dr6 ( void  )
static

Definition at line 782 of file go32-nat.c.

References STATUS.

Referenced by _initialize_go32_nat().

static unsigned long go32_get_dr7 ( void  )
static

Definition at line 792 of file go32-nat.c.

References CONTROL.

Referenced by _initialize_go32_nat().

static void go32_get_windows_version ( void  )
static

Definition at line 1023 of file go32-nat.c.

References windows_major, and windows_minor.

static void go32_info_dos_command ( char *  args,
int  from_tty 
)
static

Definition at line 2054 of file go32-nat.c.

References class_info, gdb_stdout, and help_list().

Referenced by _initialize_go32_nat().

static void go32_kill_inferior ( struct target_ops ops)
static

Definition at line 628 of file go32-nat.c.

References go32_mourn_inferior().

Referenced by go32_target().

static void go32_mourn_inferior ( struct target_ops ops)
static
static void go32_pde ( char *  arg,
int  from_tty 
)
static
static char* go32_pid_to_str ( struct target_ops ops,
ptid_t  ptid 
)
static

Definition at line 945 of file go32-nat.c.

References normal_pid_to_str().

Referenced by go32_target().

static void go32_pte ( char *  arg,
int  from_tty 
)
static
static void go32_pte_for_address ( char *  arg,
int  from_tty 
)
static
static void go32_resume ( struct target_ops ops,
ptid_t  ptid,
int  step,
enum gdb_signal  siggnal 
)
static

Definition at line 350 of file go32-nat.c.

References excepn_map, gdb_sig, gdb_signal_to_name(), printf_unfiltered(), resume_is_step, and resume_signal.

Referenced by go32_target().

static void go32_set_dr ( int  i,
CORE_ADDR  addr 
)
static

Definition at line 761 of file go32-nat.c.

References _, D_REGS, and internal_error().

Referenced by _initialize_go32_nat().

static void go32_set_dr7 ( unsigned long  val)
static

Definition at line 773 of file go32-nat.c.

References CONTROL.

Referenced by _initialize_go32_nat().

static void go32_sgdt ( char *  arg,
int  from_tty 
)
static

Definition at line 1732 of file go32-nat.c.

References _, display_descriptor(), error(), L, parse_and_eval_long(), and skip_spaces().

Referenced by _initialize_go32_nat().

static void go32_sidt ( char *  arg,
int  from_tty 
)
static

Definition at line 1773 of file go32-nat.c.

References _, display_descriptor(), error(), L, parse_and_eval_long(), and skip_spaces().

Referenced by _initialize_go32_nat().

static void go32_sldt ( char *  arg,
int  from_tty 
)
static
static void go32_store_registers ( struct target_ops ops,
struct regcache regcache,
int  regno 
)
static

Definition at line 540 of file go32-nat.c.

References gdbarch_fp0_regnum(), get_regcache_arch(), i387_collect_fsave(), and store_register().

Referenced by go32_target().

static void go32_sysinfo ( char *  arg,
int  from_tty 
)
static

Definition at line 1062 of file go32-nat.c.

Referenced by _initialize_go32_nat().

static struct target_ops* go32_target ( void  )
static
static void go32_terminal_inferior ( struct target_ops self)
static
static void go32_terminal_info ( struct target_ops self,
const char *  args,
int  from_tty 
)
static

Definition at line 861 of file go32-nat.c.

References inf_mode_valid, inf_terminal_mode, and printf_unfiltered().

Referenced by go32_target().

static void go32_terminal_init ( struct target_ops self)
static

Definition at line 854 of file go32-nat.c.

References inf_mode_valid, and terminal_is_ours.

Referenced by go32_target().

static void go32_terminal_ours ( struct target_ops self)
static
static int go32_thread_alive ( struct target_ops ops,
ptid_t  ptid 
)
static

Definition at line 939 of file go32-nat.c.

References inferior_ptid, null_ptid, and ptid_equal().

Referenced by go32_target().

static ptid_t go32_wait ( struct target_ops ops,
ptid_t  ptid,
struct target_waitstatus status,
int  options 
)
static
static enum target_xfer_status go32_xfer_memory ( gdb_byte readbuf,
const gdb_byte writebuf,
ULONGEST  memaddr,
ULONGEST  len,
ULONGEST xfered_len 
)
static

Definition at line 580 of file go32-nat.c.

References len, my_write_child(), TARGET_XFER_E_IO, and TARGET_XFER_OK.

Referenced by go32_xfer_partial().

static enum target_xfer_status go32_xfer_partial ( struct target_ops ops,
enum target_object  object,
const char *  annex,
gdb_byte readbuf,
const gdb_byte writebuf,
ULONGEST  offset,
ULONGEST  len,
ULONGEST xfered_len 
)
static
static void load_npx ( void  )
static

Definition at line 185 of file go32-nat.c.

References npx.

Referenced by go32_wait().

static int my_write_child ( unsigned  child_addr,
const void *  buf,
unsigned  len 
)
static

Definition at line 559 of file go32-nat.c.

References len, and xrealloc().

Referenced by go32_xfer_memory().

char* nl_langinfo ( nl_item  item)

Definition at line 994 of file go32-nat.c.

References CODESET, and dos_codepage().

Referenced by _initialize_charset().

static void print_mem ( unsigned long  datum,
const char *  header,
int  in_pages_p 
)
static

Definition at line 1041 of file go32-nat.c.

References printf_filtered(), and puts_filtered().

static int read_memory_region ( unsigned long  addr,
void *  dest,
size_t  len 
)
static

Definition at line 1446 of file go32-nat.c.

Referenced by get_descriptor().

void redir_cmdline_delete ( cmdline_t ptr)

Definition at line 197 of file go32-nat.c.

References cmdline_t::redirected.

Referenced by go32_mourn_inferior().

int redir_cmdline_parse ( const char *  args,
cmdline_t ptr 
)

Definition at line 203 of file go32-nat.c.

Referenced by go32_create_inferior().

int redir_debug_init ( cmdline_t ptr)

Definition at line 221 of file go32-nat.c.

Referenced by _initialize_go32_nat(), and go32_create_inferior().

int redir_to_child ( cmdline_t ptr)

Definition at line 209 of file go32-nat.c.

Referenced by go32_terminal_inferior(), and go32_terminal_ours().

int redir_to_debugger ( cmdline_t ptr)

Definition at line 215 of file go32-nat.c.

Referenced by go32_terminal_inferior(), and go32_terminal_ours().

static void save_npx ( void  )
static

Definition at line 160 of file go32-nat.c.

References npx.

Referenced by go32_create_inferior(), and go32_wait().

static void store_register ( const struct regcache regcache,
int  regno 
)
static
pid_t tcgetpgrp ( int  fd)

Definition at line 2131 of file go32-nat.c.

References SOME_PID.

Referenced by gdb_getpgrp().

int tcsetpgrp ( int  fd,
pid_t  pgid 
)

Definition at line 2140 of file go32-nat.c.

References SOME_PID.

Referenced by child_terminal_inferior(), and child_terminal_ours_1().

Variable Documentation

char *UP __attribute__
initialize_file_ftype _initialize_go32_nat
unsigned available
unsigned short base0

Definition at line 1064 of file go32-nat.c.

unsigned char base1

Definition at line 1065 of file go32-nat.c.

unsigned char base2

Definition at line 1074 of file go32-nat.c.

unsigned bit32

Definition at line 1072 of file go32-nat.c.

cmdline_t child_cmd
static

Definition at line 619 of file go32-nat.c.

char child_cwd[FILENAME_MAX]
static

Definition at line 372 of file go32-nat.c.

Referenced by _initialize_go32_nat(), go32_create_inferior(), and go32_wait().

int djgpp_excepno

Definition at line 320 of file go32-nat.c.

unsigned dpl

Definition at line 1067 of file go32-nat.c.

int dr_ref_count[4]
static
unsigned dummy
struct { ... } excepn_map[]
Initial value:
= {
{GDB_SIGNAL_0, -1},
{GDB_SIGNAL_ILL, 6},
{GDB_SIGNAL_EMT, 7},
{GDB_SIGNAL_SEGV, 13},
{GDB_SIGNAL_BUS, 17},
{GDB_SIGNAL_TERM, 0x1b},
{GDB_SIGNAL_FPE, 0x75},
{GDB_SIGNAL_INT, 0x79},
{GDB_SIGNAL_QUIT, 0x7a},
{GDB_SIGNAL_ALRM, 0x78},
{GDB_SIGNAL_PROF, 0x78},
{GDB_SIGNAL_LAST, -1}
}

Referenced by go32_resume().

enum gdb_signal gdb_sig

Definition at line 285 of file go32-nat.c.

Referenced by go32_resume().

int go32_sig

Definition at line 284 of file go32-nat.c.

int inf_mode_valid = 0
static
int inf_terminal_mode
static

Definition at line 845 of file go32-nat.c.

Referenced by go32_terminal_inferior(), go32_terminal_info(), and go32_terminal_ours().

struct cmd_list_element* info_dos_cmdlist = NULL
static

Definition at line 2051 of file go32-nat.c.

unsigned short limit0

Definition at line 1063 of file go32-nat.c.

unsigned limit1

Definition at line 1069 of file go32-nat.c.

NPX npx
static

Definition at line 150 of file go32-nat.c.

Referenced by load_npx(), and save_npx().

unsigned short offset0

Definition at line 1063 of file go32-nat.c.

unsigned short offset1

Definition at line 1070 of file go32-nat.c.

Referenced by find_first_range_overlap_and_match(), and i386_mpx_get_bt_entry().

unsigned page_granular

Definition at line 1073 of file go32-nat.c.

unsigned param_count

Definition at line 1065 of file go32-nat.c.

unsigned long pdbr
static

Definition at line 1816 of file go32-nat.c.

Referenced by get_cr3().

unsigned present

Definition at line 1068 of file go32-nat.c.

int prog_has_started = 0
static
struct { ... } regno_mapping[]

Referenced by fetch_register(), and store_register().

int resume_is_step
static

Definition at line 346 of file go32-nat.c.

Referenced by go32_create_inferior(), go32_mourn_inferior(), go32_resume(), and go32_wait().

int resume_signal = -1
static
unsigned short selector
struct { ... } sig_map[]
Initial value:
=
{
{0, GDB_SIGNAL_FPE},
{1, GDB_SIGNAL_TRAP},
{2, GDB_SIGNAL_BUS},
{3, GDB_SIGNAL_TRAP},
{4, GDB_SIGNAL_FPE},
{5, GDB_SIGNAL_SEGV},
{6, GDB_SIGNAL_ILL},
{7, GDB_SIGNAL_EMT},
{8, GDB_SIGNAL_SEGV},
{9, GDB_SIGNAL_SEGV},
{10, GDB_SIGNAL_BUS},
{11, GDB_SIGNAL_SEGV},
{12, GDB_SIGNAL_SEGV},
{13, GDB_SIGNAL_SEGV},
{14, GDB_SIGNAL_SEGV},
{16, GDB_SIGNAL_FPE},
{17, GDB_SIGNAL_BUS},
{31, GDB_SIGNAL_ILL},
{0x1b, GDB_SIGNAL_INT},
{0x75, GDB_SIGNAL_FPE},
{0x78, GDB_SIGNAL_ALRM},
{0x79, GDB_SIGNAL_INT},
{0x7a, GDB_SIGNAL_QUIT},
{-1, GDB_SIGNAL_LAST}
}

Referenced by go32_wait().

size_t size

Definition at line 242 of file go32-nat.c.

Referenced by ada_to_fixed_type_1(), add_component_interval(), add_piece(), alloc_section_addr_info(), arm_displaced_init_closure(), arm_obj_section_from_vma(), ax_const_l(), bad_GetConsoleFontSize(), bfd_open_from_target_memory(), bfd_uses_spe_extensions(), btrace_call_history_insn_range(), btrace_compute_ftrace_bts(), btrace_data_append(), buffer_grow(), build_id_to_debug_bfd(), catcher_list_size(), cmd_record_call_history(), cmd_record_insn_history(), command_size_to_target_size(), compare_sections_command(), complete_command(), complete_symtab(), compute_enum_list(), compute_enum_values(), compute_python_string(), core_xfer_partial(), cp_lookup_nested_symbol(), create_dwo_unit_in_dwp_v2(), create_dwp_v2_section(), ctf_save_write(), darwin_debug_regions(), darwin_dump_message(), debug_print_register(), decode_locdesc(), display_one_tib(), do_compile_dwarf_expr_to_c(), do_examine(), dtrace_process_dof(), dwarf2_add_member_fn(), dwarf2_compile_expr_to_ax(), dwarf2_compile_property_to_c(), dwarf2_evaluate_property(), dwarf2_fetch_die_loc_sect_off(), dwarf2_frame_state_alloc_regs(), dwarf2_frame_state_copy_regs(), dwarf_alloc_die(), dwarf_entry_parameter_to_value(), dwarf_expr_push_dwarf_reg_entry_value(), exec_read_partial_read_only(), execute_cfa_program(), execute_stack_op(), fbsd_find_memory_regions(), finalize_symtab(), find_linenos(), find_mapping_size(), find_source_lines(), fputsn_filtered(), frame_unwind_register_signed(), frame_unwind_register_unsigned(), gcore_copy_callback(), gdbscm_arch_disassemble(), gdbscm_memory_port_write(), gdbscm_open_memory(), get_core_register_section(), get_data_from_address(), get_image_name(), get_memory_read_packet_size(), get_prev_frame_always(), gnuv3_make_method_ptr(), handle_inc_and_index_mode_for_aritm_op(), handle_stap_probe(), hppa_frame_prev_register_helper(), i386_linux_core_read_xcr0(), i386_mpx_print_bounds(), i386_pseudo_register_read_into_value(), i386_pseudo_register_write(), i386_stap_parse_special_token_three_arg_disp(), i386fbsd_core_read_xcr0(), ia64_linux_fetch_register(), ia64_linux_store_register(), inf_ptrace_fetch_register(), inf_ptrace_store_register(), init_lineno(), install_load_store(), ioscm_init_stdio_buffers(), iq2000_extract_return_value(), iq2000_store_return_value(), jit_unwind_reg_get_impl(), linux_mntns_access_fs(), linux_mntns_open_cloexec(), linux_mntns_readlink(), linux_mntns_unlink(), linux_spu_make_corefile_notes(), linux_xfer_osdata_modules(), linux_xfer_osdata_shm(), list_overlays_command(), load_section_callback(), load_srec(), locexpr_describe_location_1(), loclist_generate_c_location(), loclist_read_variable(), loclist_read_variable_at_entry(), loclist_tracepoint_var_ref(), lzma_open(), m32c_analyze_prologue(), m32c_decode_sd23(), m32c_decode_srcdest4(), m68hc11_scan_prologue(), maint_btrace_packet_history_cmd(), mark_common_block_symbol_computed(), mep_analyze_prologue(), mep_pseudo_csr_write(), mep_register_type(), mips_breakpoint_from_pc(), mips_remote_breakpoint_from_pc(), mips_single_step_through_delay(), mnsh_main(), mnsh_recv_fd(), mnsh_recv_int(), mnsh_recv_intstr(), mnsh_recv_message(), mnsh_send_message(), msp430_analyze_prologue(), msp430_push_dummy_call(), msp430_return_value(), munmap_list_add(), new_bvect(), new_linetable(), objfile_find_memory_regions(), parse_find_args(), parse_xml_btrace_conf_bts(), parse_xml_btrace_conf_pt(), parse_xml_raw(), pc_in_unmapped_range(), ppc_process_record(), ppc_process_record_op31(), proc_get_traced_sysentry(), proc_get_traced_sysexit(), procfs_breakpoint(), procfs_meminfo(), psymtab_to_symtab_1(), pv_area_store(), read_base_type(), read_call_site_scope(), read_common_block(), read_frame_register_unsigned(), record_btrace_adjust_size(), record_btrace_print_bts_conf(), record_btrace_print_pt_conf(), record_linux_system_call(), regcache_raw_collect(), regcache_raw_supply(), register_size(), remote_get_tracepoint_status(), remote_query_attached(), remote_trace_set_readonly_regions(), restore_section_callback(), s390_prologue_frame_unwind_cache(), sdata_make_value(), set_memory_packet_size(), set_process_privilege(), simple_overlay_update(), simple_overlay_update_1(), spu_current_sos(), spu_get_overlay_table(), syms_from_objfile_1(), sysset_t_alloc(), tdesc_create_flags(), tdesc_set_struct_size(), tdesc_start_struct(), thumb2_copy_load_literal(), tui_readline_output(), var_decode_location(), x86_handle_nonaligned_watchpoint(), xcoff_initial_scan(), xstormy16_push_dummy_call(), xtensa_push_dummy_call(), xtensa_register_read_masked(), xtensa_register_type(), and xtensa_register_write_masked().

unsigned stype

Definition at line 1066 of file go32-nat.c.

Referenced by execute_stack_op().

int terminal_is_ours = 1
static

Definition at line 851 of file go32-nat.c.

Referenced by go32_terminal_inferior(), go32_terminal_init(), and go32_terminal_ours().

size_t tss_ofs

Definition at line 241 of file go32-nat.c.

Referenced by fetch_register(), and store_register().

unsigned short windows_major

Definition at line 1019 of file go32-nat.c.

Referenced by go32_get_windows_version().

unsigned short windows_minor

Definition at line 1019 of file go32-nat.c.

Referenced by go32_get_windows_version().