diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-10-23 16:18:09 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-10-23 16:18:09 +0000 |
commit | 0a6ddd08223c066a91c9e70e863cb2a59ebc1dff (patch) | |
tree | bbc83f562118d3b6d6c1fe2a4a786f3f9ac21a4b /gdb/hpread.c | |
parent | 384ee23f420548428e348baa10bb9bdb697a1f1d (diff) | |
download | gdb-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/hpread.c')
-rw-r--r-- | gdb/hpread.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/hpread.c b/gdb/hpread.c index de1670a..36aaa07 100644 --- a/gdb/hpread.c +++ b/gdb/hpread.c @@ -75,7 +75,7 @@ struct hpread_symfile_info /* Accessor macros to get at the fields. */ #define HPUX_SYMFILE_INFO(o) \ - ((struct hpread_symfile_info *)((o)->sym_private)) + ((struct hpread_symfile_info *)((o)->deprecated_sym_private)) #define GNTT(o) (HPUX_SYMFILE_INFO(o)->gntt) #define LNTT(o) (HPUX_SYMFILE_INFO(o)->lntt) #define SLT(o) (HPUX_SYMFILE_INFO(o)->slt) @@ -1667,9 +1667,9 @@ hpread_symfile_init (struct objfile *objfile) asection *vt_section, *slt_section, *lntt_section, *gntt_section; /* Allocate struct to keep track of the symfile */ - objfile->sym_private = + objfile->deprecated_sym_private = xmalloc (sizeof (struct hpread_symfile_info)); - memset (objfile->sym_private, 0, sizeof (struct hpread_symfile_info)); + memset (objfile->deprecated_sym_private, 0, sizeof (struct hpread_symfile_info)); /* We haven't read in any types yet. */ DNTT_TYPE_VECTOR (objfile) = 0; @@ -2284,9 +2284,9 @@ hpread_build_psymtabs (struct objfile *objfile, int mainline) void hpread_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); } } |