diff options
author | Pedro Alves <palves@redhat.com> | 2012-03-01 21:11:23 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2012-03-01 21:11:23 +0000 |
commit | ed01b82c02dfcd2b9650505045bac2ca8b3122fb (patch) | |
tree | 8c05ee36fc16d3bd1019095c88cec052ea2ed4c0 /gdb/arch-utils.c | |
parent | c9b873354a17fb8e065e86cb32117524ea796375 (diff) | |
download | gdb-ed01b82c02dfcd2b9650505045bac2ca8b3122fb.zip gdb-ed01b82c02dfcd2b9650505045bac2ca8b3122fb.tar.gz gdb-ed01b82c02dfcd2b9650505045bac2ca8b3122fb.tar.bz2 |
2012-03-01 Pedro Alves <palves@redhat.com>
* common/signals.c (default_target_signal_to_host)
(default_target_signal_from_host): Move ...
* arch-utils.c: ... here.
* arch-utils.h (default_target_signal_to_host)
(default_target_signal_from_host): Declare.
* common/signals.c (target_signal_from_command): Move ...
* infrun.c: ... here.
* inferior.h (target_signal_from_command): Declare.
* target.h (target_signal_from_command)
(default_target_signal_from_host, default_target_signal_to_host):
Delete declarations.
* common/signals.c (_initialize_signals): Delete.
Diffstat (limited to 'gdb/arch-utils.c')
-rw-r--r-- | gdb/arch-utils.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c index e683a2d..fabb515 100644 --- a/gdb/arch-utils.c +++ b/gdb/arch-utils.c @@ -793,6 +793,18 @@ default_gen_return_address (struct gdbarch *gdbarch, error (_("This architecture has no method to collect a return address.")); } +int +default_target_signal_to_host (struct gdbarch *gdbarch, enum target_signal ts) +{ + return target_signal_to_host (ts); +} + +enum target_signal +default_target_signal_from_host (struct gdbarch *gdbarch, int signo) +{ + return target_signal_from_host (signo); +} + /* */ /* -Wmissing-prototypes */ |