diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2009-08-17 20:09:38 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2009-08-17 20:09:38 +0000 |
commit | ff3536bc839654611f072ec3a77451eba1c47342 (patch) | |
tree | 9cbfe9767f0df13889460a637e0cefbe05828a19 /gdb/symfile.c | |
parent | 872761f485e2b7d1a0c76fa7aab96b4c13ae941b (diff) | |
download | gdb-ff3536bc839654611f072ec3a77451eba1c47342.zip gdb-ff3536bc839654611f072ec3a77451eba1c47342.tar.gz gdb-ff3536bc839654611f072ec3a77451eba1c47342.tar.bz2 |
* symfile.c (reread_symbols): Call objfiles_changed *before*
calling clear_symtab_users.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r-- | gdb/symfile.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c index e30b613..5151966 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -2467,13 +2467,13 @@ reread_symbols (void) if (reread_one) { + /* Notify objfiles that we've modified objfile sections. */ + objfiles_changed (); + clear_symtab_users (); /* At least one objfile has changed, so we can consider that the executable we're debugging has changed too. */ observer_notify_executable_changed (); - - /* Notify objfiles that we've modified objfile sections. */ - objfiles_changed (); } } |