GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Macros | Enumerations | Functions | Variables
fbsd-tdep.c File Reference
#include "defs.h"
#include "auxv.h"
#include "gdbcore.h"
#include "inferior.h"
#include "objfiles.h"
#include "regcache.h"
#include "regset.h"
#include "gdbthread.h"
#include "xml-syscall.h"
#include <sys/socket.h>
#include <arpa/inet.h>
#include "elf-bfd.h"
#include "fbsd-tdep.h"
#include "gcore-elf.h"

Go to the source code of this file.

Classes

struct  fbsd_sockaddr_in
 
struct  fbsd_sockaddr_in6
 
struct  fbsd_sockaddr_un
 
struct  kinfo_proc_layout
 
struct  fbsd_gdbarch_data
 
struct  fbsd_pspace_data
 
struct  fbsd_pspace_data::vdso_range
 

Macros

#define FBSD_SI_USER   0x10001
 
#define FBSD_SI_QUEUE   0x10002
 
#define FBSD_SI_TIMER   0x10003
 
#define FBSD_SI_ASYNCIO   0x10004
 
#define FBSD_SI_MESGQ   0x10005
 
#define FBSD_SI_KERNEL   0x10006
 
#define FBSD_SI_LWP   0x10007
 
#define FBSD_ILL_ILLOPC   1
 
#define FBSD_ILL_ILLOPN   2
 
#define FBSD_ILL_ILLADR   3
 
#define FBSD_ILL_ILLTRP   4
 
#define FBSD_ILL_PRVOPC   5
 
#define FBSD_ILL_PRVREG   6
 
#define FBSD_ILL_COPROC   7
 
#define FBSD_ILL_BADSTK   8
 
#define FBSD_BUS_ADRALN   1
 
#define FBSD_BUS_ADRERR   2
 
#define FBSD_BUS_OBJERR   3
 
#define FBSD_BUS_OOMERR   100
 
#define FBSD_SEGV_MAPERR   1
 
#define FBSD_SEGV_ACCERR   2
 
#define FBSD_SEGV_PKUERR   100
 
#define FBSD_FPE_INTOVF   1
 
#define FBSD_FPE_INTDIV   2
 
#define FBSD_FPE_FLTDIV   3
 
#define FBSD_FPE_FLTOVF   4
 
#define FBSD_FPE_FLTUND   5
 
#define FBSD_FPE_FLTRES   6
 
#define FBSD_FPE_FLTINV   7
 
#define FBSD_FPE_FLTSUB   8
 
#define FBSD_TRAP_BRKPT   1
 
#define FBSD_TRAP_TRACE   2
 
#define FBSD_TRAP_DTRACE   3
 
#define FBSD_TRAP_CAP   4
 
#define FBSD_CLD_EXITED   1
 
#define FBSD_CLD_KILLED   2
 
#define FBSD_CLD_DUMPED   3
 
#define FBSD_CLD_TRAPPED   4
 
#define FBSD_CLD_STOPPED   5
 
#define FBSD_CLD_CONTINUED   6
 
#define FBSD_POLL_IN   1
 
#define FBSD_POLL_OUT   2
 
#define FBSD_POLL_MSG   3
 
#define FBSD_POLL_ERR   4
 
#define FBSD_POLL_PRI   5
 
#define FBSD_POLL_HUP   6
 
#define LWPINFO_OFFSET   0x4
 
#define LWPINFO_PL_FLAGS   0x8
 
#define LWPINFO64_PL_SIGINFO   0x30
 
#define LWPINFO32_PL_SIGINFO   0x2c
 
#define PL_FLAG_SI   0x20 /* siginfo is valid */
 
#define SIZE64_SIGINFO_T   80
 
#define SIZE32_SIGINFO_T   64
 
#define KVE_STRUCTSIZE   0x0
 
#define KVE_START   0x8
 
#define KVE_END   0x10
 
#define KVE_OFFSET   0x18
 
#define KVE_FLAGS   0x2c
 
#define KVE_PROTECTION   0x38
 
#define KVE_PATH   0x88
 
#define KINFO_VME_PROT_READ   0x00000001
 
#define KINFO_VME_PROT_WRITE   0x00000002
 
#define KINFO_VME_PROT_EXEC   0x00000004
 
#define KINFO_VME_FLAG_COW   0x00000001
 
#define KINFO_VME_FLAG_NEEDS_COPY   0x00000002
 
#define KINFO_VME_FLAG_NOCOREDUMP   0x00000004
 
#define KINFO_VME_FLAG_SUPER   0x00000008
 
#define KINFO_VME_FLAG_GROWS_UP   0x00000010
 
#define KINFO_VME_FLAG_GROWS_DOWN   0x00000020
 
#define KF_STRUCTSIZE   0x0
 
#define KF_TYPE   0x4
 
#define KF_FD   0x8
 
#define KF_FLAGS   0x10
 
#define KF_OFFSET   0x18
 
#define KF_VNODE_TYPE   0x20
 
#define KF_SOCK_DOMAIN   0x24
 
#define KF_SOCK_TYPE   0x28
 
#define KF_SOCK_PROTOCOL   0x2c
 
#define KF_SA_LOCAL   0x30
 
#define KF_SA_PEER   0xb0
 
#define KF_PATH   0x170
 
#define KINFO_FILE_TYPE_VNODE   1
 
#define KINFO_FILE_TYPE_SOCKET   2
 
#define KINFO_FILE_TYPE_PIPE   3
 
#define KINFO_FILE_TYPE_FIFO   4
 
#define KINFO_FILE_TYPE_KQUEUE   5
 
#define KINFO_FILE_TYPE_CRYPTO   6
 
#define KINFO_FILE_TYPE_MQUEUE   7
 
#define KINFO_FILE_TYPE_SHM   8
 
#define KINFO_FILE_TYPE_SEM   9
 
#define KINFO_FILE_TYPE_PTS   10
 
#define KINFO_FILE_TYPE_PROCDESC   11
 
#define KINFO_FILE_FD_TYPE_CWD   -1
 
#define KINFO_FILE_FD_TYPE_ROOT   -2
 
#define KINFO_FILE_FD_TYPE_JAIL   -3
 
