projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gas: Update commit 4780e5e4933
[binutils-gdb.git]
/
gdb
/
progspace.c
diff --git
a/gdb/progspace.c
b/gdb/progspace.c
index e3cc6929a2369fc78f7b7ac722899efe14dee8c6..7080bf8ee2707f0aacd3a7db6d620703e18b6ab4 100644
(file)
--- a/
gdb/progspace.c
+++ b/
gdb/progspace.c
@@
-404,7
+404,6
@@
void
update_address_spaces (void)
{
int shared_aspace = gdbarch_has_shared_address_space (target_gdbarch ());
update_address_spaces (void)
{
int shared_aspace = gdbarch_has_shared_address_space (target_gdbarch ());
- struct inferior *inf;
init_address_spaces ();
init_address_spaces ();
@@
-423,7
+422,7
@@
update_address_spaces (void)
pspace->aspace = new_address_space ();
}
pspace->aspace = new_address_space ();
}
- for (inf
= inferior_list; inf; inf = inf->next
)
+ for (inf
erior *inf : all_inferiors ()
)
if (gdbarch_has_global_solist (target_gdbarch ()))
inf->aspace = maybe_new_address_space ();
else
if (gdbarch_has_global_solist (target_gdbarch ()))
inf->aspace = maybe_new_address_space ();
else