diff options
Diffstat (limited to 'gdb/ppc-linux-tdep.c')
-rw-r--r-- | gdb/ppc-linux-tdep.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/ppc-linux-tdep.c b/gdb/ppc-linux-tdep.c index 9c35fa4..48bf56d 100644 --- a/gdb/ppc-linux-tdep.c +++ b/gdb/ppc-linux-tdep.c @@ -1788,10 +1788,8 @@ ppc_linux_spe_context_lookup (struct objfile *objfile) static void ppc_linux_spe_context_inferior_created (struct target_ops *t, int from_tty) { - struct objfile *objfile; - ppc_linux_spe_context_lookup (NULL); - ALL_OBJFILES (objfile) + for (objfile *objfile : all_objfiles (current_program_space)) ppc_linux_spe_context_lookup (objfile); } |