#define KINFO_FILE_FD_TYPE_TRACE   -4
 
#define KINFO_FILE_FD_TYPE_TEXT   -5
 
#define KINFO_FILE_FD_TYPE_CTTY   -6
 
#define KINFO_FILE_FLAG_READ   0x00000001
 
#define KINFO_FILE_FLAG_WRITE   0x00000002
 
#define KINFO_FILE_FLAG_APPEND   0x00000004
 
#define KINFO_FILE_FLAG_ASYNC   0x00000008
 
#define KINFO_FILE_FLAG_FSYNC   0x00000010
 
#define KINFO_FILE_FLAG_NONBLOCK   0x00000020
 
#define KINFO_FILE_FLAG_DIRECT   0x00000040
 
#define KINFO_FILE_FLAG_HASLOCK   0x00000080
 
#define KINFO_FILE_FLAG_EXEC   0x00004000
 
#define KINFO_FILE_VTYPE_VREG   1
 
#define KINFO_FILE_VTYPE_VDIR   2
 
#define KINFO_FILE_VTYPE_VCHR   4
 
#define KINFO_FILE_VTYPE_VLNK   5
 
#define KINFO_FILE_VTYPE_VSOCK   6
 
#define KINFO_FILE_VTYPE_VFIFO   7
 
#define FBSD_AF_UNIX   1
 
#define FBSD_AF_INET   2
 
#define FBSD_AF_INET6   28
 
#define FBSD_SOCK_STREAM   1
 
#define FBSD_SOCK_DGRAM   2
 
#define FBSD_SOCK_SEQPACKET   5
 
#define FBSD_IPPROTO_ICMP   1
 
#define FBSD_IPPROTO_TCP   6
 
#define FBSD_IPPROTO_UDP   17
 
#define FBSD_IPPROTO_SCTP   132
 
#define SIG_WORDS   4
 
#define _TAGNAME(tag)   #tag
 
#define TAGNAME(tag)   _TAGNAME(AT_##tag)
 
#define TAG(tag, text, kind)    case AT_FREEBSD_##tag: name = TAGNAME(tag); description = text; format = kind; break
 

Enumerations

enum  {
  FREEBSD_SIGHUP = 1 , FREEBSD_SIGINT = 2 , FREEBSD_SIGQUIT = 3 , FREEBSD_SIGILL = 4 ,
  FREEBSD_SIGTRAP = 5 , FREEBSD_SIGABRT = 6 , FREEBSD_SIGEMT = 7 , FREEBSD_SIGFPE = 8 ,
  FREEBSD_SIGKILL = 9 , FREEBSD_SIGBUS = 10 , FREEBSD_SIGSEGV = 11 , FREEBSD_SIGSYS = 12 ,
  FREEBSD_SIGPIPE = 13 , FREEBSD_SIGALRM = 14 , FREEBSD_SIGTERM = 15 , FREEBSD_SIGURG = 16 ,
  FREEBSD_SIGSTOP = 17 , FREEBSD_SIGTSTP = 18 , FREEBSD_SIGCONT = 19 , FREEBSD_SIGCHLD = 20 ,
  FREEBSD_SIGTTIN = 21 , FREEBSD_SIGTTOU = 22 , FREEBSD_SIGIO = 23 , FREEBSD_SIGXCPU = 24 ,
  FREEBSD_SIGXFSZ = 25 , FREEBSD_SIGVTALRM = 26 , FREEBSD_SIGPROF = 27 , FREEBSD_SIGWINCH = 28 ,
  FREEBSD_SIGINFO = 29 , FREEBSD_SIGUSR1 = 30 , FREEBSD_SIGUSR2 = 31 , FREEBSD_SIGTHR = 32 ,
  FREEBSD_SIGLIBRT = 33 , FREEBSD_SIGRTMIN = 65 , FREEBSD_SIGRTMAX = 126
}
 

Functions

static struct fbsd_gdbarch_dataget_fbsd_gdbarch_data (struct gdbarch *gdbarch)
 
static struct fbsd_pspace_dataget_fbsd_pspace_data (struct program_space *pspace)
 
static std::string fbsd_core_pid_to_str (struct gdbarch *gdbarch, ptid_t ptid)
 
static const char * fbsd_core_thread_name (struct gdbarch *gdbarch, struct thread_info *thr)
 
static LONGEST fbsd_core_xfer_siginfo (struct gdbarch *gdbarch, gdb_byte *readbuf, ULONGEST offset, ULONGEST len)
 
static int find_signalled_thread (struct thread_info *info, void *data)
 
static gdb::optional< gdb::byte_vector > fbsd_make_note_desc (enum target_object object, uint32_t structsize)
 
static gdb::unique_xmalloc_ptr< char > fbsd_make_corefile_notes (struct gdbarch *gdbarch, bfd *obfd, int *note_size)
 
static const char * fbsd_file_fd (int kf_fd)
 
static const char * fbsd_file_type (int kf_type, int kf_vnode_type)
 
static const char * fbsd_file_flags (int kf_flags)
 
static const char * fbsd_ipproto (int protocol)
 
static void fbsd_print_sockaddr_in (const void *sockaddr)
 
static void fbsd_print_sockaddr_in6 (const void *sockaddr)
 
void fbsd_info_proc_files_header ()
 
void fbsd_info_proc_files_entry (int kf_type, int kf_fd, int kf_flags, LONGEST kf_offset, int kf_vnode_type, int kf_sock_domain, int kf_sock_type, int kf_sock_protocol, const void *kf_sa_local, const void *kf_sa_peer, const void *kf_path)
 
static void fbsd_core_info_proc_files (struct gdbarch *gdbarch)
 
static const char * fbsd_vm_map_entry_flags (int kve_flags, int kve_protection)
 
void fbsd_info_proc_mappings_header (int addr_bit)
 
void fbsd_info_proc_mappings_entry (int addr_bit, ULONGEST kve_start, ULONGEST kve_end, ULONGEST kve_offset, int kve_flags, int kve_protection, const void *kve_path)
 
static void fbsd_core_info_proc_mappings (struct gdbarch *gdbarch)
 
