Factor out the common code in lookup_{static,global}_symbol
[external/binutils.git] / gdb / mdebugread.h
index 3f7b5e7..1b94ff8 100644 (file)
@@ -1,6 +1,6 @@
 /* Read a symbol table in ECOFF format (Third-Eye).
 
-   Copyright (C) 2004, 2007 Free Software Foundation, Inc.
+   Copyright (C) 2004-2019 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -28,8 +28,8 @@
 
 struct mdebug_extra_func_info
 {
-  long numargs;                /* number of args to procedure (was iopt) */
-  PDR pdr;                     /* Procedure descriptor record */
+  long numargs;                /* Number of args to procedure (was iopt).  */
+  PDR pdr;             /* Procedure descriptor record.  */
 };
 
 /* Special symbol found in blocks associated with routines.  We can
@@ -37,4 +37,13 @@ struct mdebug_extra_func_info
 
 #define MDEBUG_EFI_SYMBOL_NAME "__GDB_EFI_INFO__"
 
+extern void mdebug_build_psymtabs (minimal_symbol_reader &,
+                                  struct objfile *,
+                                  const struct ecoff_debug_swap *,
+                                  struct ecoff_debug_info *);
+
+extern void elfmdebug_build_psymtabs (struct objfile *,
+                                     const struct ecoff_debug_swap *,
+                                     asection *);
+
 #endif /* MDEBUGREAD_H */