summaryrefslogtreecommitdiff
path: root/gdb/gdb-stabs.h
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1993-10-03 23:04:25 +0000
committerStan Shebs <shebs@codesourcery.com>1993-10-03 23:04:25 +0000
commit965a5c32b7ba24badd484aec51b5c3b387ba3fb3 (patch)
tree7ffa333f3d92b768f2d94f8e7c1d5207948e58bc /gdb/gdb-stabs.h
parent47d224511678b02e22a0b63655bfeb48aa744a68 (diff)
Added new slot to objfile struct to be shared by all stab-reading formats.
Diffstat (limited to 'gdb/gdb-stabs.h')
-rw-r--r--gdb/gdb-stabs.h4
1 files changed, 2 insertions, 2 deletions
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)