GDB (API)
Typedefs | Enumerations | Functions | Variables
/home/stan/gdb/src/gdb/linux-tdep.c File Reference
#include "defs.h"
#include "gdbtypes.h"
#include "linux-tdep.h"
#include "auxv.h"
#include "target.h"
#include "gdbthread.h"
#include "gdbcore.h"
#include "regcache.h"
#include "regset.h"
#include "elf/common.h"
#include "elf-bfd.h"
#include "inferior.h"
#include "cli/cli-utils.h"
#include "arch-utils.h"
#include "gdb_obstack.h"
#include <ctype.h>

Go to the source code of this file.

Typedefs

typedef int linux_find_memory_region_ftype (ULONGEST vaddr, ULONGEST size, ULONGEST offset, ULONGEST inode, int read, int write, int exec, int modified, const char *filename, void *data)

Enumerations

enum  {
  LINUX_SIGHUP = 1, LINUX_SIGINT = 2, LINUX_SIGQUIT = 3, LINUX_SIGILL = 4,
  LINUX_SIGTRAP = 5, LINUX_SIGABRT = 6, LINUX_SIGIOT = 6, LINUX_SIGBUS = 7,
  LINUX_SIGFPE = 8, LINUX_SIGKILL = 9, LINUX_SIGUSR1 = 10, LINUX_SIGSEGV = 11,
  LINUX_SIGUSR2 = 12, LINUX_SIGPIPE = 13, LINUX_SIGALRM = 14, LINUX_SIGTERM = 15,
  LINUX_SIGSTKFLT = 16, LINUX_SIGCHLD = 17, LINUX_SIGCONT = 18, LINUX_SIGSTOP = 19,
  LINUX_SIGTSTP = 20, LINUX_SIGTTIN = 21, LINUX_SIGTTOU = 22, LINUX_SIGURG = 23,
  LINUX_SIGXCPU = 24, LINUX_SIGXFSZ = 25, LINUX_SIGVTALRM = 26, LINUX_SIGPROF = 27,
  LINUX_SIGWINCH = 28, LINUX_SIGIO = 29, LINUX_SIGPOLL = LINUX_SIGIO, LINUX_SIGPWR = 30,
  LINUX_SIGSYS = 31, LINUX_SIGUNUSED = 31, LINUX_SIGRTMIN = 32, LINUX_SIGRTMAX = 64
}

Functions

struct typelinux_get_siginfo_type (struct gdbarch *gdbarch)
int linux_is_uclinux (void)
char * linux_make_corefile_notes (struct gdbarch *gdbarch, bfd *obfd, int *note_size, linux_collect_thread_registers_ftype collect)
enum gdb_signal linux_gdb_signal_from_target (struct gdbarch *gdbarch, int signal)
int linux_gdb_signal_to_target (struct gdbarch *gdbarch, enum gdb_signal signal)
void linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
void _initialize_linux_tdep (void)

Variables

initialize_file_ftype _initialize_linux_tdep

Typedef Documentation

typedef int linux_find_memory_region_ftype(ULONGEST vaddr, ULONGEST size, ULONGEST offset, ULONGEST inode, int read, int write, int exec, int modified, const char *filename, void *data)

Definition at line 732 of file linux-tdep.c.


Enumeration Type Documentation

anonymous enum
Enumerator:
LINUX_SIGHUP 
LINUX_SIGINT 
LINUX_SIGQUIT 
LINUX_SIGILL 
LINUX_SIGTRAP 
LINUX_SIGABRT 
LINUX_SIGIOT 
LINUX_SIGBUS 
LINUX_SIGFPE 
LINUX_SIGKILL 
LINUX_SIGUSR1 
LINUX_SIGSEGV 
LINUX_SIGUSR2 
LINUX_SIGPIPE 
LINUX_SIGALRM 
LINUX_SIGTERM 
LINUX_SIGSTKFLT 
LINUX_SIGCHLD 
LINUX_SIGCONT 
LINUX_SIGSTOP 
LINUX_SIGTSTP 
LINUX_SIGTTIN 
LINUX_SIGTTOU 
LINUX_SIGURG 
LINUX_SIGXCPU 
LINUX_SIGXFSZ 
LINUX_SIGVTALRM 
LINUX_SIGPROF 
LINUX_SIGWINCH 
LINUX_SIGIO 
LINUX_SIGPOLL 
LINUX_SIGPWR 
LINUX_SIGSYS 
LINUX_SIGUNUSED 
LINUX_SIGRTMIN 
LINUX_SIGRTMAX 

Definition at line 63 of file linux-tdep.c.


Function Documentation

void _initialize_linux_tdep ( void  )

Definition at line 1792 of file linux-tdep.c.

enum gdb_signal linux_gdb_signal_from_target ( struct gdbarch *  gdbarch,
int  signal 
)

Definition at line 1523 of file linux-tdep.c.

int linux_gdb_signal_to_target ( struct gdbarch *  gdbarch,
enum gdb_signal  signal 
)

Definition at line 1646 of file linux-tdep.c.

struct type* linux_get_siginfo_type ( struct gdbarch *  gdbarch) [read]

Definition at line 127 of file linux-tdep.c.

void linux_init_abi ( struct gdbarch_info  info,
struct gdbarch *  gdbarch 
)

Definition at line 1773 of file linux-tdep.c.

int linux_is_uclinux ( void  )

Definition at line 248 of file linux-tdep.c.

char* linux_make_corefile_notes ( struct gdbarch *  gdbarch,
bfd *  obfd,
int note_size,
linux_collect_thread_registers_ftype  collect 
)

Definition at line 1434 of file linux-tdep.c.


Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines