From 965a5c32b7ba24badd484aec51b5c3b387ba3fb3 Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Sun, 3 Oct 1993 23:04:25 +0000 Subject: Added new slot to objfile struct to be shared by all stab-reading formats. --- gdb/gdb-stabs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/gdb-stabs.h') diff --git a/gdb/gdb-stabs.h b/gdb/gdb-stabs.h index c77a23089d..706dfd86b8 100644 --- a/gdb/gdb-stabs.h +++ b/gdb/gdb-stabs.h @@ -51,7 +51,7 @@ struct stab_section_info { }; /* Information is passed among various dbxread routines for accessing - symbol files. A pointer to this structure is kept in the sym_private + symbol files. A pointer to this structure is kept in the sym_stab_info field of the objfile struct. */ struct dbx_symfile_info { @@ -65,7 +65,7 @@ struct dbx_symfile_info { of the original .o files before linking. */ }; -#define DBX_SYMFILE_INFO(o) ((struct dbx_symfile_info *)((o)->sym_private)) +#define DBX_SYMFILE_INFO(o) ((struct dbx_symfile_info *)((o)->sym_stab_info)) #define DBX_TEXT_SECT(o) (DBX_SYMFILE_INFO(o)->text_sect) #define DBX_SYMCOUNT(o) (DBX_SYMFILE_INFO(o)->symcount) #define DBX_STRINGTAB(o) (DBX_SYMFILE_INFO(o)->stringtab) -- cgit v1.2.3