static gdb::unique_xmalloc_ptr< char > fbsd_core_vnode_path (struct gdbarch *gdbarch, int fd)
 
static void fbsd_core_fetch_timeval (struct gdbarch *gdbarch, unsigned char *data, LONGEST &sec, ULONGEST &usec)
 
static void fbsd_print_sigset (const char *descr, unsigned char *sigset)
 
static void fbsd_core_info_proc_status (struct gdbarch *gdbarch)
 
static void fbsd_core_info_proc (struct gdbarch *gdbarch, const char *args, enum info_proc_what what)
 
static void fbsd_print_auxv_entry (struct gdbarch *gdbarch, struct ui_file *file, CORE_ADDR type, CORE_ADDR val)
 
static struct typefbsd_get_siginfo_type (struct gdbarch *gdbarch)
 
static enum gdb_signal fbsd_gdb_signal_from_target (struct gdbarch *gdbarch, int signal)
 
static int fbsd_gdb_signal_to_target (struct gdbarch *gdbarch, enum gdb_signal signal)
 
static LONGEST fbsd_get_syscall_number (struct gdbarch *gdbarch, thread_info *thread)
 
static LONGEST fbsd_read_integer_by_name (struct gdbarch *gdbarch, const char *name)
 
static void fbsd_fetch_rtld_offsets (struct gdbarch *gdbarch, struct fbsd_pspace_data *data)
 
static LONGEST fbsd_get_tls_index (struct gdbarch *gdbarch, CORE_ADDR lm_addr)
 
CORE_ADDR fbsd_get_thread_local_address (struct gdbarch *gdbarch, CORE_ADDR dtv_addr, CORE_ADDR lm_addr, CORE_ADDR offset)
 
CORE_ADDR fbsd_skip_solib_resolver (struct gdbarch *gdbarch, CORE_ADDR pc)
 
static const char * fbsd_signal_cause (enum gdb_signal siggnal, int code)
 
static void fbsd_report_signal_info (struct gdbarch *gdbarch, struct ui_out *uiout, enum gdb_signal siggnal)
 
static ULONGEST fbsd_vmmap_length (struct gdbarch *gdbarch, unsigned char *entries, size_t len, CORE_ADDR addr)
 
static bool fbsd_vdso_range (struct gdbarch *gdbarch, struct mem_range *range)
 
static int fbsd_vsyscall_range (struct gdbarch *gdbarch, struct mem_range *range)
 
void fbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
 

Variables

const struct kinfo_proc_layout kinfo_proc_layout_32
 
const struct kinfo_proc_layout kinfo_proc_layout_i386
 
const struct kinfo_proc_layout kinfo_proc_layout_64
 
static const registry< gdbarch >::key< fbsd_gdbarch_datafbsd_gdbarch_data_handle
 
static const registry< program_space >::key< fbsd_pspace_datafbsd_pspace_data_handle
 

Macro Definition Documentation

◆ _TAGNAME

#define _TAGNAME ( tag)    #tag

◆ FBSD_AF_INET

#define FBSD_AF_INET   2

Definition at line 268 of file fbsd-tdep.c.

Referenced by fbsd_info_proc_files_entry().

◆ FBSD_AF_INET6

#define FBSD_AF_INET6   28

Definition at line 269 of file fbsd-tdep.c.

Referenced by fbsd_info_proc_files_entry().

◆ FBSD_AF_UNIX

#define FBSD_AF_UNIX   1

Definition at line 267 of file fbsd-tdep.c.

Referenced by fbsd_info_proc_files_entry().

◆ FBSD_BUS_ADRALN

#define FBSD_BUS_ADRALN   1

Definition at line 98 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ FBSD_BUS_ADRERR

#define FBSD_BUS_ADRERR   2

Definition at line 99 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ FBSD_BUS_OBJERR

#define FBSD_BUS_OBJERR   3

Definition at line 100 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ FBSD_BUS_OOMERR

#define FBSD_BUS_OOMERR   100

Definition at line 101 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ FBSD_CLD_CONTINUED

#define FBSD_CLD_CONTINUED   6

Definition at line 126 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ FBSD_CLD_DUMPED

#define FBSD_CLD_DUMPED   3

Definition at line 123 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ FBSD_CLD_EXITED

#define FBSD_CLD_EXITED   1

Definition at line 121 of file fbsd-tdep.c.

Referenced by fbsd_report_signal_info(), and fbsd_signal_cause().

◆ FBSD_CLD_KILLED

#define FBSD_CLD_KILLED   2

Definition at line 122 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ FBSD_CLD_STOPPED

#define FBSD_CLD_STOPPED   5

Definition at line 125 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ FBSD_CLD_TRAPPED

#define FBSD_CLD_TRAPPED   4

Definition at line 124 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ FBSD_FPE_FLTDIV

#define FBSD_FPE_FLTDIV   3

Definition at line 109 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ FBSD_FPE_FLTINV

#define FBSD_FPE_FLTINV   7

Definition at line 113 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ FBSD_FPE_FLTOVF

#define FBSD_FPE_FLTOVF   4

Definition at line 110 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ FBSD_FPE_FLTRES

#define FBSD_FPE_FLTRES   6

Definition at line 112 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ FBSD_FPE_FLTSUB

#define FBSD_FPE_FLTSUB   8

Definition at line 114 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ FBSD_FPE_FLTUND

#define FBSD_FPE_FLTUND   5

Definition at line 111 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ FBSD_FPE_INTDIV

#define FBSD_FPE_INTDIV   2

Definition at line 108 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ FBSD_FPE_INTOVF

#define FBSD_FPE_INTOVF   1

Definition at line 107 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ FBSD_ILL_BADSTK

#define FBSD_ILL_BADSTK   8

Definition at line 96 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ FBSD_ILL_COPROC

#define FBSD_ILL_COPROC   7

Definition at line 95 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ FBSD_ILL_ILLADR

#define FBSD_ILL_ILLADR   3

Definition at line 91 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ FBSD_ILL_ILLOPC

#define FBSD_ILL_ILLOPC   1

Definition at line 89 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ FBSD_ILL_ILLOPN

#define FBSD_ILL_ILLOPN   2

