diff options
author | Mark Kettenis <kettenis@gnu.org> | 2014-02-12 12:08:28 +0100 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2014-02-12 12:08:28 +0100 |
commit | 93ffa5b939aef24f7530a8a400f877bfb24f0a73 (patch) | |
tree | 85d703faf68dc1db3d2b1d939c08ff61dd2b69ed /gdb/obsd-tdep.h | |
parent | 6fb526eee4244d591705cf90016390f12949bcc2 (diff) | |
download | gdb-93ffa5b939aef24f7530a8a400f877bfb24f0a73.zip gdb-93ffa5b939aef24f7530a8a400f877bfb24f0a73.tar.gz gdb-93ffa5b939aef24f7530a8a400f877bfb24f0a73.tar.bz2 |
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.
Diffstat (limited to 'gdb/obsd-tdep.h')
-rw-r--r-- | gdb/obsd-tdep.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/obsd-tdep.h b/gdb/obsd-tdep.h index 24e380e..0f89277 100644 --- a/gdb/obsd-tdep.h +++ b/gdb/obsd-tdep.h @@ -23,5 +23,6 @@ struct gdbarch; CORE_ADDR obsd_skip_solib_resolver (struct gdbarch *, CORE_ADDR); +void obsd_init_abi (struct gdbarch_info, struct gdbarch *); #endif /* obsd-tdep.h */ |