From 8435453b810d8ab0574e509446003d10d04abfd4 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Tue, 18 Nov 2014 09:32:10 -0800 Subject: symtab.h (SYMTAB_LINETABLE): Renamed from LINETABLE. All uses updated. gdb/ChangeLog: * symtab.h (SYMTAB_LINETABLE): Renamed from LINETABLE. All uses updated. --- gdb/mi/mi-symbol-cmds.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'gdb/mi') diff --git a/gdb/mi/mi-symbol-cmds.c b/gdb/mi/mi-symbol-cmds.c index e1ef0c22423..f03eb1e1081 100644 --- a/gdb/mi/mi-symbol-cmds.c +++ b/gdb/mi/mi-symbol-cmds.c @@ -52,12 +52,13 @@ mi_cmd_symbol_list_lines (char *command, char **argv, int argc) gdbarch = get_objfile_arch (SYMTAB_OBJFILE (s)); cleanup_stack = make_cleanup_ui_out_list_begin_end (uiout, "lines"); - if (LINETABLE (s) != NULL && LINETABLE (s)->nitems > 0) - for (i = 0; i < LINETABLE (s)->nitems; i++) + if (SYMTAB_LINETABLE (s) != NULL && SYMTAB_LINETABLE (s)->nitems > 0) + for (i = 0; i < SYMTAB_LINETABLE (s)->nitems; i++) { cleanup_tuple = make_cleanup_ui_out_tuple_begin_end (uiout, NULL); - ui_out_field_core_addr (uiout, "pc", gdbarch, LINETABLE (s)->item[i].pc); - ui_out_field_int (uiout, "line", LINETABLE (s)->item[i].line); + ui_out_field_core_addr (uiout, "pc", gdbarch, + SYMTAB_LINETABLE (s)->item[i].pc); + ui_out_field_int (uiout, "line", SYMTAB_LINETABLE (s)->item[i].line); do_cleanups (cleanup_tuple); } -- cgit v1.2.1