aboutsummaryrefslogtreecommitdiff
path: root/gdb/jit.c
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/jit.c
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/jit.c')
-rw-r--r--gdb/jit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/jit.c b/gdb/jit.c
index c12a72f..4810018 100644
--- a/gdb/jit.c
+++ b/gdb/jit.c
@@ -645,7 +645,7 @@ finalize_symtab (struct gdb_symtab *stab, struct objfile *objfile)
symtab = allocate_symtab (stab->file_name, objfile);
/* JIT compilers compile in memory. */
- symtab->dirname = NULL;
+ SYMTAB_DIRNAME (symtab) = NULL;
/* Copy over the linetable entry if one was provided. */
if (stab->linetable)