Revert debugging change
[deliverable/binutils-gdb.git] / gdb / buildsym.h
index 8a252cb2b4c63fbccf496f3df63efa004fbf8885..25fe9b14d37f43b7576ce6d52b7634343320586c 100644 (file)
@@ -173,11 +173,8 @@ EXTERN int context_stack_depth;
 
 EXTERN int context_stack_size;
 
-/* Macro "function" for popping contexts from the stack.  Pushing is
-   done by a real function, push_context.  This returns a pointer to a
-   struct context_stack.  */
-
-#define        pop_context() (&context_stack[--context_stack_depth]);
+/* Non-zero if the context stack is empty.  */
+#define outermost_context_p() (context_stack_depth == 0)
 
 /* Nonzero if within a function (so symbols should be local, if
    nothing says specifically).  */
@@ -269,6 +266,8 @@ extern void buildsym_init (void);
 
 extern struct context_stack *push_context (int desc, CORE_ADDR valu);
 
+extern struct context_stack *pop_context (void);
+
 extern void record_line (struct subfile *subfile, int line, CORE_ADDR pc);
 
 extern void start_symtab (char *name, char *dirname, CORE_ADDR start_addr);
This page took 0.023226 seconds and 4 git commands to generate.