2002-11-29 Andrew Cagney <ac131313@redhat.com>
[external/binutils.git] / gdb / macroscope.c
index b482068..c6da698 100644 (file)
@@ -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 (deprecated_selected_frame->pc, 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.  */