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/configure.tgt | |
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/configure.tgt')
-rw-r--r-- | gdb/configure.tgt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/configure.tgt b/gdb/configure.tgt index 7fe0807..6706f84 100644 --- a/gdb/configure.tgt +++ b/gdb/configure.tgt @@ -199,7 +199,7 @@ i[34567]86-*-netbsd* | i[34567]86-*-knetbsd*-gnu) i[34567]86-*-openbsd*) # Target: OpenBSD/i386 gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386obsd-tdep.o \ - bsd-uthread.o solib-svr4.o" + obsd-tdep.o bsd-uthread.o solib-svr4.o" ;; i[34567]86-*-nto*) # Target: Intel 386 running qnx6. @@ -685,7 +685,7 @@ x86_64-*-openbsd*) # Target: OpenBSD/amd64 gdb_target_obs="amd64-tdep.o amd64obsd-tdep.o i386-tdep.o \ i387-tdep.o i386bsd-tdep.o i386obsd-tdep.o \ - bsd-uthread.o solib-svr4.o" + obsd-tdep.o bsd-uthread.o solib-svr4.o" ;; xtensa*-*-linux*) gdb_target=linux # Target: GNU/Linux Xtensa |