PR gdb/2343
authorAleksandar Ristovski <aristovski@qnx.com>
Thu, 1 May 2008 19:31:52 +0000 (19:31 +0000)
committerAleksandar Ristovski <aristovski@qnx.com>
Thu, 1 May 2008 19:31:52 +0000 (19:31 +0000)
commit1cded358ac11bda3c08ed79b99e304b3d120b301
treeb47e91d6b2813a039a923cf8af7b6d0839676ce3
parenta0ef42744d050b642351a3974faca030269f5504
PR gdb/2343
* corelow.c (core_open): Use gdbarch_target_signal_from_host to
translate signal numeric value from the target to GDB's enum
target_signal.
* gdbarch.c, gdbarch.h: Regenerated.
* gdbarch.sh: Added two new functions target_signal_from_host and
target_signal_to_host.
* target.h (default_target_signal_from_host,
default_target_signal_to_host): New functions - declarations.
* signals/signals.c (struct gdbarch): New declaration.
(default_target_signal_to_host, default_target_signal_from_host): New
functions.
gdb/ChangeLog
gdb/corelow.c
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh
gdb/signals/signals.c
gdb/target.h