GDB (API)
Defines | Enumerations | Functions | Variables
/home/stan/gdb/src/gdb/go32-nat.c File Reference
#include "defs.h"
#include <fcntl.h>
#include "i386-nat.h"
#include "inferior.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 "i386-cpuid.h"
#include "value.h"
#include "regcache.h"
#include "gdb_string.h"
#include "top.h"
#include "cli/cli-utils.h"
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <errno.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.

Defines

#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

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)
char * nl_langinfo (nl_item item)
struct seg_descr __attribute__ ((packed))
void _initialize_go32_nat (void)
pid_t tcgetpgrp (int fd)
int tcsetpgrp (int fd, pid_t pgid)

Variables

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__
initialize_file_ftype _initialize_go32_nat

Define Documentation

#define CONTROL   D_REGS[7]

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

#define D_REGS   edi.dr

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

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

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

#define SOME_PID   42

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

#define STATUS   D_REGS[6]

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


Enumeration Type Documentation

enum wp_op
Enumerator:
wp_insert 
wp_remove 
wp_count 

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


Function Documentation

struct seg_descr __attribute__ ( (packed)  )
void _initialize_go32_nat ( void  )

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

char* nl_langinfo ( nl_item  item)

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

void redir_cmdline_delete ( cmdline_t *  ptr)

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

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

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

int redir_debug_init ( cmdline_t *  ptr)

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

int redir_to_child ( cmdline_t *  ptr)

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

int redir_to_debugger ( cmdline_t *  ptr)

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

pid_t tcgetpgrp ( int  fd)

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

int tcsetpgrp ( int  fd,
pid_t  pgid 
)

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


Variable Documentation

struct gate_descr __attribute__
unsigned available

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

unsigned short base0

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

unsigned char base1

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

unsigned char base2

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

unsigned bit32

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

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

unsigned dpl

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

unsigned dummy

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

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

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

unsigned short limit0

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

unsigned limit1

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

unsigned short offset0

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

unsigned short offset1

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

unsigned page_granular

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

unsigned param_count

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

unsigned present

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

unsigned short selector

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

size_t size

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

unsigned stype

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

size_t tss_ofs

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

unsigned short windows_major

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

unsigned short windows_minor

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

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines