GDB (API)
Defines | Functions
/home/stan/gdb/src/gdb/linux-record.c File Reference
#include "defs.h"
#include "target.h"
#include "gdbtypes.h"
#include "regcache.h"
#include "record.h"
#include "record-full.h"
#include "linux-record.h"

Go to the source code of this file.

Defines

#define RECORD_PTRACE_PEEKTEXT   1
#define RECORD_PTRACE_PEEKDATA   2
#define RECORD_PTRACE_PEEKUSR   3
#define RECORD_SYS_SOCKET   1
#define RECORD_SYS_BIND   2
#define RECORD_SYS_CONNECT   3
#define RECORD_SYS_LISTEN   4
#define RECORD_SYS_ACCEPT   5
#define RECORD_SYS_GETSOCKNAME   6
#define RECORD_SYS_GETPEERNAME   7
#define RECORD_SYS_SOCKETPAIR   8
#define RECORD_SYS_SEND   9
#define RECORD_SYS_RECV   10
#define RECORD_SYS_SENDTO   11
#define RECORD_SYS_RECVFROM   12
#define RECORD_SYS_SHUTDOWN   13
#define RECORD_SYS_SETSOCKOPT   14
#define RECORD_SYS_GETSOCKOPT   15
#define RECORD_SYS_SENDMSG   16
#define RECORD_SYS_RECVMSG   17
#define RECORD_SEMOP   1
#define RECORD_SEMGET   2
#define RECORD_SEMCTL   3
#define RECORD_SEMTIMEDOP   4
#define RECORD_MSGSND   11
#define RECORD_MSGRCV   12
#define RECORD_MSGGET   13
#define RECORD_MSGCTL   14
#define RECORD_SHMAT   21
#define RECORD_SHMDT   22
#define RECORD_SHMGET   23
#define RECORD_SHMCTL   24
#define RECORD_Q_GETFMT   0x800004
#define RECORD_Q_GETINFO   0x800005
#define RECORD_Q_GETQUOTA   0x800007
#define RECORD_Q_XGETQSTAT   (('5' << 8) + 5)
#define RECORD_Q_XGETQUOTA   (('3' << 8) + 3)
#define OUTPUT_REG(val, num)

Functions

int record_linux_system_call (enum gdb_syscall syscall, struct regcache *regcache, struct linux_record_tdep *tdep)

Define Documentation

#define OUTPUT_REG (   val,
  num 
)
Value:

Definition at line 85 of file linux-record.c.

#define RECORD_MSGCTL   14

Definition at line 69 of file linux-record.c.

#define RECORD_MSGGET   13

Definition at line 68 of file linux-record.c.

#define RECORD_MSGRCV   12

Definition at line 67 of file linux-record.c.

#define RECORD_MSGSND   11

Definition at line 66 of file linux-record.c.

#define RECORD_PTRACE_PEEKDATA   2

Definition at line 33 of file linux-record.c.

#define RECORD_PTRACE_PEEKTEXT   1

Definition at line 32 of file linux-record.c.

#define RECORD_PTRACE_PEEKUSR   3

Definition at line 34 of file linux-record.c.

#define RECORD_Q_GETFMT   0x800004

Definition at line 79 of file linux-record.c.

#define RECORD_Q_GETINFO   0x800005

Definition at line 80 of file linux-record.c.

#define RECORD_Q_GETQUOTA   0x800007

Definition at line 81 of file linux-record.c.

#define RECORD_Q_XGETQSTAT   (('5' << 8) + 5)

Definition at line 82 of file linux-record.c.

#define RECORD_Q_XGETQUOTA   (('3' << 8) + 3)

Definition at line 83 of file linux-record.c.

#define RECORD_SEMCTL   3

Definition at line 64 of file linux-record.c.

#define RECORD_SEMGET   2

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

#define RECORD_SEMOP   1

Definition at line 62 of file linux-record.c.

#define RECORD_SEMTIMEDOP   4

Definition at line 65 of file linux-record.c.

#define RECORD_SHMAT   21

Definition at line 70 of file linux-record.c.

#define RECORD_SHMCTL   24

Definition at line 73 of file linux-record.c.

#define RECORD_SHMDT   22

Definition at line 71 of file linux-record.c.

#define RECORD_SHMGET   23

Definition at line 72 of file linux-record.c.

#define RECORD_SYS_ACCEPT   5

Definition at line 44 of file linux-record.c.

#define RECORD_SYS_BIND   2

Definition at line 41 of file linux-record.c.

#define RECORD_SYS_CONNECT   3

Definition at line 42 of file linux-record.c.

#define RECORD_SYS_GETPEERNAME   7

Definition at line 46 of file linux-record.c.

#define RECORD_SYS_GETSOCKNAME   6

Definition at line 45 of file linux-record.c.

#define RECORD_SYS_GETSOCKOPT   15

Definition at line 54 of file linux-record.c.

#define RECORD_SYS_LISTEN   4

Definition at line 43 of file linux-record.c.

#define RECORD_SYS_RECV   10

Definition at line 49 of file linux-record.c.

#define RECORD_SYS_RECVFROM   12

Definition at line 51 of file linux-record.c.

#define RECORD_SYS_RECVMSG   17

Definition at line 56 of file linux-record.c.

#define RECORD_SYS_SEND   9

Definition at line 48 of file linux-record.c.

#define RECORD_SYS_SENDMSG   16

Definition at line 55 of file linux-record.c.

#define RECORD_SYS_SENDTO   11

Definition at line 50 of file linux-record.c.

#define RECORD_SYS_SETSOCKOPT   14

Definition at line 53 of file linux-record.c.

#define RECORD_SYS_SHUTDOWN   13

Definition at line 52 of file linux-record.c.

#define RECORD_SYS_SOCKET   1

Definition at line 40 of file linux-record.c.

#define RECORD_SYS_SOCKETPAIR   8

Definition at line 47 of file linux-record.c.


Function Documentation

int record_linux_system_call ( enum gdb_syscall  syscall,
struct regcache *  regcache,
struct linux_record_tdep tdep 
)

Definition at line 227 of file linux-record.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines