GDB (API)
Defines | Enumerations | Variables
/home/stan/gdb/src/gdb/amd64-linux-tdep.h File Reference

Go to the source code of this file.

Defines

#define AMD64_LINUX_ORIG_RAX_REGNUM   (AMD64_YMM15H_REGNUM + 1)
#define AMD64_LINUX_NUM_REGS   (AMD64_LINUX_ORIG_RAX_REGNUM + 1)

Enumerations

enum  amd64_syscall {
  amd64_sys_read = 0, amd64_sys_write = 1, amd64_sys_open = 2, amd64_sys_close = 3,
  amd64_sys_newstat = 4, amd64_sys_newfstat = 5, amd64_sys_newlstat = 6, amd64_sys_poll = 7,
  amd64_sys_lseek = 8, amd64_sys_mmap = 9, amd64_sys_mprotect = 10, amd64_sys_munmap = 11,
  amd64_sys_brk = 12, amd64_sys_rt_sigaction = 13, amd64_sys_rt_sigprocmask = 14, amd64_sys_rt_sigreturn = 15,
  amd64_sys_ioctl = 16, amd64_sys_pread64 = 17, amd64_sys_pwrite64 = 18, amd64_sys_readv = 19,
  amd64_sys_writev = 20, amd64_sys_access = 21, amd64_sys_pipe = 22, amd64_sys_select = 23,
  amd64_sys_sched_yield = 24, amd64_sys_mremap = 25, amd64_sys_msync = 26, amd64_sys_mincore = 27,
  amd64_sys_madvise = 28, amd64_sys_shmget = 29, amd64_sys_shmat = 30, amd64_sys_shmctl = 31,
  amd64_sys_dup = 32, amd64_sys_dup2 = 33, amd64_sys_pause = 34, amd64_sys_nanosleep = 35,
  amd64_sys_getitimer = 36, amd64_sys_alarm = 37, amd64_sys_setitimer = 38, amd64_sys_getpid = 39,
  amd64_sys_sendfile64 = 40, amd64_sys_socket = 41, amd64_sys_connect = 42, amd64_sys_accept = 43,
  amd64_sys_sendto = 44, amd64_sys_recvfrom = 45, amd64_sys_sendmsg = 46, amd64_sys_recvmsg = 47,
  amd64_sys_shutdown = 48, amd64_sys_bind = 49, amd64_sys_listen = 50, amd64_sys_getsockname = 51,
  amd64_sys_getpeername = 52, amd64_sys_socketpair = 53, amd64_sys_setsockopt = 54, amd64_sys_getsockopt = 55,
  amd64_sys_clone = 56, amd64_sys_fork = 57, amd64_sys_vfork = 58, amd64_sys_execve = 59,
  amd64_sys_exit = 60, amd64_sys_wait4 = 61, amd64_sys_kill = 62, amd64_sys_uname = 63,
  amd64_sys_semget = 64, amd64_sys_semop = 65, amd64_sys_semctl = 66, amd64_sys_shmdt = 67,
  amd64_sys_msgget = 68, amd64_sys_msgsnd = 69, amd64_sys_msgrcv = 70, amd64_sys_msgctl = 71,
  amd64_sys_fcntl = 72, amd64_sys_flock = 73, amd64_sys_fsync = 74, amd64_sys_fdatasync = 75,
  amd64_sys_truncate = 76, amd64_sys_ftruncate = 77, amd64_sys_getdents = 78, amd64_sys_getcwd = 79,
  amd64_sys_chdir = 80, amd64_sys_fchdir = 81, amd64_sys_rename = 82, amd64_sys_mkdir = 83,
  amd64_sys_rmdir = 84, amd64_sys_creat = 85, amd64_sys_link = 86, amd64_sys_unlink = 87,
  amd64_sys_symlink = 88, amd64_sys_readlink = 89, amd64_sys_chmod = 90, amd64_sys_fchmod = 91,
  amd64_sys_chown = 92, amd64_sys_fchown = 93, amd64_sys_lchown = 94, amd64_sys_umask = 95,
  amd64_sys_gettimeofday = 96, amd64_sys_getrlimit = 97, amd64_sys_getrusage = 98, amd64_sys_sysinfo = 99,
  amd64_sys_times = 100, amd64_sys_ptrace = 101, amd64_sys_getuid = 102, amd64_sys_syslog = 103,
  amd64_sys_getgid = 104, amd64_sys_setuid = 105, amd64_sys_setgid = 106, amd64_sys_geteuid = 107,
  amd64_sys_getegid = 108, amd64_sys_setpgid = 109, amd64_sys_getppid = 110, amd64_sys_getpgrp = 111,
  amd64_sys_setsid = 112, amd64_sys_setreuid = 113, amd64_sys_setregid = 114, amd64_sys_getgroups = 115,
  amd64_sys_setgroups = 116, amd64_sys_setresuid = 117, amd64_sys_getresuid = 118, amd64_sys_setresgid = 119,
  amd64_sys_getresgid = 120, amd64_sys_getpgid = 121, amd64_sys_setfsuid = 122, amd64_sys_setfsgid = 123,
  amd64_sys_getsid = 124, amd64_sys_capget = 125, amd64_sys_capset = 126, amd64_sys_rt_sigpending = 127,
  amd64_sys_rt_sigtimedwait = 128, amd64_sys_rt_sigqueueinfo = 129, amd64_sys_rt_sigsuspend = 130, amd64_sys_sigaltstack = 131,
  amd64_sys_utime = 132, amd64_sys_mknod = 133, amd64_sys_personality = 135, amd64_sys_ustat = 136,
  amd64_sys_statfs = 137, amd64_sys_fstatfs = 138, amd64_sys_sysfs = 139, amd64_sys_getpriority = 140,
  amd64_sys_setpriority = 141, amd64_sys_sched_setparam = 142, amd64_sys_sched_getparam = 143, amd64_sys_sched_setscheduler = 144,
  amd64_sys_sched_getscheduler = 145, amd64_sys_sched_get_priority_max = 146, amd64_sys_sched_get_priority_min = 147, amd64_sys_sched_rr_get_interval = 148,
  amd64_sys_mlock = 149, amd64_sys_munlock = 150, amd64_sys_mlockall = 151, amd64_sys_munlockall = 152,
  amd64_sys_vhangup = 153, amd64_sys_modify_ldt = 154, amd64_sys_pivot_root = 155, amd64_sys_sysctl = 156,
  amd64_sys_prctl = 157, amd64_sys_arch_prctl = 158, amd64_sys_adjtimex = 159, amd64_sys_setrlimit = 160,
  amd64_sys_chroot = 161, amd64_sys_sync = 162, amd64_sys_acct = 163, amd64_sys_settimeofday = 164,
  amd64_sys_mount = 165, amd64_sys_umount = 166, amd64_sys_swapon = 167, amd64_sys_swapoff = 168,
  amd64_sys_reboot = 169, amd64_sys_sethostname = 170, amd64_sys_setdomainname = 171, amd64_sys_iopl = 172,
  amd64_sys_ioperm = 173, amd64_sys_init_module = 175, amd64_sys_delete_module = 176, amd64_sys_quotactl = 179,
  amd64_sys_nfsservctl = 180, amd64_sys_gettid = 186, amd64_sys_readahead = 187, amd64_sys_setxattr = 188,
  amd64_sys_lsetxattr = 189, amd64_sys_fsetxattr = 190, amd64_sys_getxattr = 191, amd64_sys_lgetxattr = 192,
  amd64_sys_fgetxattr = 193, amd64_sys_listxattr = 194, amd64_sys_llistxattr = 195, amd64_sys_flistxattr = 196,
  amd64_sys_removexattr = 197, amd64_sys_lremovexattr = 198, amd64_sys_fremovexattr = 199, amd64_sys_tkill = 200,
  amd64_sys_time = 201, amd64_sys_futex = 202, amd64_sys_sched_setaffinity = 203, amd64_sys_sched_getaffinity = 204,
  amd64_sys_io_setup = 206, amd64_sys_io_destroy = 207, amd64_sys_io_getevents = 208, amd64_sys_io_submit = 209,
  amd64_sys_io_cancel = 210, amd64_sys_lookup_dcookie = 212, amd64_sys_epoll_create = 213, amd64_sys_remap_file_pages = 216,
  amd64_sys_getdents64 = 217, amd64_sys_set_tid_address = 218, amd64_sys_restart_syscall = 219, amd64_sys_semtimedop = 220,
  amd64_sys_fadvise64 = 221, amd64_sys_timer_create = 222, amd64_sys_timer_settime = 223, amd64_sys_timer_gettime = 224,
  amd64_sys_timer_getoverrun = 225, amd64_sys_timer_delete = 226, amd64_sys_clock_settime = 227, amd64_sys_clock_gettime = 228,
  amd64_sys_clock_getres = 229, amd64_sys_clock_nanosleep = 230, amd64_sys_exit_group = 231, amd64_sys_epoll_wait = 232,
  amd64_sys_epoll_ctl = 233, amd64_sys_tgkill = 234, amd64_sys_utimes = 235, amd64_sys_mbind = 237,
  amd64_sys_set_mempolicy = 238, amd64_sys_get_mempolicy = 239, amd64_sys_mq_open = 240, amd64_sys_mq_unlink = 241,
  amd64_sys_mq_timedsend = 242, amd64_sys_mq_timedreceive = 243, amd64_sys_mq_notify = 244, amd64_sys_mq_getsetattr = 245,
  amd64_sys_kexec_load = 246, amd64_sys_waitid = 247, amd64_sys_add_key = 248, amd64_sys_request_key = 249,
  amd64_sys_keyctl = 250, amd64_sys_ioprio_set = 251, amd64_sys_ioprio_get = 252, amd64_sys_inotify_init = 253,
  amd64_sys_inotify_add_watch = 254, amd64_sys_inotify_rm_watch = 255, amd64_sys_migrate_pages = 256, amd64_sys_openat = 257,
  amd64_sys_mkdirat = 258, amd64_sys_mknodat = 259, amd64_sys_fchownat = 260, amd64_sys_futimesat = 261,
  amd64_sys_newfstatat = 262, amd64_sys_unlinkat = 263, amd64_sys_renameat = 264, amd64_sys_linkat = 265,
  amd64_sys_symlinkat = 266, amd64_sys_readlinkat = 267, amd64_sys_fchmodat = 268, amd64_sys_faccessat = 269,
  amd64_sys_pselect6 = 270, amd64_sys_ppoll = 271, amd64_sys_unshare = 272, amd64_sys_set_robust_list = 273,
  amd64_sys_get_robust_list = 274, amd64_sys_splice = 275, amd64_sys_tee = 276, amd64_sys_sync_file_range = 277,
  amd64_sys_vmsplice = 278, amd64_sys_move_pages = 279
}

