Add PR mention to previous commit
[deliverable/binutils-gdb.git] / gdb / minsyms.h
index e763f62aa36b7c5934bd86f2997a1787968dada9..dc517254e9e8eb406b0fc57ffe8c8e740c5c4f1f 100644 (file)
@@ -20,6 +20,8 @@
 #ifndef MINSYMS_H
 #define MINSYMS_H
 
+struct type;
+
 /* Several lookup functions return both a minimal symbol and the
    objfile in which it is found.  This structure is used in these
    cases.  */
@@ -275,4 +277,11 @@ void iterate_over_minimal_symbols (struct objfile *objf,
 
 CORE_ADDR minimal_symbol_upper_bound (struct bound_minimal_symbol minsym);
 
+/* Return the type of MSYMBOL, a minimal symbol of OBJFILE.  If
+   ADDRESS_P is not NULL, set it to the MSYMBOL's resolved
+   address.  */
+
+type *find_minsym_type_and_address (minimal_symbol *msymbol, objfile *objf,
+                                   CORE_ADDR *address_p);
+
 #endif /* MINSYMS_H */
This page took 0.024547 seconds and 4 git commands to generate.