SYMTAB_OBJFILE: New macro.
[deliverable/binutils-gdb.git] / gdb / mi / mi-symbol-cmds.c
index df008f734f2a71dbcd4f5487419b036c06ee7b9b..e1ef0c22423a8ddf23e657115717e77373d780a8 100644 (file)
@@ -49,7 +49,7 @@ mi_cmd_symbol_list_lines (char *command, char **argv, int argc)
      already sorted by increasing values in the symbol table, so no
      need to perform any other sorting.  */
 
-  gdbarch = get_objfile_arch (s->objfile);
+  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)
This page took 0.025088 seconds and 4 git commands to generate.