Variables

struct target_desc * tdesc_amd64_linux
struct target_desc * tdesc_amd64_avx_linux
struct target_desc * tdesc_x32_linux
struct target_desc * tdesc_x32_avx_linux

Define Documentation

Definition at line 32 of file amd64-linux-tdep.h.

Definition at line 29 of file amd64-linux-tdep.h.


Enumeration Type Documentation

Enumerator:
amd64_sys_read 
amd64_sys_write 
amd64_sys_open 
amd64_sys_close 
amd64_sys_newstat 
amd64_sys_newfstat 
amd64_sys_newlstat 
amd64_sys_poll 
amd64_sys_lseek 
amd64_sys_mmap 
amd64_sys_mprotect 
amd64_sys_munmap 
amd64_sys_brk 
amd64_sys_rt_sigaction 
amd64_sys_rt_sigprocmask 
amd64_sys_rt_sigreturn 
amd64_sys_ioctl 
amd64_sys_pread64 
amd64_sys_pwrite64 
amd64_sys_readv 
amd64_sys_writev 
amd64_sys_access 
amd64_sys_pipe 
amd64_sys_select 
amd64_sys_sched_yield 
amd64_sys_mremap 
amd64_sys_msync 
amd64_sys_mincore 
amd64_sys_madvise 
amd64_sys_shmget 
amd64_sys_shmat 
amd64_sys_shmctl 
amd64_sys_dup 
amd64_sys_dup2 
amd64_sys_pause 
amd64_sys_nanosleep 
amd64_sys_getitimer 
amd64_sys_alarm 
amd64_sys_setitimer 
amd64_sys_getpid 
amd64_sys_sendfile64 
amd64_sys_socket 
amd64_sys_connect 
amd64_sys_accept 
amd64_sys_sendto 
amd64_sys_recvfrom 
amd64_sys_sendmsg 
amd64_sys_recvmsg 
amd64_sys_shutdown 
amd64_sys_bind 
amd64_sys_listen 
amd64_sys_getsockname 
amd64_sys_getpeername 
amd64_sys_socketpair 
amd64_sys_setsockopt 
amd64_sys_getsockopt 
amd64_sys_clone 
amd64_sys_fork 
amd64_sys_vfork 
amd64_sys_execve 
amd64_sys_exit 
amd64_sys_wait4 
amd64_sys_kill 
amd64_sys_uname 
amd64_sys_semget 
amd64_sys_semop 
amd64_sys_semctl 
amd64_sys_shmdt 
amd64_sys_msgget 
amd64_sys_msgsnd 
amd64_sys_msgrcv 
amd64_sys_msgctl 
amd64_sys_fcntl 
amd64_sys_flock 
amd64_sys_fsync 
amd64_sys_fdatasync 
amd64_sys_truncate 
amd64_sys_ftruncate 
amd64_sys_getdents 
amd64_sys_getcwd 
amd64_sys_chdir 
amd64_sys_fchdir 
amd64_sys_rename 
amd64_sys_mkdir 
amd64_sys_rmdir 
amd64_sys_creat 
amd64_sys_link 
amd64_sys_unlink 
amd64_sys_symlink 
amd64_sys_readlink 
amd64_sys_chmod 
amd64_sys_fchmod 
amd64_sys_chown 
amd64_sys_fchown 
amd64_sys_lchown 
amd64_sys_umask 
amd64_sys_gettimeofday 
amd64_sys_getrlimit 
amd64_sys_getrusage 
amd64_sys_sysinfo 
amd64_sys_times 
amd64_sys_ptrace 
amd64_sys_getuid 
amd64_sys_syslog 
amd64_sys_getgid 
amd64_sys_setuid 
amd64_sys_setgid 
amd64_sys_geteuid 
amd64_sys_getegid 
amd64_sys_setpgid 
amd64_sys_getppid 
amd64_sys_getpgrp 
amd64_sys_setsid 
amd64_sys_setreuid 
amd64_sys_setregid 
amd64_sys_getgroups 
amd64_sys_setgroups 
amd64_sys_setresuid 
amd64_sys_getresuid 
amd64_sys_setresgid 
amd64_sys_getresgid 
amd64_sys_getpgid 
amd64_sys_setfsuid 
amd64_sys_setfsgid 
amd64_sys_getsid 
amd64_sys_capget 
amd64_sys_capset 
amd64_sys_rt_sigpending 
amd64_sys_rt_sigtimedwait 
amd64_sys_rt_sigqueueinfo 
amd64_sys_rt_sigsuspend 
amd64_sys_sigaltstack 
amd64_sys_utime 
amd64_sys_mknod 
amd64_sys_personality 
amd64_sys_ustat 
amd64_sys_statfs 
amd64_sys_fstatfs 
amd64_sys_sysfs 
amd64_sys_getpriority 
amd64_sys_setpriority 
amd64_sys_sched_setparam 
amd64_sys_sched_getparam 
amd64_sys_sched_setscheduler 
amd64_sys_sched_getscheduler 
amd64_sys_sched_get_priority_max 
amd64_sys_sched_get_priority_min 
amd64_sys_sched_rr_get_interval 
amd64_sys_mlock 
amd64_sys_munlock 
amd64_sys_mlockall 
amd64_sys_munlockall 
amd64_sys_vhangup 
amd64_sys_modify_ldt 
amd64_sys_pivot_root 
amd64_sys_sysctl 
amd64_sys_prctl 
amd64_sys_arch_prctl 
amd64_sys_adjtimex 
amd64_sys_setrlimit 
amd64_sys_chroot 
amd64_sys_sync 
amd64_sys_acct 
amd64_sys_settimeofday 
amd64_sys_mount 
amd64_sys_umount 
amd64_sys_swapon 
amd64_sys_swapoff 
amd64_sys_reboot 
amd64_sys_sethostname 
amd64_sys_setdomainname 
amd64_sys_iopl 
amd64_sys_ioperm 
amd64_sys_init_module 
amd64_sys_delete_module 
amd64_sys_quotactl 
amd64_sys_nfsservctl 
amd64_sys_gettid 
amd64_sys_readahead 
amd64_sys_setxattr 
amd64_sys_lsetxattr 
amd64_sys_fsetxattr 
amd64_sys_getxattr 
amd64_sys_lgetxattr 
amd64_sys_fgetxattr 
amd64_sys_listxattr 
amd64_sys_llistxattr 
amd64_sys_flistxattr 
amd64_sys_removexattr 
amd64_sys_lremovexattr 
amd64_sys_fremovexattr 
amd64_sys_tkill 
amd64_sys_time 
amd64_sys_futex 
amd64_sys_sched_setaffinity 
amd64_sys_sched_getaffinity 
amd64_sys_io_setup 
amd64_sys_io_destroy 
amd64_sys_io_getevents 
amd64_sys_io_submit 
amd64_sys_io_cancel 
amd64_sys_lookup_dcookie 
amd64_sys_epoll_create 
amd64_sys_remap_file_pages 
amd64_sys_getdents64 
amd64_sys_set_tid_address 
amd64_sys_restart_syscall 
amd64_sys_semtimedop 
amd64_sys_fadvise64 
amd64_sys_timer_create 
amd64_sys_timer_settime 
amd64_sys_timer_gettime 
amd64_sys_timer_getoverrun 
amd64_sys_timer_delete 
amd64_sys_clock_settime 
amd64_sys_clock_gettime 
amd64_sys_clock_getres 
amd64_sys_clock_nanosleep 
amd64_sys_exit_group 
amd64_sys_epoll_wait 
amd64_sys_epoll_ctl 
amd64_sys_tgkill 
amd64_sys_utimes 
amd64_sys_mbind 
amd64_sys_set_mempolicy 
amd64_sys_get_mempolicy 
amd64_sys_mq_open 
amd64_sys_mq_unlink 
amd64_sys_mq_timedsend 
amd64_sys_mq_timedreceive 
amd64_sys_mq_notify 
amd64_sys_mq_getsetattr 
amd64_sys_kexec_load 
amd64_sys_waitid 
amd64_sys_add_key 
amd64_sys_request_key 
amd64_sys_keyctl 
amd64_sys_ioprio_set 
amd64_sys_ioprio_get 
amd64_sys_inotify_init 
amd64_sys_inotify_add_watch 
amd64_sys_inotify_rm_watch 
amd64_sys_migrate_pages 
amd64_sys_openat 
amd64_sys_mkdirat 
amd64_sys_mknodat 
amd64_sys_fchownat 
amd64_sys_futimesat 
amd64_sys_newfstatat 
amd64_sys_unlinkat 
amd64_sys_renameat 
amd64_sys_linkat 
amd64_sys_symlinkat 
amd64_sys_readlinkat 
amd64_sys_fchmodat 
amd64_sys_faccessat 
amd64_sys_pselect6 
amd64_sys_ppoll 
amd64_sys_unshare 
amd64_sys_set_robust_list 
amd64_sys_get_robust_list 
amd64_sys_splice 
amd64_sys_tee 
amd64_sys_sync_file_range 
amd64_sys_vmsplice 
amd64_sys_move_pages 

Definition at line 44 of file amd64-linux-tdep.h.


Variable Documentation

struct target_desc* tdesc_amd64_avx_linux

Definition at line 8 of file amd64-avx-linux.c.

struct target_desc* tdesc_amd64_linux

Definition at line 8 of file amd64-linux.c.

struct target_desc* tdesc_x32_avx_linux

Definition at line 8 of file x32-avx-linux.c.

struct target_desc* tdesc_x32_linux

Definition at line 8 of file x32-linux.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines