projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change all_objfiles_safe adapter to be a method on program_space
[deliverable/binutils-gdb.git]
/
gdb
/
objfiles.c
diff --git
a/gdb/objfiles.c
b/gdb/objfiles.c
index 02b1a9d06433d6f7be01a65bf173488494d2b025..82400a4fe89a1b34d4168115f3d370dfd5d869f3 100644
(file)
--- a/
gdb/objfiles.c
+++ b/
gdb/objfiles.c
@@
-514,7
+514,7
@@
objfile_separate_debug_iterate (const struct objfile *parent,
/* Put one object file before a specified on in the global list.
This can be used to make sure an object file is destroyed before
/* Put one object file before a specified on in the global list.
This can be used to make sure an object file is destroyed before
- another when using
all_
objfiles_safe to free all objfiles. */
+ another when using objfiles_safe to free all objfiles. */
void
put_objfile_before (struct objfile *objfile, struct objfile *before_this)
{
void
put_objfile_before (struct objfile *objfile, struct objfile *before_this)
{
@@
-587,7
+587,7
@@
add_separate_debug_objfile (struct objfile *objfile, struct objfile *parent)
parent->separate_debug_objfile = objfile;
/* Put the separate debug object before the normal one, this is so that
parent->separate_debug_objfile = objfile;
/* Put the separate debug object before the normal one, this is so that
- usage of
all_
objfiles_safe will stay safe. */
+ usage of objfiles_safe will stay safe. */
put_objfile_before (objfile, parent);
}
put_objfile_before (objfile, parent);
}
@@
-735,7
+735,7
@@
free_all_objfiles (void)
for (so = master_so_list (); so; so = so->next)
gdb_assert (so->objfile == NULL);
for (so = master_so_list (); so; so = so->next)
gdb_assert (so->objfile == NULL);
- for (objfile *objfile :
all_objfiles_safe (current_program_space
))
+ for (objfile *objfile :
current_program_space->objfiles_safe (
))
delete objfile;
clear_symtab_users (0);
}
delete objfile;
clear_symtab_users (0);
}
@@
-1044,7
+1044,7
@@
have_full_symbols (void)
void
objfile_purge_solibs (void)
{
void
objfile_purge_solibs (void)
{
- for (objfile *objf :
all_objfiles_safe (current_program_space
))
+ for (objfile *objf :
current_program_space->objfiles_safe (
))
{
/* We assume that the solib package has been purged already, or will
be soon. */
{
/* We assume that the solib package has been purged already, or will
be soon. */
This page took
0.026019 seconds
and
4
git commands to generate.