Implement the "gdb_signal_to/from_target" gdbarch methods for FreeBSD.
authorRajendra SY <rajendra.sy@gmail.com>
Thu, 29 Nov 2018 21:26:31 +0000 (13:26 -0800)
committerJohn Baldwin <jhb@FreeBSD.org>
Thu, 29 Nov 2018 21:26:31 +0000 (13:26 -0800)
commite61667ef1413b9fba1bb9dc78744329f8215de74
tree644516a7b05801171a146e10db60f84f677651f7
parent12951a2f080abfd23d0aae0a9a5b2c322fd25c9e
Implement the "gdb_signal_to/from_target" gdbarch methods for FreeBSD.

This fixes failures in the gdb.base/exitsignal.exp test.

gdb/ChangeLog:

PR gdb/23093
* gdb/fbsd-tdep.c (fbsd_gdb_signal_from_target)
(fbsd_gdb_signal_to_target): New.
(fbsd_init_abi): Install gdbarch "signal_from_target" and
"signal_to_target" methods.
gdb/ChangeLog
gdb/fbsd-tdep.c