projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix "Remote 'g' packet reply is too long" problems with multiple inferiors
[deliverable/binutils-gdb.git]
/
gdb
/
target.c
diff --git
a/gdb/target.c
b/gdb/target.c
index aded0ba34f12b697a3a89bf4d156dc0d35553f21..f2dccd23ced7034a35e843a7a6527bed5d993945 100644
(file)
--- a/
gdb/target.c
+++ b/
gdb/target.c
@@
-3137,7
+3137,9
@@
default_watchpoint_addr_within_range (struct target_ops *target,
static struct gdbarch *
default_thread_architecture (struct target_ops *ops, ptid_t ptid)
{
static struct gdbarch *
default_thread_architecture (struct target_ops *ops, ptid_t ptid)
{
- return target_gdbarch ();
+ inferior *inf = find_inferior_ptid (ptid);
+ gdb_assert (inf != NULL);
+ return inf->gdbarch;
}
static int
}
static int
This page took
0.023758 seconds
and
4
git commands to generate.