diff options
author | Paul Pluzhnikov <ppluzhnikov@google.com> | 2009-07-22 19:21:31 +0000 |
---|---|---|
committer | Paul Pluzhnikov <ppluzhnikov@google.com> | 2009-07-22 19:21:31 +0000 |
commit | bb27289292f0e336ddd783e7781a00363fcd2e12 (patch) | |
tree | 0a270aaf4446efb26e27024b5369e64bd8d015b6 /gdb/symfile.c | |
parent | 9a9dc473d39e49f68831872db45e427bc2feebd1 (diff) | |
download | gdb-bb27289292f0e336ddd783e7781a00363fcd2e12.zip gdb-bb27289292f0e336ddd783e7781a00363fcd2e12.tar.gz gdb-bb27289292f0e336ddd783e7781a00363fcd2e12.tar.bz2 |
2009-07-22 Paul Pluzhnikov <ppluzhnikov@google.com>
* objfiles.h (objfiles_changed): New prototype.
* objfiles.c (objfiles_updated_p): Rename to objfiles_changed_p.
(allocate_objfile, free_objfile): Must rebuild section map.
(objfile_relocate): Likewise.
(update_section_map, find_pc_section): Adjust.
(set_objfiles_updated_on_exe_change): Remove.
(set_objfiles_updated_on_solib_activity): Remove.
(_initialize_objfiles): Remove.
(objfiles_changed): New function.
* symfile.c (reread_symbols): Call objfiles_changed.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r-- | gdb/symfile.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c index 4dd9c1c..bbdb3ca 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -2457,8 +2457,10 @@ reread_symbols (void) /* 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 (); } - } |