Definition at line 90 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ FBSD_ILL_ILLTRP

#define FBSD_ILL_ILLTRP   4

Definition at line 92 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ FBSD_ILL_PRVOPC

#define FBSD_ILL_PRVOPC   5

Definition at line 93 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ FBSD_ILL_PRVREG

#define FBSD_ILL_PRVREG   6

Definition at line 94 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ FBSD_IPPROTO_ICMP

#define FBSD_IPPROTO_ICMP   1

Definition at line 281 of file fbsd-tdep.c.

Referenced by fbsd_ipproto().

◆ FBSD_IPPROTO_SCTP

#define FBSD_IPPROTO_SCTP   132

Definition at line 284 of file fbsd-tdep.c.

Referenced by fbsd_ipproto().

◆ FBSD_IPPROTO_TCP

#define FBSD_IPPROTO_TCP   6

Definition at line 282 of file fbsd-tdep.c.

Referenced by fbsd_ipproto().

◆ FBSD_IPPROTO_UDP

#define FBSD_IPPROTO_UDP   17

Definition at line 283 of file fbsd-tdep.c.

Referenced by fbsd_ipproto().

◆ FBSD_POLL_ERR

#define FBSD_POLL_ERR   4

Definition at line 131 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ FBSD_POLL_HUP

#define FBSD_POLL_HUP   6

Definition at line 133 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ FBSD_POLL_IN

#define FBSD_POLL_IN   1

Definition at line 128 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ FBSD_POLL_MSG

#define FBSD_POLL_MSG   3

Definition at line 130 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ FBSD_POLL_OUT

#define FBSD_POLL_OUT   2

Definition at line 129 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ FBSD_POLL_PRI

#define FBSD_POLL_PRI   5

Definition at line 132 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ FBSD_SEGV_ACCERR

#define FBSD_SEGV_ACCERR   2

Definition at line 104 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ FBSD_SEGV_MAPERR

#define FBSD_SEGV_MAPERR   1

Definition at line 103 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ FBSD_SEGV_PKUERR

#define FBSD_SEGV_PKUERR   100

Definition at line 105 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ FBSD_SI_ASYNCIO

#define FBSD_SI_ASYNCIO   0x10004

Definition at line 84 of file fbsd-tdep.c.

Referenced by fbsd_report_signal_info(), and fbsd_signal_cause().

◆ FBSD_SI_KERNEL

#define FBSD_SI_KERNEL   0x10006

Definition at line 86 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ FBSD_SI_LWP

#define FBSD_SI_LWP   0x10007

Definition at line 87 of file fbsd-tdep.c.

Referenced by fbsd_report_signal_info(), and fbsd_signal_cause().

◆ FBSD_SI_MESGQ

#define FBSD_SI_MESGQ   0x10005

Definition at line 85 of file fbsd-tdep.c.

Referenced by fbsd_report_signal_info(), and fbsd_signal_cause().

◆ FBSD_SI_QUEUE

#define FBSD_SI_QUEUE   0x10002

Definition at line 82 of file fbsd-tdep.c.

Referenced by fbsd_report_signal_info(), and fbsd_signal_cause().

◆ FBSD_SI_TIMER

#define FBSD_SI_TIMER   0x10003

Definition at line 83 of file fbsd-tdep.c.

Referenced by fbsd_report_signal_info(), and fbsd_signal_cause().

◆ FBSD_SI_USER

#define FBSD_SI_USER   0x10001

Definition at line 81 of file fbsd-tdep.c.

Referenced by fbsd_report_signal_info(), and fbsd_signal_cause().

◆ FBSD_SOCK_DGRAM

#define FBSD_SOCK_DGRAM   2

Definition at line 275 of file fbsd-tdep.c.

Referenced by fbsd_info_proc_files_entry().

◆ FBSD_SOCK_SEQPACKET

#define FBSD_SOCK_SEQPACKET   5

Definition at line 276 of file fbsd-tdep.c.

Referenced by fbsd_info_proc_files_entry().

◆ FBSD_SOCK_STREAM

#define FBSD_SOCK_STREAM   1

Definition at line 274 of file fbsd-tdep.c.

Referenced by fbsd_info_proc_files_entry().

◆ FBSD_TRAP_BRKPT

#define FBSD_TRAP_BRKPT   1

Definition at line 116 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ FBSD_TRAP_CAP

#define FBSD_TRAP_CAP   4

Definition at line 119 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ FBSD_TRAP_DTRACE

#define FBSD_TRAP_DTRACE   3

Definition at line 118 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ FBSD_TRAP_TRACE

#define FBSD_TRAP_TRACE   2

Definition at line 117 of file fbsd-tdep.c.

Referenced by fbsd_signal_cause().

◆ KF_FD

#define KF_FD   0x8

Definition at line 205 of file fbsd-tdep.c.

Referenced by fbsd_core_info_proc_files(), and fbsd_core_vnode_path().

◆ KF_FLAGS

#define KF_FLAGS   0x10

Definition at line 206 of file fbsd-tdep.c.

Referenced by fbsd_core_info_proc_files().

◆ KF_OFFSET

#define KF_OFFSET   0x18

Definition at line 207 of file fbsd-tdep.c.

Referenced by fbsd_core_info_proc_files().

◆ KF_PATH

#define KF_PATH   0x170

Definition at line 214 of file fbsd-tdep.c.

Referenced by fbsd_core_info_proc_files(), and fbsd_core_vnode_path().

◆ KF_SA_LOCAL

#define KF_SA_LOCAL   0x30

Definition at line 212 of file fbsd-tdep.c.

Referenced by fbsd_core_info_proc_files().

◆ KF_SA_PEER

#define KF_SA_PEER   0xb0

Definition at line 213 of file fbsd-tdep.c.

Referenced by fbsd_core_info_proc_files().

◆ KF_SOCK_DOMAIN

#define KF_SOCK_DOMAIN   0x24

Definition at line 209 of file fbsd-tdep.c.

Referenced by fbsd_core_info_proc_files().

◆ KF_SOCK_PROTOCOL

#define KF_SOCK_PROTOCOL   0x2c

Definition at line 211 of file fbsd-tdep.c.

