aboutsummaryrefslogtreecommitdiff
path: root/gdb/objfiles.h
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2009-07-22 19:21:31 +0000
committerPaul Pluzhnikov <ppluzhnikov@google.com>2009-07-22 19:21:31 +0000
commitbb27289292f0e336ddd783e7781a00363fcd2e12 (patch)
tree0a270aaf4446efb26e27024b5369e64bd8d015b6 /gdb/objfiles.h
parent9a9dc473d39e49f68831872db45e427bc2feebd1 (diff)
downloadgdb-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/objfiles.h')
-rw-r--r--gdb/objfiles.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/objfiles.h b/gdb/objfiles.h
index 60d3143..1857260 100644
--- a/gdb/objfiles.h
+++ b/gdb/objfiles.h
@@ -482,6 +482,8 @@ extern int have_partial_symbols (void);
extern int have_full_symbols (void);
+extern void objfiles_changed (void);
+
/* This operation deletes all objfile entries that represent solibs that
weren't explicitly loaded by the user, via e.g., the add-symbol-file
command.