aboutsummaryrefslogtreecommitdiff
path: root/gdb/psympriv.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/psympriv.h')
-rw-r--r--gdb/psympriv.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/gdb/psympriv.h b/gdb/psympriv.h
index 370ce86..16b9b83 100644
--- a/gdb/psympriv.h
+++ b/gdb/psympriv.h
@@ -82,7 +82,9 @@ struct partial_symtab
struct partial_symtab *next;
- /* Name of the source file which this partial_symtab defines. */
+ /* Name of the source file which this partial_symtab defines,
+ or if the psymtab is anonymous then a descriptive name for
+ debugging purposes, or "". It must not be NULL. */
const char *filename;
@@ -182,6 +184,10 @@ struct partial_symtab
unsigned char psymtabs_addrmap_supported;
+ /* True if the name of this partial symtab is not a source file name. */
+
+ unsigned char anonymous;
+
/* A flag that is temporarily used when searching psymtabs. */
ENUM_BITFIELD (psymtab_search_status) searched_flag : 2;