aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc-nbsd-tdep.c
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2020-03-16 19:02:22 +0100
committerKamil Rytarowski <n54@gmx.com>2020-04-06 18:26:59 +0200
commit797439622361bc901ed64b398c0d689c97cd8121 (patch)
tree9d0df3cb0d3d6fb19ae3d5c754291d4784f1edab /gdb/sparc-nbsd-tdep.c
parent8707c522016e68372b79d10eb3b74e0fc4b3e1b4 (diff)
downloadgdb-797439622361bc901ed64b398c0d689c97cd8121.zip
gdb-797439622361bc901ed64b398c0d689c97cd8121.tar.gz
gdb-797439622361bc901ed64b398c0d689c97cd8121.tar.bz2
Add signal number conversions for NetBSD
gdb/ChangeLog: * nbsd-tdep.c: Include "gdbarch.h". Define enum with NetBSD signal numbers. (nbsd_gdb_signal_from_target, nbsd_gdb_signal_to_target): New. * alpha-nbsd-tdep.c (alphanbsd_init_abi): Call nbsd_init_abi(). * amd64-nbsd-tdep.c (amd64nbsd_init_abi): Likewise. * arm-nbsd-tdep.c (arm_netbsd_elf_init_abi): Likewise. * hppa-nbsd-tdep.c (hppanbsd_init_abi): Likewise. * i386-nbsd-tdep.c (i386nbsd_init_abi): Likewise. * mips-nbsd-tdep.c (nbsd_init_abi): Likewise. * ppc-nbsd-tdep.c (ppcnbsd_init_abi): Likewise. * sh-nbsd-tdep.c (shnbsd_init_abi): Likewise. * sparc-nbsd-tdep.c (sparc32nbsd_init_abi): Likewise. * sparc64-nbsd-tdep.c (sparc64nbsd_init_abi): Likewise. * vax-nbsd-tdep.c (vaxnbsd_elf_init_abi): Likewise.
Diffstat (limited to 'gdb/sparc-nbsd-tdep.c')
-rw-r--r--gdb/sparc-nbsd-tdep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/sparc-nbsd-tdep.c b/gdb/sparc-nbsd-tdep.c
index 7aba602..ab1b557 100644
--- a/gdb/sparc-nbsd-tdep.c
+++ b/gdb/sparc-nbsd-tdep.c
@@ -296,6 +296,8 @@ sparc32nbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
{
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
+ nbsd_init_abi (info, gdbarch);
+
/* NetBSD doesn't support the 128-bit `long double' from the psABI. */
set_gdbarch_long_double_bit (gdbarch, 64);
set_gdbarch_long_double_format (gdbarch, floatformats_ieee_double);