(TAGS): Put DEPFILES back and add as a dependency.
[deliverable/binutils-gdb.git] / gdb / macroscope.c
index b482068637cd05a4c53c1de26a8ad51bf62ffc9c..ed3ea8362f9d8b22358a25c66c38dfa614fe15b6 100644 (file)
@@ -70,8 +70,8 @@ sal_macro_scope (struct symtab_and_line sal)
       ms->line = -1;
 
       complaint (&symfile_complaints,
-                 "symtab found for `%s', but that file\n"
-                 "is not covered in the compilation unit's macro information",
+                 _("symtab found for `%s', but that file\n"
+                 "is not covered in the compilation unit's macro information"),
                  sal.symtab->filename);
     }
 
@@ -87,8 +87,8 @@ default_macro_scope (void)
   struct macro_scope *ms;
 
   /* If there's a selected frame, use its PC.  */ 
-  if (selected_frame)
-    sal = find_pc_line (selected_frame->pc, 0);
+  if (deprecated_selected_frame)
+    sal = find_pc_line (get_frame_pc (deprecated_selected_frame), 0);
   
   /* If the target has any registers at all, then use its PC.  Why we
      would have registers but no stack, I'm not sure.  */
This page took 0.023346 seconds and 4 git commands to generate.