aboutsummaryrefslogtreecommitdiff
path: root/gdb/arch-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/arch-utils.c')
-rw-r--r--gdb/arch-utils.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c
index 803ce1c..98cf4b8 100644
--- a/gdb/arch-utils.c
+++ b/gdb/arch-utils.c
@@ -794,8 +794,11 @@ default_gen_return_address (struct gdbarch *gdbarch,
}
enum gdb_signal
-default_gdb_signal_from_host (struct gdbarch *gdbarch, int signo)
+default_gdb_signal_from_target (struct gdbarch *gdbarch, int signo)
{
+ /* Lacking a better mapping, assume host signal numbers. If
+ debugging a cross-core, most likely this translation will be
+ incorrect. */
return gdb_signal_from_host (signo);
}