Referenced by fbsd_core_info_proc_files().

◆ KF_SOCK_TYPE

#define KF_SOCK_TYPE   0x28

Definition at line 210 of file fbsd-tdep.c.

Referenced by fbsd_core_info_proc_files().

◆ KF_STRUCTSIZE

#define KF_STRUCTSIZE   0x0

Definition at line 203 of file fbsd-tdep.c.

Referenced by fbsd_core_info_proc_files(), and fbsd_core_vnode_path().

◆ KF_TYPE

#define KF_TYPE   0x4

Definition at line 204 of file fbsd-tdep.c.

Referenced by fbsd_core_info_proc_files(), and fbsd_core_vnode_path().

◆ KF_VNODE_TYPE

#define KF_VNODE_TYPE   0x20

Definition at line 208 of file fbsd-tdep.c.

Referenced by fbsd_core_info_proc_files().

◆ KINFO_FILE_FD_TYPE_CTTY

#define KINFO_FILE_FD_TYPE_CTTY   -6

Definition at line 239 of file fbsd-tdep.c.

Referenced by fbsd_file_fd().

◆ KINFO_FILE_FD_TYPE_CWD

#define KINFO_FILE_FD_TYPE_CWD   -1

Definition at line 234 of file fbsd-tdep.c.

Referenced by fbsd_core_info_proc(), and fbsd_file_fd().

◆ KINFO_FILE_FD_TYPE_JAIL

#define KINFO_FILE_FD_TYPE_JAIL   -3

Definition at line 236 of file fbsd-tdep.c.

Referenced by fbsd_file_fd().

◆ KINFO_FILE_FD_TYPE_ROOT

#define KINFO_FILE_FD_TYPE_ROOT   -2

Definition at line 235 of file fbsd-tdep.c.

Referenced by fbsd_file_fd().

◆ KINFO_FILE_FD_TYPE_TEXT

#define KINFO_FILE_FD_TYPE_TEXT   -5

Definition at line 238 of file fbsd-tdep.c.

Referenced by fbsd_core_info_proc(), and fbsd_file_fd().

◆ KINFO_FILE_FD_TYPE_TRACE

#define KINFO_FILE_FD_TYPE_TRACE   -4

Definition at line 237 of file fbsd-tdep.c.

Referenced by fbsd_file_fd().

◆ KINFO_FILE_FLAG_APPEND

#define KINFO_FILE_FLAG_APPEND   0x00000004

Definition at line 246 of file fbsd-tdep.c.

Referenced by fbsd_file_flags().

◆ KINFO_FILE_FLAG_ASYNC

#define KINFO_FILE_FLAG_ASYNC   0x00000008

Definition at line 247 of file fbsd-tdep.c.

Referenced by fbsd_file_flags().

◆ KINFO_FILE_FLAG_DIRECT

#define KINFO_FILE_FLAG_DIRECT   0x00000040

Definition at line 250 of file fbsd-tdep.c.

Referenced by fbsd_file_flags().

◆ KINFO_FILE_FLAG_EXEC

#define KINFO_FILE_FLAG_EXEC   0x00004000

Definition at line 252 of file fbsd-tdep.c.

Referenced by fbsd_file_flags().

◆ KINFO_FILE_FLAG_FSYNC

#define KINFO_FILE_FLAG_FSYNC   0x00000010

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

Referenced by fbsd_file_flags().

◆ KINFO_FILE_FLAG_HASLOCK

#define KINFO_FILE_FLAG_HASLOCK   0x00000080

Definition at line 251 of file fbsd-tdep.c.

Referenced by fbsd_file_flags().

◆ KINFO_FILE_FLAG_NONBLOCK

#define KINFO_FILE_FLAG_NONBLOCK   0x00000020

Definition at line 249 of file fbsd-tdep.c.

Referenced by fbsd_file_flags().

◆ KINFO_FILE_FLAG_READ

#define KINFO_FILE_FLAG_READ   0x00000001

Definition at line 244 of file fbsd-tdep.c.

Referenced by fbsd_file_flags().

◆ KINFO_FILE_FLAG_WRITE

#define KINFO_FILE_FLAG_WRITE   0x00000002

Definition at line 245 of file fbsd-tdep.c.

Referenced by fbsd_file_flags().

◆ KINFO_FILE_TYPE_CRYPTO

#define KINFO_FILE_TYPE_CRYPTO   6

Definition at line 224 of file fbsd-tdep.c.

Referenced by fbsd_file_type().

◆ KINFO_FILE_TYPE_FIFO

#define KINFO_FILE_TYPE_FIFO   4

Definition at line 222 of file fbsd-tdep.c.

Referenced by fbsd_file_type().

◆ KINFO_FILE_TYPE_KQUEUE

#define KINFO_FILE_TYPE_KQUEUE   5

Definition at line 223 of file fbsd-tdep.c.

Referenced by fbsd_file_type().

◆ KINFO_FILE_TYPE_MQUEUE

#define KINFO_FILE_TYPE_MQUEUE   7

Definition at line 225 of file fbsd-tdep.c.

Referenced by fbsd_file_type().

◆ KINFO_FILE_TYPE_PIPE

#define KINFO_FILE_TYPE_PIPE   3

Definition at line 221 of file fbsd-tdep.c.

Referenced by fbsd_file_type().

◆ KINFO_FILE_TYPE_PROCDESC

#define KINFO_FILE_TYPE_PROCDESC   11

Definition at line 229 of file fbsd-tdep.c.

Referenced by fbsd_file_type().

◆ KINFO_FILE_TYPE_PTS

#define KINFO_FILE_TYPE_PTS   10

Definition at line 228 of file fbsd-tdep.c.

Referenced by fbsd_file_type().

◆ KINFO_FILE_TYPE_SEM

#define KINFO_FILE_TYPE_SEM   9

Definition at line 227 of file fbsd-tdep.c.

Referenced by fbsd_file_type().

◆ KINFO_FILE_TYPE_SHM

#define KINFO_FILE_TYPE_SHM   8

Definition at line 226 of file fbsd-tdep.c.

Referenced by fbsd_file_type().

◆ KINFO_FILE_TYPE_SOCKET

