diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1995-04-21 13:19:22 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1995-04-21 13:19:22 +0000 |
commit | 989d9cbac846036a85f6c7160e3ee9a534d0cfc5 (patch) | |
tree | 801d0887c5b75e70645dccb0ede7742cd54abffa /gdb/mdebugread.c | |
parent | 4c92f0648f8327a6e150832936112142fb7684ca (diff) | |
download | gdb-989d9cbac846036a85f6c7160e3ee9a534d0cfc5.zip gdb-989d9cbac846036a85f6c7160e3ee9a534d0cfc5.tar.gz gdb-989d9cbac846036a85f6c7160e3ee9a534d0cfc5.tar.bz2 |
* dwarfread.c (struct dwfinfo), dbxread.c (struct symloc),
mdebugread.c (struct symloc), hpread.c (struct symloc): Clean
up comments.
Diffstat (limited to 'gdb/mdebugread.c')
-rw-r--r-- | gdb/mdebugread.c | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c index 7bf8e4f..9499f66 100644 --- a/gdb/mdebugread.c +++ b/gdb/mdebugread.c @@ -97,34 +97,34 @@ typedef struct mips_extra_func_info { #ifndef ECOFF_REG_TO_REGNUM #define ECOFF_REG_TO_REGNUM(num) (num) #endif - -/* Each partial symbol table entry contains a pointer to private data - for the read_symtab() function to use when expanding a partial - symbol table entry to a full symbol table entry. - - For mdebugread this structure contains the index of the FDR that this - psymtab represents and a pointer to the BFD that the psymtab was - created from. */ - -#define PST_PRIVATE(p) ((struct symloc *)(p)->read_symtab_private) -#define FDR_IDX(p) (PST_PRIVATE(p)->fdr_idx) -#define CUR_BFD(p) (PST_PRIVATE(p)->cur_bfd) -#define DEBUG_SWAP(p) (PST_PRIVATE(p)->debug_swap) -#define DEBUG_INFO(p) (PST_PRIVATE(p)->debug_info) -#define PENDING_LIST(p) (PST_PRIVATE(p)->pending_list) + +/* Each partial symbol table entry contains a pointer to private data for the + sym_read function to use when expanding a partial symbol table entry + to a full symbol table entry. */ struct symloc { + /* Index of the FDR that this psymtab represents. */ int fdr_idx; + /* The BFD that the psymtab was created from. */ bfd *cur_bfd; const struct ecoff_debug_swap *debug_swap; struct ecoff_debug_info *debug_info; struct mdebug_pending **pending_list; - EXTR *extern_tab; /* Pointer to external symbols for this file. */ - int extern_count; /* Size of extern_tab. */ + /* Pointer to external symbols for this file. */ + EXTR *extern_tab; + /* Size of extern_tab. */ + int extern_count; enum language pst_language; }; +#define PST_PRIVATE(p) ((struct symloc *)(p)->read_symtab_private) +#define FDR_IDX(p) (PST_PRIVATE(p)->fdr_idx) +#define CUR_BFD(p) (PST_PRIVATE(p)->cur_bfd) +#define DEBUG_SWAP(p) (PST_PRIVATE(p)->debug_swap) +#define DEBUG_INFO(p) (PST_PRIVATE(p)->debug_info) +#define PENDING_LIST(p) (PST_PRIVATE(p)->pending_list) + /* Things we import explicitly from other modules */ extern int info_verbose; |