diff options
author | John Baldwin <jhb@FreeBSD.org> | 2017-06-28 08:14:06 -0700 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2017-07-07 16:04:18 -0700 |
commit | 762c974a09746bda8a5d64ed3ee887adeae742b9 (patch) | |
tree | 860549a83a56aa33a2da398df84e7c0cfadfe300 /config.sub | |
parent | e54cb31aa33a124f746ff40c134e20e6d2bc6c34 (diff) | |
download | gdb-762c974a09746bda8a5d64ed3ee887adeae742b9.zip gdb-762c974a09746bda8a5d64ed3ee887adeae742b9.tar.gz gdb-762c974a09746bda8a5d64ed3ee887adeae742b9.tar.bz2 |
Implement the "get_siginfo_type" gdbarch method for FreeBSD architectures.
As with Linux architectures, cache the created type in the gdbarch when it
is first created. Currently FreeBSD uses an identical siginfo type on
all architectures, so there is no support for architecture-specific fields.
gdb/ChangeLog:
* fbsd-tdep.c (fbsd_gdbarch_data_handle, struct fbsd_gdbarch_data)
(init_fbsd_gdbarch_data, get_fbsd_gdbarch_data)
(fbsd_get_siginfo_type): New.
(fbsd_init_abi): Install gdbarch "get_siginfo_type" method.
(_initialize_fbsd_tdep): New.
Diffstat (limited to 'config.sub')
0 files changed, 0 insertions, 0 deletions