#define KINFO_FILE_TYPE_SOCKET   2

Definition at line 220 of file fbsd-tdep.c.

Referenced by fbsd_file_type(), and fbsd_info_proc_files_entry().

◆ KINFO_FILE_TYPE_VNODE

#define KINFO_FILE_TYPE_VNODE   1

Definition at line 219 of file fbsd-tdep.c.

Referenced by fbsd_core_vnode_path(), and fbsd_file_type().

◆ KINFO_FILE_VTYPE_VCHR

#define KINFO_FILE_VTYPE_VCHR   4

Definition at line 259 of file fbsd-tdep.c.

Referenced by fbsd_file_type().

◆ KINFO_FILE_VTYPE_VDIR

#define KINFO_FILE_VTYPE_VDIR   2

Definition at line 258 of file fbsd-tdep.c.

Referenced by fbsd_file_type().

◆ KINFO_FILE_VTYPE_VFIFO

#define KINFO_FILE_VTYPE_VFIFO   7

Definition at line 262 of file fbsd-tdep.c.

Referenced by fbsd_file_type().

◆ KINFO_FILE_VTYPE_VLNK

#define KINFO_FILE_VTYPE_VLNK   5

Definition at line 260 of file fbsd-tdep.c.

Referenced by fbsd_file_type().

◆ KINFO_FILE_VTYPE_VREG

#define KINFO_FILE_VTYPE_VREG   1

Definition at line 257 of file fbsd-tdep.c.

Referenced by fbsd_file_type().

◆ KINFO_FILE_VTYPE_VSOCK

#define KINFO_FILE_VTYPE_VSOCK   6

Definition at line 261 of file fbsd-tdep.c.

Referenced by fbsd_file_type().

◆ KINFO_VME_FLAG_COW

#define KINFO_VME_FLAG_COW   0x00000001

Definition at line 186 of file fbsd-tdep.c.

Referenced by fbsd_vm_map_entry_flags().

◆ KINFO_VME_FLAG_GROWS_DOWN

#define KINFO_VME_FLAG_GROWS_DOWN   0x00000020

Definition at line 191 of file fbsd-tdep.c.

Referenced by fbsd_vm_map_entry_flags().

◆ KINFO_VME_FLAG_GROWS_UP

#define KINFO_VME_FLAG_GROWS_UP   0x00000010

Definition at line 190 of file fbsd-tdep.c.

Referenced by fbsd_vm_map_entry_flags().

◆ KINFO_VME_FLAG_NEEDS_COPY

#define KINFO_VME_FLAG_NEEDS_COPY   0x00000002

Definition at line 187 of file fbsd-tdep.c.

Referenced by fbsd_vm_map_entry_flags().

◆ KINFO_VME_FLAG_NOCOREDUMP

#define KINFO_VME_FLAG_NOCOREDUMP   0x00000004

Definition at line 188 of file fbsd-tdep.c.

◆ KINFO_VME_FLAG_SUPER

#define KINFO_VME_FLAG_SUPER   0x00000008

Definition at line 189 of file fbsd-tdep.c.

Referenced by fbsd_vm_map_entry_flags().

◆ KINFO_VME_PROT_EXEC

#define KINFO_VME_PROT_EXEC   0x00000004

Definition at line 181 of file fbsd-tdep.c.

Referenced by fbsd_vm_map_entry_flags().

◆ KINFO_VME_PROT_READ

#define KINFO_VME_PROT_READ   0x00000001

Definition at line 179 of file fbsd-tdep.c.

Referenced by fbsd_vm_map_entry_flags().

◆ KINFO_VME_PROT_WRITE

#define KINFO_VME_PROT_WRITE   0x00000002

Definition at line 180 of file fbsd-tdep.c.

Referenced by fbsd_vm_map_entry_flags().

◆ KVE_END

#define KVE_END   0x10

Definition at line 170 of file fbsd-tdep.c.

Referenced by fbsd_core_info_proc_mappings(), and fbsd_vmmap_length().

◆ KVE_FLAGS

#define KVE_FLAGS   0x2c

Definition at line 172 of file fbsd-tdep.c.

Referenced by fbsd_core_info_proc_mappings().

◆ KVE_OFFSET

#define KVE_OFFSET   0x18

Definition at line 171 of file fbsd-tdep.c.

Referenced by fbsd_core_info_proc_mappings().

◆ KVE_PATH

#define KVE_PATH   0x88

Definition at line 174 of file fbsd-tdep.c.

Referenced by fbsd_core_info_proc_mappings(), and fbsd_vmmap_length().

◆ KVE_PROTECTION

#define KVE_PROTECTION   0x38

Definition at line 173 of file fbsd-tdep.c.

Referenced by fbsd_core_info_proc_mappings().

◆ KVE_START

#define KVE_START   0x8

Definition at line 169 of file fbsd-tdep.c.

Referenced by fbsd_core_info_proc_mappings(), and fbsd_vmmap_length().

◆ KVE_STRUCTSIZE

#define KVE_STRUCTSIZE   0x0

Definition at line 168 of file fbsd-tdep.c.

Referenced by fbsd_core_info_proc_mappings(), and fbsd_vmmap_length().

◆ LWPINFO32_PL_SIGINFO

#define LWPINFO32_PL_SIGINFO   0x2c

Definition at line 148 of file fbsd-tdep.c.

Referenced by fbsd_core_xfer_siginfo().

◆ LWPINFO64_PL_SIGINFO

#define LWPINFO64_PL_SIGINFO   0x30

Definition at line 147 of file fbsd-tdep.c.

Referenced by fbsd_core_xfer_siginfo().

◆ LWPINFO_OFFSET

#define LWPINFO_OFFSET   0x4

Definition at line 143 of file fbsd-tdep.c.

Referenced by fbsd_core_xfer_siginfo().

◆ LWPINFO_PL_FLAGS

#define LWPINFO_PL_FLAGS   0x8

Definition at line 146 of file fbsd-tdep.c.

Referenced by fbsd_core_xfer_siginfo().

◆ PL_FLAG_SI

#define PL_FLAG_SI   0x20 /* siginfo is valid */

