aboutsummaryrefslogtreecommitdiff
path: root/gdb/xml-tdesc.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2010-09-24 18:35:28 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2010-09-24 18:35:28 +0000
commit1736ad1102dd931b269a5b900f05846442a0566a (patch)
treee3131e752934a3c0b54286a6c79537917ea697d7 /gdb/xml-tdesc.c
parent4b5246aacb9c434034c9b0dc83bef1239aa55451 (diff)
downloadgdb-1736ad1102dd931b269a5b900f05846442a0566a.zip
gdb-1736ad1102dd931b269a5b900f05846442a0566a.tar.gz
gdb-1736ad1102dd931b269a5b900f05846442a0566a.tar.bz2
gdb/
Fix lost siginfo_t for inferior calls. * infrun.c (struct inferior_thread_state) <siginfo_gdbarch, siginfo_data>: New. (save_inferior_thread_state): New variables regcache, gdbarch and siginfo_data. Initialize SIGINFO_DATA if gdbarch_get_siginfo_type_p. Move INF_STATE allocation later, pre-clear it. Initialize REGISTERS using REGCACHE. (restore_inferior_thread_state): New variables regcache and gdbarch. Restore SIGINFO_DATA for matching GDBARCH. Restore REGISTERS using REGCACHE. Free also SIGINFO_DATA. gdb/testsuite/ Fix lost siginfo_t for inferior calls. * gdb.base/siginfo-infcall.exp: New file. * gdb.base/siginfo-infcall.c: New file.
Diffstat (limited to 'gdb/xml-tdesc.c')
0 files changed, 0 insertions, 0 deletions