aboutsummaryrefslogtreecommitdiff
path: root/gdb/objfiles.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2024-05-16 16:59:32 -0400
committerSimon Marchi <simon.marchi@efficios.com>2024-07-15 14:34:12 -0400
commitda2732476dbd1b8a71510d999b6d18754d7ea58a (patch)
tree54501fd26b7c86ec654aade286c9b053a910aad3 /gdb/objfiles.h
parent3bae94c0fb82d5eb9c36c926534fced6db198d82 (diff)
downloadgdb-da2732476dbd1b8a71510d999b6d18754d7ea58a.zip
gdb-da2732476dbd1b8a71510d999b6d18754d7ea58a.tar.gz
gdb-da2732476dbd1b8a71510d999b6d18754d7ea58a.tar.bz2
gdb: pass program space to objfiles_changed
Make the current program space reference bubble up one level. Change-Id: I9b33c9e0d22c171eb1bb59ce480621b02c7b7bf7 Approved-By: Tom Tromey <tom@tromey.com> Reviewed-By: Thiago Jung Bauermann <thiago.bauermann@linaro.org>
Diffstat (limited to 'gdb/objfiles.h')
-rw-r--r--gdb/objfiles.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/objfiles.h b/gdb/objfiles.h
index 252b52e..6a4724a 100644
--- a/gdb/objfiles.h
+++ b/gdb/objfiles.h
@@ -943,7 +943,10 @@ extern bool have_full_symbols (program_space *pspace);
extern void objfile_set_sym_fns (struct objfile *objfile,
const struct sym_fns *sf);
-extern void objfiles_changed (void);
+/* Set section_map_dirty for PSPACE so the section map will be rebuilt next time
+ it is used. */
+
+extern void objfiles_changed (program_space *pspace);
/* Return true if ADDR maps into one of the sections of OBJFILE and false
otherwise. */