aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.h
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2014-11-18 09:28:32 -0800
committerDoug Evans <xdje42@gmail.com>2014-11-18 09:28:32 -0800
commitee6f8984bbdbf340816a7f2aebe736f100601b22 (patch)
treec72d2b7fa498e90ac7f679a9ba48e940f523dfa5 /gdb/symtab.h
parenteb822aa6d0f2cdc1a3125da084b96c5bbe32cb86 (diff)
downloadgdb-ee6f8984bbdbf340816a7f2aebe736f100601b22.zip
gdb-ee6f8984bbdbf340816a7f2aebe736f100601b22.tar.gz
gdb-ee6f8984bbdbf340816a7f2aebe736f100601b22.tar.bz2
SYMTAB_DIRNAME: New macro.
gdb/ChangeLog: * symtab.h (SYMTAB_DIRNAME): New macro. All uses of member symtab.dirname updated to use it.
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r--gdb/symtab.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h
index fdedd59..e545506 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -984,6 +984,7 @@ struct symtab
#define LINETABLE(symtab) (symtab)->linetable
#define SYMTAB_OBJFILE(symtab) ((symtab)->objfile)
#define SYMTAB_PSPACE(symtab) (SYMTAB_OBJFILE (symtab)->pspace)
+#define SYMTAB_DIRNAME(symtab) ((symtab)->dirname)
/* Call this to set the "primary" field in struct symtab. */
extern void set_symtab_primary (struct symtab *, int primary);