aboutsummaryrefslogtreecommitdiff
path: root/gdb/minsyms.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/minsyms.h')
-rw-r--r--gdb/minsyms.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/minsyms.h b/gdb/minsyms.h
index b05ca2b..0d9b9ad 100644
--- a/gdb/minsyms.h
+++ b/gdb/minsyms.h
@@ -20,6 +20,7 @@
#ifndef MINSYMS_H
#define MINSYMS_H
+struct program_space;
struct type;
/* Several lookup functions return both a minimal symbol and the
@@ -205,7 +206,8 @@ unsigned int msymbol_hash_iw (const char *);
symbols are still preferred). Returns a bound minimal symbol that
matches, or an empty bound minimal symbol if no match is found. */
-bound_minimal_symbol lookup_minimal_symbol (const char *name,
+bound_minimal_symbol lookup_minimal_symbol (program_space *pspace,
+ const char *name,
objfile *obj = nullptr,
const char *sfile = nullptr);