GDB (API)
Defines | Functions
/home/stan/gdb/src/gdb/m68klinux-nat.c File Reference
#include "defs.h"
#include "frame.h"
#include "inferior.h"
#include "language.h"
#include "gdbcore.h"
#include "gdb_string.h"
#include "regcache.h"
#include "target.h"
#include "linux-nat.h"
#include "m68k-tdep.h"
#include <sys/dir.h>
#include <signal.h>
#include <sys/ptrace.h>
#include <sys/user.h>
#include <sys/ioctl.h>
#include <fcntl.h>
#include <sys/procfs.h>
#include <sys/file.h>
#include "gdb_stat.h"
#include "floatformat.h"
#include "gregset.h"
#include "gdb_proc_service.h"

Go to the source code of this file.

Defines

#define PTRACE_GET_THREAD_AREA   25
#define NUM_GREGS   (18)
#define MAX_NUM_REGS   (NUM_GREGS + 11)
#define FPREG_ADDR(f, n)   (&(f)->fpregs[(n) * 3])

Functions

void supply_gregset (struct regcache *regcache, const elf_gregset_t *gregsetp)
void fill_gregset (const struct regcache *regcache, elf_gregset_t *gregsetp, int regno)
void supply_fpregset (struct regcache *regcache, const elf_fpregset_t *fpregsetp)
void fill_fpregset (const struct regcache *regcache, elf_fpregset_t *fpregsetp, int regno)
ps_err_e ps_get_thread_area (const struct ps_prochandle *ph, lwpid_t lwpid, int idx, void **base)
void _initialize_m68k_linux_nat (void)

Define Documentation

#define FPREG_ADDR (   f,
 
)    (&(f)->fpregs[(n) * 3])

Definition at line 310 of file m68klinux-nat.c.

#define MAX_NUM_REGS   (NUM_GREGS + 11)

Definition at line 76 of file m68klinux-nat.c.

#define NUM_GREGS   (18)

Definition at line 75 of file m68klinux-nat.c.

#define PTRACE_GET_THREAD_AREA   25

Definition at line 58 of file m68klinux-nat.c.


Function Documentation

void _initialize_m68k_linux_nat ( void  )

Definition at line 600 of file m68klinux-nat.c.

void fill_fpregset ( const struct regcache *  regcache,
elf_fpregset_t *  fpregsetp,
int  regno 
)

Definition at line 336 of file m68klinux-nat.c.

void fill_gregset ( const struct regcache *  regcache,
elf_gregset_t gregsetp,
int  regno 
)

Definition at line 240 of file m68klinux-nat.c.

ps_err_e ps_get_thread_area ( const struct ps_prochandle ph,
lwpid_t  lwpid,
int  idx,
void **  base 
)

Definition at line 570 of file m68klinux-nat.c.

void supply_fpregset ( struct regcache *  regcache,
const elf_fpregset_t *  fpregsetp 
)

Definition at line 316 of file m68klinux-nat.c.

void supply_gregset ( struct regcache *  regcache,
const elf_gregset_t gregsetp 
)

Definition at line 220 of file m68klinux-nat.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines