+2004-05-03 Joel Brobecker <brobecker@gnat.com>
+
+ * dwarf2read.c (dwarf2_create_include_psymtab): Fix build
+ failure detected by recent versions of GCC.
+ (psymtab_to_symtab_1): No longer use the PST_PRIVATE macro
+ to be consistent with the usage in dwarf2_create_include_psymtab.
+
2004-05-03 Michael Snyder <msnyder@redhat.com>
* mips-tdep.c (mips_gdbarch_init): Fix typo in comment.
/* No private part is necessary for include psymtabs. This property
can be used to differentiate between such include psymtabs and
the regular ones. If it ever happens that a regular psymtab can
- legitimally have a NULL PST_PRIVATE part, then we'll have to add a
+ legitimally have a NULL private part, then we'll have to add a
dedicated field for that in the dwarf2_pinfo structure. */
- PST_PRIVATE (subpst) = NULL;
+ subpst->read_symtab_private = NULL;
}
/* Read the Line Number Program data and extract the list of files
psymtab_to_symtab_1 (pst->dependencies[i]);
}
- if (PST_PRIVATE (pst) == NULL)
+ if (pst->read_symtab_private == NULL)
{
/* It's an include file, no symbols to read for it.
Everything is in the parent symtab. */