summaryrefslogtreecommitdiff
path: root/gdb/buildsym.h
diff options
context:
space:
mode:
authorDavid Carlton <carlton@bactrian.org>2002-12-23 19:39:59 +0000
committerDavid Carlton <carlton@bactrian.org>2002-12-23 19:39:59 +0000
commitd76f45fa297e5dce836d34cf0007062004000904 (patch)
treea12dd7ccba38289938cc2899dd7284f97cb6fae6 /gdb/buildsym.h
parent8a02809370142c9bdad8523fe857b4feb3ee9bfa (diff)
downloadgdb-d76f45fa297e5dce836d34cf0007062004000904.tar.gz
2002-12-23 David Carlton <carlton@math.stanford.edu>
* Merge from mainline; tag is carlton_dictionary-20021223-merge.
Diffstat (limited to 'gdb/buildsym.h')
-rw-r--r--gdb/buildsym.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/gdb/buildsym.h b/gdb/buildsym.h
index 92e101ebea3..41c85fd8452 100644
--- a/gdb/buildsym.h
+++ b/gdb/buildsym.h
@@ -187,12 +187,6 @@ 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)
@@ -289,6 +283,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);