forked from Imagelibrary/binutils-gdb
2004-10-23 Andrew Cagney <cagney@gnu.org>
* objfiles.h (struct objfile): Rename obj_private to deprecated_obj_private, sym_private to deprecated_sym_private, and sym_stab_info to deprecated_sym_stab_info. * gdb-stabs.h: Update. * elfread.c: Update. * dbxread.c: Update. * coffread.c: Update. * xcoffread.c: Update. * symfile.c: Update. * somread.c: Update. * nlmread.c: Update. * mdebugread.c: Update. * hpread.c: Update. * coffread.c: Update.
This commit is contained in:
@@ -378,7 +378,7 @@ som_symfile_read (struct objfile *objfile, int mainline)
|
||||
hpread_build_psymtabs (objfile, mainline);
|
||||
|
||||
/* Force hppa-tdep.c to re-read the unwind descriptors. */
|
||||
objfile->obj_private = NULL;
|
||||
objfile->deprecated_obj_private = NULL;
|
||||
}
|
||||
|
||||
/* Initialize anything that needs initializing when a completely new symbol
|
||||
@@ -402,9 +402,9 @@ som_new_init (struct objfile *ignore)
|
||||
static void
|
||||
som_symfile_finish (struct objfile *objfile)
|
||||
{
|
||||
if (objfile->sym_stab_info != NULL)
|
||||
if (objfile->deprecated_sym_stab_info != NULL)
|
||||
{
|
||||
xfree (objfile->sym_stab_info);
|
||||
xfree (objfile->deprecated_sym_stab_info);
|
||||
}
|
||||
hpread_symfile_finish (objfile);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user