diff options
Diffstat (limited to 'gdb/solist.h')
-rw-r--r-- | gdb/solist.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/solist.h b/gdb/solist.h index 7977c541fc1..6178ae5c41b 100644 --- a/gdb/solist.h +++ b/gdb/solist.h @@ -62,6 +62,8 @@ struct so_list bfd *abfd; char symbols_loaded; /* flag: symbols read in yet? */ char from_tty; /* flag: print msgs? */ + char main; /* flag: is this the main executable? */ + char main_relocated; /* flag: has it been relocated yet? */ struct objfile *objfile; /* objfile for loaded lib */ struct section_table *sections; struct section_table *sections_end; @@ -113,9 +115,15 @@ void free_so (struct so_list *so); /* Return address of first so_list entry in master shared object list. */ struct so_list *master_so_list (void); +/* Return address of first so_list entry in master shared object list. */ +struct so_list *master_so_list (void); + /* Find solib binary file and open it. */ extern int solib_open (char *in_pathname, char **found_pathname); +/* Add the list of sections in so_list to the target to_sections. */ +extern void add_to_target_sections (int, struct target_ops *, struct so_list *); + /* FIXME: gdbarch needs to control this variable */ extern struct target_so_ops *current_target_so_ops; @@ -135,4 +143,6 @@ extern struct target_so_ops *current_target_so_ops; #define TARGET_SO_FIND_AND_OPEN_SOLIB \ (current_target_so_ops->find_and_open_solib) +/* Controls the printing of debugging output. */ +extern int debug_solib; #endif |