aboutsummaryrefslogtreecommitdiff
path: root/gdb/coffread.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-10-23 16:18:09 +0000
committerAndrew Cagney <cagney@redhat.com>2004-10-23 16:18:09 +0000
commit0a6ddd08223c066a91c9e70e863cb2a59ebc1dff (patch)
treebbc83f562118d3b6d6c1fe2a4a786f3f9ac21a4b /gdb/coffread.c
parent384ee23f420548428e348baa10bb9bdb697a1f1d (diff)
downloadgdb-0a6ddd08223c066a91c9e70e863cb2a59ebc1dff.zip
gdb-0a6ddd08223c066a91c9e70e863cb2a59ebc1dff.tar.gz
gdb-0a6ddd08223c066a91c9e70e863cb2a59ebc1dff.tar.bz2
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.
Diffstat (limited to 'gdb/coffread.c')
-rw-r--r--gdb/coffread.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/gdb/coffread.c b/gdb/coffread.c
index 2f6790e..ebbe6db 100644
--- a/gdb/coffread.c
+++ b/gdb/coffread.c
@@ -436,16 +436,16 @@ static void
coff_symfile_init (struct objfile *objfile)
{
/* Allocate struct to keep track of stab reading. */
- objfile->sym_stab_info = (struct dbx_symfile_info *)
+ objfile->deprecated_sym_stab_info = (struct dbx_symfile_info *)
xmalloc (sizeof (struct dbx_symfile_info));
- memset (objfile->sym_stab_info, 0,
+ memset (objfile->deprecated_sym_stab_info, 0,
sizeof (struct dbx_symfile_info));
/* Allocate struct to keep track of the symfile */
- objfile->sym_private = xmalloc (sizeof (struct coff_symfile_info));
+ objfile->deprecated_sym_private = xmalloc (sizeof (struct coff_symfile_info));
- memset (objfile->sym_private, 0, sizeof (struct coff_symfile_info));
+ memset (objfile->deprecated_sym_private, 0, sizeof (struct coff_symfile_info));
/* COFF objects may be reordered, so set OBJF_REORDERED. If we
find this causes a significant slowdown in gdb then we could
@@ -512,8 +512,8 @@ coff_symfile_read (struct objfile *objfile, int mainline)
int len;
char * target;
- info = (struct coff_symfile_info *) objfile->sym_private;
- dbxinfo = objfile->sym_stab_info;
+ info = (struct coff_symfile_info *) objfile->deprecated_sym_private;
+ dbxinfo = objfile->deprecated_sym_stab_info;
symfile_bfd = abfd; /* Kludge for swap routines */
/* WARNING WILL ROBINSON! ACCESSING BFD-PRIVATE DATA HERE! FIXME! */
@@ -659,9 +659,9 @@ coff_new_init (struct objfile *ignore)
static void
coff_symfile_finish (struct objfile *objfile)
{
- if (objfile->sym_private != NULL)
+ if (objfile->deprecated_sym_private != NULL)
{
- xfree (objfile->sym_private);
+ xfree (objfile->deprecated_sym_private);
}
/* Let stabs reader clean up */