Do not pass NULL for the string in catch_errors
[deliverable/binutils-gdb.git] / gdb / solib.h
index c3bf529027174cc6c66917dd9666d5d73b7bbd9d..165df9c27addb288290aae042c36b95b42746d15 100644 (file)
@@ -80,15 +80,17 @@ extern int libpthread_name_p (const char *name);
 /* Look up symbol from both symbol table and dynamic string table.  */
 
 extern CORE_ADDR gdb_bfd_lookup_symbol (bfd *abfd,
-                                       int (*match_sym) (asymbol *, void *),
-                                       void *data);
+                                       int (*match_sym) (const asymbol *,
+                                                         const void *),
+                                       const void *data);
 
 /* Look up symbol from symbol table.  */
 
 extern CORE_ADDR gdb_bfd_lookup_symbol_from_symtab (bfd *abfd,
-                                                   int (*match_sym) (asymbol *,
-                                                                     void *),
-                                                   void *data);
+                                                   int (*match_sym)
+                                                     (const asymbol *,
+                                                      const void *),
+                                                   const void *data);
 
 /* Enable or disable optional solib event breakpoints as appropriate.  */
 
@@ -98,8 +100,4 @@ extern void update_solib_breakpoints (void);
 
 extern void handle_solib_event (void);
 
-/* Default validation always returns 1.  */
-
-extern char *default_solib_validate (const struct so_list *so);
-
 #endif /* SOLIB_H */
This page took 0.024165 seconds and 4 git commands to generate.