aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-tdep.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2012-05-24 16:39:15 +0000
committerPedro Alves <palves@redhat.com>2012-05-24 16:39:15 +0000
commit2ea286498fd2ddceaf074bfbc9a2986777ea0396 (patch)
tree4360c24b1ef43fad4fa8143e65435c33f053617c /gdb/linux-tdep.c
parentb09846a918b74f0371149f730f8b391548b11a8d (diff)
downloadgdb-2ea286498fd2ddceaf074bfbc9a2986777ea0396.zip
gdb-2ea286498fd2ddceaf074bfbc9a2986777ea0396.tar.gz
gdb-2ea286498fd2ddceaf074bfbc9a2986777ea0396.tar.bz2
gdb/
2012-05-24 Pedro Alves <palves@redhat.com> PR gdb/7205 Replace target_signal with gdb_signal throughout. gdb/gdbserver/ 2012-05-24 Pedro Alves <palves@redhat.com> PR gdb/7205 Replace target_signal with gdb_signal throughout. include/gdb/ 2012-05-24 Pedro Alves <palves@redhat.com> PR gdb/7205 Replace target_signal with gdb_signal throughout. sim/common/ 2012-05-24 Pedro Alves <palves@redhat.com> PR gdb/7205 Replace target_signal with gdb_signal throughout.
Diffstat (limited to 'gdb/linux-tdep.c')
-rw-r--r--gdb/linux-tdep.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/linux-tdep.c b/gdb/linux-tdep.c
index 6198d00..861dc22 100644
--- a/gdb/linux-tdep.c
+++ b/gdb/linux-tdep.c
@@ -592,7 +592,7 @@ find_signalled_thread (struct thread_info *info, void *data)
return 0;
}
-static enum target_signal
+static enum gdb_signal
find_stop_signal (void)
{
struct thread_info *info =
@@ -683,7 +683,7 @@ static char *
linux_collect_thread_registers (const struct regcache *regcache,
ptid_t ptid, bfd *obfd,
char *note_data, int *note_size,
- enum target_signal stop_signal)
+ enum gdb_signal stop_signal)
{
struct gdbarch *gdbarch = get_regcache_arch (regcache);
struct core_regset_section *sect_list;
@@ -714,7 +714,7 @@ linux_collect_thread_registers (const struct regcache *regcache,
if (strcmp (sect_list->sect_name, ".reg") == 0)
note_data = (char *) elfcore_write_prstatus
(obfd, note_data, note_size, lwp,
- target_signal_to_host (stop_signal), buf);
+ gdb_signal_to_host (stop_signal), buf);
else
note_data = (char *) elfcore_write_register_note
(obfd, note_data, note_size,
@@ -737,7 +737,7 @@ struct linux_corefile_thread_data
char *note_data;
int *note_size;
int num_notes;
- enum target_signal stop_signal;
+ enum gdb_signal stop_signal;
linux_collect_thread_registers_ftype collect;
};