* symfile.c (reread_symbols): Call objfiles_changed *before*
calling clear_symtab_users.
This commit is contained in:
parent
872761f485
commit
ff3536bc83
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2009-08-17 Ulrich Weigand <uweigand@de.ibm.com>
|
||||||
|
|
||||||
|
* symfile.c (reread_symbols): Call objfiles_changed *before*
|
||||||
|
calling clear_symtab_users.
|
||||||
|
|
||||||
2009-08-17 Michael Snyder <msnyder@vmware.com>
|
2009-08-17 Michael Snyder <msnyder@vmware.com>
|
||||||
|
|
||||||
* amd64-tdep.c: Add a frame unwinder for function epilogues.
|
* amd64-tdep.c: Add a frame unwinder for function epilogues.
|
||||||
|
|
|
@ -2467,13 +2467,13 @@ reread_symbols (void)
|
||||||
|
|
||||||
if (reread_one)
|
if (reread_one)
|
||||||
{
|
{
|
||||||
|
/* Notify objfiles that we've modified objfile sections. */
|
||||||
|
objfiles_changed ();
|
||||||
|
|
||||||
clear_symtab_users ();
|
clear_symtab_users ();
|
||||||
/* At least one objfile has changed, so we can consider that
|
/* At least one objfile has changed, so we can consider that
|
||||||
the executable we're debugging has changed too. */
|
the executable we're debugging has changed too. */
|
||||||
observer_notify_executable_changed ();
|
observer_notify_executable_changed ();
|
||||||
|
|
||||||
/* Notify objfiles that we've modified objfile sections. */
|
|
||||||
objfiles_changed ();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue