aboutsummaryrefslogtreecommitdiff
path: root/gdb/mdebugread.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/mdebugread.c
parentee6f8984bbdbf340816a7f2aebe736f100601b22 (diff)
downloadfsf-binutils-gdb-8435453b810d8ab0574e509446003d10d04abfd4.zip
fsf-binutils-gdb-8435453b810d8ab0574e509446003d10d04abfd4.tar.gz
fsf-binutils-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/mdebugread.c')
-rw-r--r--gdb/mdebugread.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c
index 1d7c6ae..6a3b6dc 100644
--- a/gdb/mdebugread.c
+++ b/gdb/mdebugread.c
@@ -4190,7 +4190,7 @@ psymtab_to_symtab_1 (struct objfile *objfile,
psymtab_language = st->language;
- lines = LINETABLE (st);
+ lines = SYMTAB_LINETABLE (st);
/* Get a new lexical context. */
@@ -4280,10 +4280,11 @@ psymtab_to_symtab_1 (struct objfile *objfile,
size = lines->nitems;
if (size > 1)
--size;
- LINETABLE (st) = obstack_copy (&mdebugread_objfile->objfile_obstack,
- lines,
- (sizeof (struct linetable)
- + size * sizeof (lines->item)));
+ SYMTAB_LINETABLE (st)
+ = obstack_copy (&mdebugread_objfile->objfile_obstack,
+ lines,
+ (sizeof (struct linetable)
+ + size * sizeof (lines->item)));
xfree (lines);
/* .. and our share of externals.
@@ -4731,7 +4732,7 @@ new_symtab (const char *name, int maxlines, struct objfile *objfile)
struct symtab *s = allocate_symtab (name, objfile);
struct blockvector *bv;
- LINETABLE (s) = new_linetable (maxlines);
+ SYMTAB_LINETABLE (s) = new_linetable (maxlines);
/* All symtabs must have at least two blocks. */
bv = new_bvect (2);