* source.c (forget_cached_source_info_for_objfile): Move call to
objfile->sf->qf->forget_cached_source_info outside of ALL_OBJFILE_SYMTABS loop. (forget_cached_source_info): Delete unused variable `s'.
This commit is contained in:
parent
6c20f2dc18
commit
6f809020fa
2 changed files with 10 additions and 4 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2011-11-05 Doug Evans <dje@google.com>
|
||||||
|
|
||||||
|
* source.c (forget_cached_source_info_for_objfile): Move call to
|
||||||
|
objfile->sf->qf->forget_cached_source_info outside of
|
||||||
|
ALL_OBJFILE_SYMTABS loop.
|
||||||
|
(forget_cached_source_info): Delete unused variable `s'.
|
||||||
|
|
||||||
2011-11-05 Jan Kratochvil <jan.kratochvil@redhat.com>
|
2011-11-05 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
|
|
||||||
* i386-nat.c (dr_ref_count): Remove unused variable.
|
* i386-nat.c (dr_ref_count): Remove unused variable.
|
||||||
|
|
|
@ -355,10 +355,10 @@ forget_cached_source_info_for_objfile (struct objfile *objfile)
|
||||||
xfree (s->fullname);
|
xfree (s->fullname);
|
||||||
s->fullname = NULL;
|
s->fullname = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (objfile->sf)
|
|
||||||
objfile->sf->qf->forget_cached_source_info (objfile);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (objfile->sf)
|
||||||
|
objfile->sf->qf->forget_cached_source_info (objfile);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Forget what we learned about line positions in source files, and
|
/* Forget what we learned about line positions in source files, and
|
||||||
|
@ -369,7 +369,6 @@ void
|
||||||
forget_cached_source_info (void)
|
forget_cached_source_info (void)
|
||||||
{
|
{
|
||||||
struct program_space *pspace;
|
struct program_space *pspace;
|
||||||
struct symtab *s;
|
|
||||||
struct objfile *objfile;
|
struct objfile *objfile;
|
||||||
|
|
||||||
ALL_PSPACES (pspace)
|
ALL_PSPACES (pspace)
|
||||||
|
|
Loading…
Reference in a new issue