* rs6000-nat.c (vmap_ldinfo, xcoff_relocate_core): Call
target_new_objfile_hook.
+2002-07-12 Kevin Buettner <kevinb@redhat.com>
+
+ From Nicholas Duffek:
+ * rs6000-nat.c (vmap_ldinfo, xcoff_relocate_core): Call
+ target_new_objfile_hook.
+
2002-07-12 Kevin Buettner <kevinb@redhat.com>
From Nicholas Duffek:
/* relocate symbol table(s). */
vmap_symtab (vp);
+ /* Announce new object files. Doing this after symbol relocation
+ makes aix-thread.c's job easier. */
+ if (target_new_objfile_hook && vp->objfile)
+ target_new_objfile_hook (vp->objfile);
+
/* There may be more, so we don't break out of the loop. */
}
}
vmap_symtab (vp);
+
+ if (target_new_objfile_hook && vp != vmap && vp->objfile)
+ target_new_objfile_hook (vp->objfile);
}
while (LDI_NEXT (ldi, arch64) != 0);
vmap_exec ();