diff options
author | Doug Evans <xdje42@gmail.com> | 2014-11-18 09:32:10 -0800 |
---|---|---|
committer | Doug Evans <xdje42@gmail.com> | 2014-11-18 09:32:10 -0800 |
commit | 8435453b810d8ab0574e509446003d10d04abfd4 (patch) | |
tree | 81596d7c347ed52caa1edb74412662b1c54f24b1 /gdb/disasm.c | |
parent | ee6f8984bbdbf340816a7f2aebe736f100601b22 (diff) | |
download | gdb-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/disasm.c')
-rw-r--r-- | gdb/disasm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/disasm.c b/gdb/disasm.c index 365aa94..52d6a0f 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) |