Add signal number conversions for OpenBSD.
authorMark Kettenis <kettenis@gnu.org>
Wed, 12 Feb 2014 11:08:28 +0000 (12:08 +0100)
committerMark Kettenis <kettenis@gnu.org>
Wed, 12 Feb 2014 11:08:28 +0000 (12:08 +0100)
commit93ffa5b939aef24f7530a8a400f877bfb24f0a73
tree85d703faf68dc1db3d2b1d939c08ff61dd2b69ed
parent6fb526eee4244d591705cf90016390f12949bcc2
Add signal number conversions for OpenBSD.

gdb/ChangeLog:

        * obsd-tdep.h (obsd_init_abi): New prototype.
        * obsd-tdep.c: Define enum with OpenBSD signal numbers.
        (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
        (obsd_init_abi): New functions.
        * i386obsd-tdep.c: Include "obsd-tdep.h".
        (i386obsd_init_abi): Call obsd_init_abi.
        * amd64obsd-tdep.c: Include "obsd-tdep.h".
        (amd64obsd_init_abi): Call obsd_init_abi.
        * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
        obsd-tdep.c to gdb_target_obs.
gdb/ChangeLog
gdb/amd64obsd-tdep.c
gdb/configure.tgt
gdb/i386obsd-tdep.c
gdb/obsd-tdep.c
gdb/obsd-tdep.h