aboutsummaryrefslogtreecommitdiff
path: root/gdb/symmisc.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/symmisc.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/symmisc.c')
-rw-r--r--gdb/symmisc.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/symmisc.c b/gdb/symmisc.c
index 323ebd5..42e43fd 100644
--- a/gdb/symmisc.c
+++ b/gdb/symmisc.c
@@ -126,7 +126,7 @@ print_objfile_statistics (void)
ALL_OBJFILE_SYMTABS (objfile, s)
{
i++;
- if (s->linetable != NULL)
+ if (SYMTAB_LINETABLE (s) != NULL)
linetables++;
if (s->primary == 1)
blockvectors++;
@@ -308,7 +308,7 @@ dump_symtab_1 (struct objfile *objfile, struct symtab *symtab,
language_str (symtab->language));
/* First print the line table. */
- l = LINETABLE (symtab);
+ l = SYMTAB_LINETABLE (symtab);
if (l)
{
fprintf_filtered (outfile, "\nLine table:\n\n");
@@ -763,7 +763,8 @@ maintenance_info_symtabs (char *regexp, int from_tty)
symtab->primary ? " (primary)" : "");
printf_filtered (" "
"linetable ((struct linetable *) %s)\n",
- host_address_to_string (symtab->linetable));
+ host_address_to_string
+ (SYMTAB_LINETABLE (symtab)));
printf_filtered (" debugformat %s\n",
symtab->debugformat);
printf_filtered (" }\n");