GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Macros | Enumerations | Functions | Variables
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 "gdbsupport/gdb_wait.h"
#include "gdbcore.h"
#include "command.h"
#include "gdbcmd.h"
#include "floatformat.h"
#include "buildsym-legacy.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  go32_nat_target
 
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 fetch_register (struct regcache *regcache, int regno)
 
static void store_register (const 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 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 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 (const 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 (const char *arg, int from_tty)
 
static void go32_sgdt (const char *arg, int from_tty)
 
static void go32_sidt (const 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 (const char *arg, int from_tty)
 
static void display_page_table (long n, int force)
 
static void go32_pte (const char *arg, int from_tty)
 
static void go32_pte_for_address (const char *arg, int from_tty)
 
void _initialize_go32_nat ()
 
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 go32_nat_target the_go32_nat_target
 
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
 

Macro Definition Documentation

◆ CONTROL

#define CONTROL   D_REGS[7]

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

Referenced by go32_get_dr7(), and go32_set_dr7().

◆ D_REGS

#define D_REGS   edi.dr

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

Referenced by go32_get_dr(), and go32_set_dr().

◆ r_ofs

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

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

◆ SOME_PID

#define SOME_PID   42

◆ STATUS

#define STATUS   D_REGS[6]

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

Referenced by go32_get_dr6().

Enumeration Type Documentation

◆ wp_op

enum wp_op
Enumerator
wp_insert 
wp_remove 
wp_count 

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

Function Documentation

◆ __attribute__()

struct seg_descr __attribute__ ( (packed) )

◆ _initialize_go32_nat()

void _initialize_go32_nat ( )

◆ device_mode()

static int device_mode ( int fd,
int raw_p )
static

◆ display_descriptor()

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

◆ display_page_table()

static void display_page_table ( long n,
int force )
static

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

References display_ptable_entry(), gdb_printf(), gdb_puts(), get_pde(), and get_pte().

Referenced by go32_pte().

◆ display_ptable_entry()

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

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

References gdb_printf(), and gdb_puts().

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

◆ dos_codepage()

static int dos_codepage ( void )
static

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

Referenced by nl_langinfo().

◆ fetch_register()

static void fetch_register ( struct regcache * regcache,
int regno )
static

◆ get_cr3()

static unsigned long get_cr3 ( void )
static

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

References pdbr.

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

◆ get_descriptor()

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

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

References read_memory_region().

Referenced by display_descriptor(), and go32_sldt().

◆ get_pde()

static unsigned long get_pde ( int n)
static

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

References pdbr.

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

◆ get_pte()

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

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

Referenced by display_page_table(), and go32_pte_for_address().

◆ go32_get_dr()

static CORE_ADDR go32_get_dr ( int i)
static

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

References D_REGS.

Referenced by _initialize_go32_nat().

◆ go32_get_dr6()

static unsigned long go32_get_dr6 ( void )
static

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

References STATUS.

Referenced by _initialize_go32_nat().

◆ go32_get_dr7()

static unsigned long go32_get_dr7 ( void )
static

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

References CONTROL.

Referenced by _initialize_go32_nat().

◆ go32_get_windows_version()

static void go32_get_windows_version ( void )
static

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

References windows_major, and windows_minor.

Referenced by __attribute__().

◆ go32_pde()

static void go32_pde ( const char * arg,
int from_tty )
static

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

References display_ptable_entry(), gdb_puts(), get_cr3(), get_pde(), parse_and_eval_long(), and pdbr.

Referenced by _initialize_go32_nat().

◆ go32_pte()

static void go32_pte ( const char * arg,
int from_tty )
static

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

References display_page_table(), gdb_puts(), get_cr3(), parse_and_eval_long(), and pdbr.

Referenced by _initialize_go32_nat().

◆ go32_pte_for_address()

static void go32_pte_for_address ( const char * arg,
int from_tty )
static

◆ go32_set_dr()

static void go32_set_dr ( int i,
CORE_ADDR addr )
static

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

References D_REGS.

Referenced by _initialize_go32_nat().

◆ go32_set_dr7()

static void go32_set_dr7 ( unsigned long val)
static

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

References CONTROL.

Referenced by _initialize_go32_nat().

◆ go32_sgdt()

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

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

References display_descriptor(), and parse_and_eval_long().

Referenced by _initialize_go32_nat().

◆ go32_sidt()

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

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

References display_descriptor(), and parse_and_eval_long().

Referenced by _initialize_go32_nat().

◆ go32_sldt()

static void go32_sldt ( const char * arg,
int from_tty )
static

◆ go32_sysinfo()

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

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

Referenced by _initialize_go32_nat().

◆ go32_xfer_memory()

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 617 of file go32-nat.c.

References my_write_child(), TARGET_XFER_E_IO, and TARGET_XFER_OK.

Referenced by go32_nat_target::xfer_partial().

◆ load_npx()

static void load_npx ( void )
static

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

References npx.

Referenced by go32_nat_target::wait().

◆ my_write_child()

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

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

References xrealloc().

Referenced by go32_xfer_memory().

◆ nl_langinfo()

char * nl_langinfo ( nl_item item)

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

References CODESET, and dos_codepage().

◆ print_mem()

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

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

References gdb_printf(), and gdb_puts().

Referenced by __attribute__().

◆ read_memory_region()

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

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

Referenced by get_descriptor().

◆ redir_cmdline_delete()

void redir_cmdline_delete ( cmdline_t * ptr)

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

References cmdline_t::redirected.

Referenced by go32_nat_target::mourn_inferior().

◆ redir_cmdline_parse()

int redir_cmdline_parse ( const char * args,
cmdline_t * ptr )

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

Referenced by go32_nat_target::create_inferior().

◆ redir_debug_init()

int redir_debug_init ( cmdline_t * ptr)

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

Referenced by _initialize_go32_nat(), and go32_nat_target::create_inferior().

◆ redir_to_child()

int redir_to_child ( cmdline_t * ptr)

◆ redir_to_debugger()

int redir_to_debugger ( cmdline_t * ptr)

◆ save_npx()

static void save_npx ( void )
static

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

References npx.

Referenced by go32_nat_target::create_inferior(), and go32_nat_target::wait().

◆ store_register()

static void store_register ( const struct regcache * regcache,
int regno )
static

◆ tcgetpgrp()

pid_t tcgetpgrp ( int fd)

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

References SOME_PID.

Referenced by child_pass_ctrlc(), child_terminal_save_inferior(), and set_initial_gdb_ttystate().

◆ tcsetpgrp()

int tcsetpgrp ( int fd,
pid_t pgid )

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

References SOME_PID.

Referenced by child_terminal_inferior(), and child_terminal_ours_1().

Variable Documentation

◆ __attribute__

struct dtr_reg __attribute__

◆ available

unsigned available

◆ base0

unsigned short base0

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

Referenced by processInt().

◆ base1

unsigned char base1

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

◆ base2

unsigned char base2

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

◆ bit32

unsigned bit32

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

◆ child_cmd

cmdline_t child_cmd
static

◆ child_cwd

char child_cwd[FILENAME_MAX]
static

◆ djgpp_excepno

int djgpp_excepno

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

◆ dpl

unsigned dpl

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

◆ dr_ref_count

int dr_ref_count[4]
static

◆ dummy

unsigned dummy

◆ [struct]

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_nat_target::resume().

◆ gdb_sig

enum gdb_signal gdb_sig

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

Referenced by go32_nat_target::resume(), and go32_nat_target::wait().

◆ go32_sig

int go32_sig

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

◆ inf_mode_valid

int inf_mode_valid = 0
static

◆ inf_terminal_mode

int inf_terminal_mode
static

◆ info_dos_cmdlist

struct cmd_list_element* info_dos_cmdlist = NULL
static

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

Referenced by _initialize_go32_nat().

◆ limit0

unsigned short limit0

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

◆ limit1

unsigned limit1

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

◆ npx

NPX npx
static

◆ offset0

unsigned short offset0

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

◆ offset1

unsigned short offset1

◆ page_granular

unsigned page_granular

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

◆ param_count

unsigned param_count

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

◆ pdbr

unsigned long pdbr
static

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

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

◆ present

unsigned present

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

◆ prog_has_started

int prog_has_started = 0
static

◆ [struct]

struct { ... } regno_mapping[]

Referenced by fetch_register(), and store_register().

◆ resume_is_step

int resume_is_step
static

◆ resume_signal

int resume_signal = -1
static

◆ selector

unsigned short selector

◆ [struct]

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_nat_target::wait().

◆ size

size_t size

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

Referenced by aarch64_analyze_prologue(), aarch64_emit_load_store(), aarch64_fbsd_collect_tls_regset(), aarch64_fbsd_supply_tls_regset(), aarch64_linux_collect_ssve_regset(), aarch64_linux_collect_sve_regset(), aarch64_linux_collect_za_regset(), aarch64_linux_collect_zt_regset(), aarch64_linux_core_read_description(), aarch64_linux_core_read_vq(), aarch64_linux_create_memtag_section(), aarch64_linux_read_signal_frame_info(), aarch64_linux_restore_vregs(), aarch64_linux_supply_ssve_regset(), aarch64_linux_supply_sve_regset(), aarch64_linux_supply_za_regset(), aarch64_linux_supply_zt_regset(), aarch64_maybe_swab128(), ada_to_fixed_type_1(), munmap_list::add(), add_component_interval(), dwarf_expr_context::add_piece(), adi_read_versions(), adi_write_versions(), type::alloc_fields(), die_info::allocate(), tui_layout_split::apply(), arc_is_in_prologue(), arc_linux_sw_breakpoint_from_kind(), arc_sw_breakpoint_from_kind(), archpy_integer_type(), arm_copy_ldr_str_ldrb_strb(), arm_displaced_init_closure(), arm_dwarf2_prev_register(), arm_fbsd_collect_tls_regset(), arm_fbsd_supply_tls_regset(), arm_obj_section_from_vma(), arm_sw_breakpoint_from_kind(), ax_const_l(), windows_nat::bad_GetConsoleFontSize(), bfd_uses_spe_extensions(), bfin_sw_breakpoint_from_kind(), bp_manipulation< bp_size, break_insn >::bp_from_kind(), bp_manipulation_endian< bp_size, break_insn_little, break_insn_big >::bp_from_kind(), bpf_sw_breakpoint_from_kind(), btrace_call_history_insn_range(), btrace_compute_ftrace_bts(), build_id_to_bfd_suffix(), c_get_mode_for_size(), record_btrace_target::call_history(), record_btrace_target::call_history_from(), check_for_saved(), check_for_saved(), check_for_saved(), check_for_saved(), check_for_saved(), check_for_saved(), cmd_record_call_history(), cmd_record_insn_history(), collect_inactive_sve_regset(), regcache::collect_regset(), regcache::collect_regset(), collect_sve_regset(), command_size_to_target_size(), compare_sections_command(), complete_symtab(), compute_enum_list(), compute_enum_values(), compute_variant_fields_inner(), type::copy_fields(), type::copy_fields(), cp_lookup_nested_symbol(), create_dwo_unit_in_dwp_v2(), create_dwo_unit_in_dwp_v5(), create_dwp_v2_or_v5_section(), windows_nat::create_process_wrapper(), cris_sw_breakpoint_from_kind(), csky_sw_breakpoint_from_kind(), ctf_save_align_write(), ctf_save_write(), ctf_write_frame_r_block(), ctf_write_regblock_type(), d_lookup_nested_symbol(), darwin_debug_regions(), darwin_dump_message(), regcache::debug_print_register(), decode_locdesc(), default_verify_memory(), display_one_tib(), do_compile_dwarf_expr_to_c(), do_examine(), dump_insns(), register_dump_regcache::dump_reg(), register_dump_reg_buffer::dump_reg(), dwarf2_compile_expr_to_ax(), dwarf2_compile_property_to_c(), dwarf2_evaluate_loc_desc(), dwarf2_evaluate_loc_desc_full(), dwarf2_evaluate_property(), dwarf2_fetch_die_loc_sect_off(), dwarf2_frame_allocate_fn_data(), dwarf_entry_parameter_to_value(), encoding_for_size(), source_cache::ensure(), exec_read_partial_read_only(), dwarf_expr_context::execute_stack_op(), fbsd_core_thread_name(), pv_area::fetch(), linux_nat_trad_target::fetch_register(), fbsd_nat_target::fetch_register_set(), fbsd_nat_target::fetch_regset(), file_write(), finalize_symtab(), find_linenos(), find_linenos(), fbsd_nat_target::find_memory_regions(), nbsd_nat_target::find_memory_regions(), fputsn_filtered(), frame_obstack_zalloc(), frame_unwind_register_unsigned(), gcore_copy_callback(), gcore_create_callback(), gcore_create_memtag_section_callback(), gdb_bfd_map_section(), gdb_bfd_open_from_target_memory(), gdbarch_create_memtag_section(), gdbarch_infcall_mmap(), gdbarch_infcall_munmap(), gdbarch_sw_breakpoint_from_kind(), gdbscm_arch_disassemble(), gdbscm_get_natural_buffer_sizes(), gdbscm_make_smob_type(), gdbscm_open_memory(), gdbscm_set_memory_port_read_buffer_size_x(), gdbscm_set_memory_port_write_buffer_size_x(), get_core_array_size_using_sys_possible(), core_target::get_core_register_section(), get_data_from_address(), windows_nat::get_image_name(), remote_target::get_memory_read_packet_size(), get_mpz(), get_prev_frame_always(), remote_target::get_tracepoint_status(), gmp_string_printf(), gnuv3_make_method_ptr(), handle_inc_and_index_mode_for_aritm_op(), handle_stap_probe(), hppa_frame_prev_register_helper(), i386_fbsd_core_read_xsave_info(), i386_linux_core_read_xsave_info(), i386_mpx_print_bounds(), i386_pseudo_register_read_into_value(), i386_pseudo_register_write(), i386_record_push(), i386_stap_parse_special_token_three_arg_disp(), ia64_linux_fetch_register(), ia64_linux_store_register(), init_lineno(), record_btrace_target::insn_history(), record_btrace_target::insn_history_from(), install_load_store(), internalize_unwinds(), iq2000_extract_return_value(), iq2000_store_return_value(), iq2000_sw_breakpoint_from_kind(), jit_unwind_reg_get_impl(), lex_multibyte_char(), linux_find_memory_regions_thunk(), linux_infcall_mmap(), linux_infcall_munmap(), linux_make_mappings_callback(), linux_make_mappings_corefile_notes(), linux_mntns_access_fs(), linux_mntns_open_cloexec(), linux_mntns_readlink(), linux_mntns_unlink(), linux_xfer_osdata_modules(), linux_xfer_osdata_shm(), list_overlays_command(), load_one_section(), dwarf2_per_bfd::locate_sections(), locexpr_describe_location_1(), loclist_generate_c_location(), loclist_read_variable(), loclist_read_variable_at_entry(), loclist_tracepoint_var_ref(), lookup_minimal_symbol_by_pc_section(), m32c_analyze_prologue(), m32c_decode_sd23(), m32c_decode_srcdest4(), m32c_pv_enter(), m32c_pv_push(), m32c_pv_pushm_one(), m32c_srcdest_fetch(), m32c_srcdest_store(), m32r_sw_breakpoint_from_kind(), m68hc11_scan_prologue(), macro_alloc(), maint_btrace_packet_history_cmd(), maintenance_check_xml_descriptions(), malloc_failure(), max_of_size(), mdebug_expand_psymtab(), mdict_size(), mep_analyze_prologue(), mep_pseudo_csr_write(), mep_register_type(), micromips_insn_at_pc_has_delay_slot(), min_of_size(), mips_single_step_through_delay(), mips_sw_breakpoint_from_kind(), 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(), nbsd_kinfo_get_vmmap(), nbsd_pid_to_cmdline(), nbsd_pid_to_kinfo_proc2(), netbsd_nat::netbsd_thread_lister(), new_bvect(), new_linetable(), nios2_sw_breakpoint_from_kind(), objfile_find_memory_regions(), pv_area::overlaps(), pad_to_column(), parse_find_args(), pc_in_unmapped_range(), ppc_process_record(), ppc_process_record_op31(), ppc_process_record_op61(), ppc_process_record_prefix_store(), ppc_process_record_prefix_store_vsx_ds_form(), ppc_process_record_prefix_vsx_d_form(), gdb_pretty_print_disassembler::pretty_print_insn(), print_formatted(), print_scalar_formatted(), print_thread_info_1(), process_autoincrement(), procfs_breakpoint(), procfs_meminfo(), ps_pdread(), ps_pdwrite(), ps_ptread(), ps_ptwrite(), dwarf_expr_context::push_dwarf_reg_entry_value(), pv_is_array_ref(), reg_buffer::raw_collect(), reg_buffer::raw_compare(), reg_buffer::raw_supply(), reg_buffer::raw_supply_zeroed(), abbrev_table::read(), read_aarch64_ctx(), read_common_block(), read_frame_register_unsigned(), read_target_long_array(), read_target_long_array(), recognize_bound_expression(), record_btrace_adjust_size(), record_btrace_print_bts_conf(), record_btrace_print_pt_conf(), record_linux_system_call(), regcache_collect_regset(), regcache_map_entry_size(), regcache_map_supplies(), regcache_supply_regset(), register_size(), remote_target::remote_query_attached(), remote_target::remote_send_printf(), remove_irrelevant_renamings(), restore_one_section(), riscv_print_one_register_info(), riscv_sw_breakpoint_from_kind(), riscv_update_csrmap(), rocm_bfd_iovec_open(), selftests::search_memory_tests::run_tests(), selftests::string_view::run_tests(), rw_common(), s390_check_for_saved(), s390_load(), s390_prologue_frame_unwind_cache(), s390_store(), set_memory_packet_size(), set_process_privilege(), sh_sw_breakpoint_from_kind(), simple_verify_memory(), solib_keep_data_in_core(), sparc_execute_dwarf_cfa_vendor_op(), pv_area::store(), ravenscar_arch_ops::store_one_register(), linux_nat_trad_target::store_register(), fbsd_nat_target::store_register_set(), fbsd_nat_target::store_regset(), ravenscar_arch_ops::supply_one_register(), regcache::supply_regset(), regcache::supply_regset(), supply_sve_regset(), svr4_find_and_create_probe_breakpoints(), svr4_keep_data_in_core(), symbol_cache_byte_size(), symbol_file_add_from_memory(), target_call_history(), target_call_history_from(), target_debug_print_size_t(), target_insn_history(), target_insn_history_from(), target_verify_memory(), inserters_2::test05(), test05(), tfile_read(), tfile_write_regblock_type(), remote_target::thread_events(), thumb2_copy_load_literal(), tic6x_sw_breakpoint_from_kind(), mpfr_float_ops::to_string(), remote_target::trace_set_readonly_regions(), trad_frame_set_reg_regmap(), regcache::transfer_regset(), tui_layout_split::tui_debug_print_size_info(), umax_of_size(), v850_sw_breakpoint_from_kind(), value_print_scalar_formatted(), remote_target::verify_memory(), windows_fetch_one_register(), x86_handle_nonaligned_watchpoint(), xcalloc(), xcoff_initial_scan(), core_target::xfer_partial(), xmalloc(), xmalloc_failed(), xrealloc(), xstormy16_push_dummy_call(), xtensa_push_dummy_call(), xtensa_register_read_masked(), xtensa_register_type(), xtensa_register_write_masked(), xtensa_sw_breakpoint_from_kind(), z80_get_insn_info(), z80_insn_is_call(), z80_insn_is_jump(), z80_insn_is_ret(), z80_is_pop_rr(), z80_is_push_rr(), z80_scan_prologue(), z80_software_single_step(), and z80_sw_breakpoint_from_kind().

◆ stype

unsigned stype

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

Referenced by dwarf_expr_context::execute_stack_op(), and handle_psymbol_enumerators().

◆ terminal_is_ours

int terminal_is_ours = 1
static

◆ the_go32_nat_target

go32_nat_target the_go32_nat_target
static

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

Referenced by _initialize_go32_nat().

◆ tss_ofs

size_t tss_ofs

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

Referenced by fetch_register(), and store_register().

◆ windows_major

unsigned short windows_major

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

Referenced by __attribute__(), and go32_get_windows_version().

◆ windows_minor

unsigned short windows_minor

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

Referenced by __attribute__(), and go32_get_windows_version().