summaryrefslogtreecommitdiff
path: root/gdb/minsyms.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/minsyms.h')
-rw-r--r--gdb/minsyms.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/minsyms.h b/gdb/minsyms.h
index ed31d32483a..519702494ed 100644
--- a/gdb/minsyms.h
+++ b/gdb/minsyms.h
@@ -28,6 +28,14 @@ struct type;
struct bound_minimal_symbol
{
+ bound_minimal_symbol (struct minimal_symbol *msym, struct objfile *objf)
+ : minsym (msym),
+ objfile (objf)
+ {
+ }
+
+ bound_minimal_symbol () = default;
+
/* The minimal symbol that was found, or NULL if no minimal symbol
was found. */