aboutsummaryrefslogtreecommitdiff
path: root/gdb/jit.c
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2014-11-18 09:32:10 -0800
committerDoug Evans <xdje42@gmail.com>2014-11-18 09:32:10 -0800
commit8435453b810d8ab0574e509446003d10d04abfd4 (patch)
tree81596d7c347ed52caa1edb74412662b1c54f24b1 /gdb/jit.c
parentee6f8984bbdbf340816a7f2aebe736f100601b22 (diff)
downloadgdb-8435453b810d8ab0574e509446003d10d04abfd4.zip
gdb-8435453b810d8ab0574e509446003d10d04abfd4.tar.gz
gdb-8435453b810d8ab0574e509446003d10d04abfd4.tar.bz2
symtab.h (SYMTAB_LINETABLE): Renamed from LINETABLE. All uses updated.
gdb/ChangeLog: * symtab.h (SYMTAB_LINETABLE): Renamed from LINETABLE. All uses updated.
Diffstat (limited to 'gdb/jit.c')
-rw-r--r--gdb/jit.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/jit.c b/gdb/jit.c
index 4810018..1541e04 100644
--- a/gdb/jit.c
+++ b/gdb/jit.c
@@ -653,12 +653,13 @@ finalize_symtab (struct gdb_symtab *stab, struct objfile *objfile)
size_t size = ((stab->linetable->nitems - 1)
* sizeof (struct linetable_entry)
+ sizeof (struct linetable));
- LINETABLE (symtab) = obstack_alloc (&objfile->objfile_obstack, size);
- memcpy (LINETABLE (symtab), stab->linetable, size);
+ SYMTAB_LINETABLE (symtab) = obstack_alloc (&objfile->objfile_obstack,
+ size);
+ memcpy (SYMTAB_LINETABLE (symtab), stab->linetable, size);
}
else
{
- LINETABLE (symtab) = NULL;
+ SYMTAB_LINETABLE (symtab) = NULL;
}
blockvector_size = (sizeof (struct blockvector)