projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Multi-target support
[deliverable/binutils-gdb.git]
/
gdb
/
linux-tdep.c
diff --git
a/gdb/linux-tdep.c
b/gdb/linux-tdep.c
index 59d04c490a621741bcc3636217b71c0a307199d3..820657a1038ed05d96ad0506e6aa319e822e9228 100644
(file)
--- a/
gdb/linux-tdep.c
+++ b/
gdb/linux-tdep.c
@@
-1651,7
+1651,8
@@
linux_corefile_thread (struct thread_info *info,
{
struct regcache *regcache;
{
struct regcache *regcache;
- regcache = get_thread_arch_regcache (info->ptid, args->gdbarch);
+ regcache = get_thread_arch_regcache (info->inf->process_target (),
+ info->ptid, args->gdbarch);
target_fetch_registers (regcache, -1);
gdb::byte_vector siginfo_data = linux_get_siginfo_data (info, args->gdbarch);
target_fetch_registers (regcache, -1);
gdb::byte_vector siginfo_data = linux_get_siginfo_data (info, args->gdbarch);
This page took
0.026727 seconds
and
4
git commands to generate.