aboutsummaryrefslogtreecommitdiff
path: root/gdb/nlmread.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/nlmread.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/nlmread.c')
-rw-r--r--gdb/nlmread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/nlmread.c b/gdb/nlmread.c
index b2a6a35..1aa9a22 100644
--- a/gdb/nlmread.c
+++ b/gdb/nlmread.c
@@ -211,9 +211,9 @@ nlm_symfile_read (struct objfile *objfile, int mainline)
static void
nlm_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);
}
}