◆ SIG_WORDS

#define SIG_WORDS   4

Definition at line 319 of file fbsd-tdep.c.

Referenced by fbsd_print_sigset().

◆ SIZE32_SIGINFO_T

#define SIZE32_SIGINFO_T   64

Definition at line 155 of file fbsd-tdep.c.

Referenced by fbsd_core_xfer_siginfo().

◆ SIZE64_SIGINFO_T

#define SIZE64_SIGINFO_T   80

Definition at line 154 of file fbsd-tdep.c.

Referenced by fbsd_core_xfer_siginfo().

◆ TAG

#define TAG ( tag,
text,
kind )    case AT_FREEBSD_##tag: name = TAGNAME(tag); description = text; format = kind; break

◆ TAGNAME

#define TAGNAME ( tag)    _TAGNAME(AT_##tag)

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
FREEBSD_SIGHUP 
FREEBSD_SIGINT 
FREEBSD_SIGQUIT 
FREEBSD_SIGILL 
FREEBSD_SIGTRAP 
FREEBSD_SIGABRT 
FREEBSD_SIGEMT 
FREEBSD_SIGFPE 
FREEBSD_SIGKILL 
FREEBSD_SIGBUS 
FREEBSD_SIGSEGV 
FREEBSD_SIGSYS 
FREEBSD_SIGPIPE 
FREEBSD_SIGALRM 
FREEBSD_SIGTERM 
FREEBSD_SIGURG 
FREEBSD_SIGSTOP 
FREEBSD_SIGTSTP 
FREEBSD_SIGCONT 
FREEBSD_SIGCHLD 
FREEBSD_SIGTTIN 
FREEBSD_SIGTTOU 
FREEBSD_SIGIO 
FREEBSD_SIGXCPU 
FREEBSD_SIGXFSZ 
FREEBSD_SIGVTALRM 
FREEBSD_SIGPROF 
FREEBSD_SIGWINCH 
FREEBSD_SIGINFO 
FREEBSD_SIGUSR1 
FREEBSD_SIGUSR2 
FREEBSD_SIGTHR 
FREEBSD_SIGLIBRT 
FREEBSD_SIGRTMIN 
FREEBSD_SIGRTMAX 

Definition at line 39 of file fbsd-tdep.c.

Function Documentation

◆ fbsd_core_fetch_timeval()

static void fbsd_core_fetch_timeval ( struct gdbarch * gdbarch,
unsigned char * data,
LONGEST & sec,
ULONGEST & usec )
static

Definition at line 1251 of file fbsd-tdep.c.

References core_bfd, and gdbarch_addr_bit().

Referenced by fbsd_core_info_proc_status().

◆ fbsd_core_info_proc()

static void fbsd_core_info_proc ( struct gdbarch * gdbarch,
const char * args,
enum info_proc_what what )
static

◆ fbsd_core_info_proc_files()

static void fbsd_core_info_proc_files ( struct gdbarch * gdbarch)
static

◆ fbsd_core_info_proc_mappings()

static void fbsd_core_info_proc_mappings ( struct gdbarch * gdbarch)
static

◆ fbsd_core_info_proc_status()

static void fbsd_core_info_proc_status ( struct gdbarch * gdbarch)
static

◆ fbsd_core_pid_to_str()

static std::string fbsd_core_pid_to_str ( struct gdbarch * gdbarch,
ptid_t ptid )
static

Definition at line 538 of file fbsd-tdep.c.

References normal_pid_to_str().

Referenced by fbsd_init_abi().

◆ fbsd_core_thread_name()

static const char * fbsd_core_thread_name ( struct gdbarch * gdbarch,
struct thread_info * thr )
static

Definition at line 550 of file fbsd-tdep.c.

References thread_section_name::c_str(), core_bfd, thread_info::ptid, and size.

Referenced by fbsd_init_abi().

◆ fbsd_core_vnode_path()

static gdb::unique_xmalloc_ptr< char > fbsd_core_vnode_path ( struct gdbarch * gdbarch,
int fd )
static

Definition at line 1203 of file fbsd-tdep.c.

References core_bfd, KF_FD, KF_PATH, KF_STRUCTSIZE, KF_TYPE, and KINFO_FILE_TYPE_VNODE.

Referenced by fbsd_core_info_proc().

◆ fbsd_core_xfer_siginfo()

static LONGEST fbsd_core_xfer_siginfo ( struct gdbarch * gdbarch,
gdb_byte * readbuf,
ULONGEST offset,
ULONGEST len )
static

◆ fbsd_fetch_rtld_offsets()

static void fbsd_fetch_rtld_offsets ( struct gdbarch * gdbarch,
struct fbsd_pspace_data * data )
static

◆ fbsd_file_fd()

static const char * fbsd_file_fd ( int kf_fd)
static

◆ fbsd_file_flags()

static const char * fbsd_file_flags ( int kf_flags)
static

◆ fbsd_file_type()

static const char * fbsd_file_type ( int kf_type,
int kf_vnode_type )
static

◆ fbsd_gdb_signal_from_target()

static enum gdb_signal fbsd_gdb_signal_from_target ( struct gdbarch * gdbarch,
int signal )
static

◆ fbsd_gdb_signal_to_target()

static int fbsd_gdb_signal_to_target ( struct gdbarch * gdbarch,
enum gdb_signal signal )
static

◆ fbsd_get_siginfo_type()

static struct type * fbsd_get_siginfo_type ( struct gdbarch * gdbarch)
static

◆ fbsd_get_syscall_number()

static LONGEST fbsd_get_syscall_number ( struct gdbarch * gdbarch,
thread_info * thread )
static

Definition at line 1925 of file fbsd-tdep.c.

Referenced by fbsd_init_abi().

◆ fbsd_get_thread_local_address()

CORE_ADDR fbsd_get_thread_local_address ( struct gdbarch * gdbarch,
CORE_ADDR dtv_addr,
CORE_ADDR lm_addr,
CORE_ADDR offset )

◆ fbsd_get_tls_index()

static LONGEST fbsd_get_tls_index ( struct gdbarch * gdbarch,
CORE_ADDR lm_addr )
static

◆ fbsd_info_proc_files_entry()

