From: Jan Kratochvil Date: Sun, 25 Jul 2010 09:31:12 +0000 (+0000) Subject: gdb/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=857d11d04f4da0befb66d98a7a7b7c98ad4c92e5;p=binutils-gdb.git gdb/ * linux-nat.c (linux_nat_do_thread_registers): Convert STOP_SIGNAL to the host signal first. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f89375e728f..9908178063a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2010-07-25 Jan Kratochvil + + * linux-nat.c (linux_nat_do_thread_registers): Convert STOP_SIGNAL to + the host signal first. + 2010-07-23 Tom Tromey * dwarf2read.c (struct dwarf2_per_objfile) sect_name, ".reg") == 0) note_data = (char *) elfcore_write_prstatus (obfd, note_data, note_size, - lwp, stop_signal, gdb_regset); + lwp, target_signal_to_host (stop_signal), + gdb_regset); else note_data = (char *) elfcore_write_register_note (obfd, note_data, note_size, @@ -4217,11 +4218,9 @@ linux_nat_do_thread_registers (bfd *obfd, ptid_t ptid, else fill_gregset (regcache, &gregs, -1); - note_data = (char *) elfcore_write_prstatus (obfd, - note_data, - note_size, - lwp, - stop_signal, &gregs); + note_data = (char *) elfcore_write_prstatus + (obfd, note_data, note_size, lwp, target_signal_to_host (stop_signal), + &gregs); if (core_regset_p && (regset = gdbarch_regset_from_core_section (gdbarch, ".reg2",