summaryrefslogtreecommitdiff
path: root/gdb/disasm.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/disasm.c
parentee6f8984bbdbf340816a7f2aebe736f100601b22 (diff)
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/disasm.c')
-rw-r--r--gdb/disasm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/disasm.c b/gdb/disasm.c
index 365aa94f09..52d6a0f893 100644
--- a/gdb/disasm.c
+++ b/gdb/disasm.c
@@ -417,15 +417,15 @@ gdb_disassembly (struct gdbarch *gdbarch, struct ui_out *uiout,
/* Assume symtab is valid for whole PC range. */
symtab = find_pc_line_symtab (low);
- if (symtab != NULL && symtab->linetable != NULL)
+ if (symtab != NULL && SYMTAB_LINETABLE (symtab) != NULL)
{
/* Convert the linetable to a bunch of my_line_entry's. */
- le = symtab->linetable->item;
- nlines = symtab->linetable->nitems;
+ le = SYMTAB_LINETABLE (symtab)->item;
+ nlines = SYMTAB_LINETABLE (symtab)->nitems;
}
if (!(flags & DISASSEMBLY_SOURCE) || nlines <= 0
- || symtab == NULL || symtab->linetable == NULL)
+ || symtab == NULL || SYMTAB_LINETABLE (symtab) == NULL)
do_assembly_only (gdbarch, uiout, &di, low, high, how_many, flags, stb);
else if (flags & DISASSEMBLY_SOURCE)