void fbsd_info_proc_files_entry ( int kf_type,
int kf_fd,
int kf_flags,
LONGEST kf_offset,
int kf_vnode_type,
int kf_sock_domain,
int kf_sock_type,
int kf_sock_protocol,
const void * kf_sa_local,
const void * kf_sa_peer,
const void * kf_path )

◆ fbsd_info_proc_files_header()

void fbsd_info_proc_files_header ( )

Definition at line 947 of file fbsd-tdep.c.

References gdb_printf().

Referenced by fbsd_core_info_proc_files(), and fbsd_nat_target::info_proc().

◆ fbsd_info_proc_mappings_entry()

void fbsd_info_proc_mappings_entry ( int addr_bit,
ULONGEST kve_start,
ULONGEST kve_end,
ULONGEST kve_offset,
int kve_flags,
int kve_protection,
const void * kve_path )

◆ fbsd_info_proc_mappings_header()

void fbsd_info_proc_mappings_header ( int addr_bit)

Definition at line 1100 of file fbsd-tdep.c.

References gdb_printf().

Referenced by fbsd_core_info_proc_mappings(), and fbsd_nat_target::info_proc().

◆ fbsd_init_abi()

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

◆ fbsd_ipproto()

static const char * fbsd_ipproto ( int protocol)
static

◆ fbsd_make_corefile_notes()

static gdb::unique_xmalloc_ptr< char > fbsd_make_corefile_notes ( struct gdbarch * gdbarch,
bfd * obfd,
int * note_size )
static

◆ fbsd_make_note_desc()

static gdb::optional< gdb::byte_vector > fbsd_make_note_desc ( enum target_object object,
uint32_t structsize )
static

Definition at line 654 of file fbsd-tdep.c.

References current_inferior(), and target_read_alloc().

Referenced by fbsd_make_corefile_notes().

◆ fbsd_print_auxv_entry()

static void fbsd_print_auxv_entry ( struct gdbarch * gdbarch,
struct ui_file * file,
CORE_ADDR type,
CORE_ADDR val )
static

◆ fbsd_print_sigset()

static void fbsd_print_sigset ( const char * descr,
unsigned char * sigset )
static

Definition at line 1274 of file fbsd-tdep.c.

References core_bfd, gdb_printf(), and SIG_WORDS.

Referenced by fbsd_core_info_proc_status().

◆ fbsd_print_sockaddr_in()

static void fbsd_print_sockaddr_in ( const void * sockaddr)
static

◆ fbsd_print_sockaddr_in6()

static void fbsd_print_sockaddr_in6 ( const void * sockaddr)
static

◆ fbsd_read_integer_by_name()

static LONGEST fbsd_read_integer_by_name ( struct gdbarch * gdbarch,
const char * name )
static

◆ fbsd_report_signal_info()

static void fbsd_report_signal_info ( struct gdbarch * gdbarch,
struct ui_out * uiout,
enum gdb_signal siggnal )
static

◆ fbsd_signal_cause()

static const char * fbsd_signal_cause ( enum gdb_signal siggnal,
int code )
static

◆ fbsd_skip_solib_resolver()

CORE_ADDR fbsd_skip_solib_resolver ( struct gdbarch * gdbarch,
CORE_ADDR pc )

◆ fbsd_vdso_range()

static bool fbsd_vdso_range ( struct gdbarch * gdbarch,
struct mem_range * range )
static

◆ fbsd_vm_map_entry_flags()

static const char * fbsd_vm_map_entry_flags ( int kve_flags,
int kve_protection )
static

◆ fbsd_vmmap_length()

static ULONGEST fbsd_vmmap_length ( struct gdbarch * gdbarch,
unsigned char * entries,
size_t len,
CORE_ADDR addr )
static

◆ fbsd_vsyscall_range()

static int fbsd_vsyscall_range ( struct gdbarch * gdbarch,
struct mem_range * range )
static

Definition at line 2358 of file fbsd-tdep.c.

References current_program_space, fbsd_vdso_range(), and get_fbsd_pspace_data().

Referenced by fbsd_init_abi().

◆ find_signalled_thread()

static int find_signalled_thread ( struct thread_info * info,
void * data )
static

Definition at line 639 of file fbsd-tdep.c.

References inferior_ptid.

Referenced by fbsd_make_corefile_notes().

◆ get_fbsd_gdbarch_data()

static struct fbsd_gdbarch_data * get_fbsd_gdbarch_data ( struct gdbarch * gdbarch)
static

Definition at line 496 of file fbsd-tdep.c.

References fbsd_gdbarch_data_handle, and registry< T >::get().

Referenced by fbsd_get_siginfo_type().

◆ get_fbsd_pspace_data()

static struct fbsd_pspace_data * get_fbsd_pspace_data ( struct program_space * pspace)
static

Definition at line 524 of file fbsd-tdep.c.

References fbsd_pspace_data_handle, and registry< T >::get().

Referenced by fbsd_get_tls_index(), and fbsd_vsyscall_range().

Variable Documentation

◆ fbsd_gdbarch_data_handle

const registry<gdbarch>::key<fbsd_gdbarch_data> fbsd_gdbarch_data_handle
static

Definition at line 493 of file fbsd-tdep.c.

Referenced by get_fbsd_gdbarch_data().

◆ fbsd_pspace_data_handle

const registry<program_space>::key<fbsd_pspace_data> fbsd_pspace_data_handle
static

Definition at line 521 of file fbsd-tdep.c.

Referenced by get_fbsd_pspace_data().

◆ kinfo_proc_layout_32

const struct kinfo_proc_layout kinfo_proc_layout_32

Definition at line 376 of file fbsd-tdep.c.

Referenced by fbsd_core_info_proc_status().

◆ kinfo_proc_layout_64

const struct kinfo_proc_layout kinfo_proc_layout_64

Definition at line 450 of file fbsd-tdep.c.

Referenced by fbsd_core_info_proc_status().

◆ kinfo_proc_layout_i386

const struct kinfo_proc_layout kinfo_proc_layout_i386

Definition at line 413 of file fbsd-tdep.c.

Referenced by fbsd_core_info_proc_status().