aboutsummaryrefslogtreecommitdiff
path: root/gdb/objfiles.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/objfiles.h')
-rw-r--r--gdb/objfiles.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/objfiles.h b/gdb/objfiles.h
index 78a6061..f8b887f 100644
--- a/gdb/objfiles.h
+++ b/gdb/objfiles.h
@@ -240,6 +240,11 @@ struct objfile
PTR sym_private;
+ /* Hook for other info specific to this objfile. This must point to
+ memory allocated on one of the obstacks in this objfile, so that it
+ gets freed automatically when reading a new object file. */
+
+ PTR obj_private;
};
/* Defines for the objfile flag word. */