aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlee Dienes <kdienes@apple.com>2002-11-18 20:57:55 +0000
committerKlee Dienes <kdienes@apple.com>2002-11-18 20:57:55 +0000
commita672ef132642555bbf881f57232d37c8590a0cab (patch)
treea98b87767337f824a0cc29d10582c93ac1f301cb
parenta816d1ed6a3d5f6d82f77b4e391f32332c1b1817 (diff)
downloadgdb-a672ef132642555bbf881f57232d37c8590a0cab.zip
gdb-a672ef132642555bbf881f57232d37c8590a0cab.tar.gz
gdb-a672ef132642555bbf881f57232d37c8590a0cab.tar.bz2
2002-11-18 Klee Dienes <kdienes@apple.com>
* buildsym.c (pop_context): Add comment.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/buildsym.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e16296b..a56bd09 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2002-11-18 Klee Dienes <kdienes@apple.com>
+ * buildsym.c (pop_context): Add comment.
+
+2002-11-18 Klee Dienes <kdienes@apple.com>
+
* buildsym.h (pop_context): Convert to function, defined in
buildsym.c.
* buildsym.c: Include gdb_assert.h.
diff --git a/gdb/buildsym.c b/gdb/buildsym.c
index ae8929d..fb2d5a0 100644
--- a/gdb/buildsym.c
+++ b/gdb/buildsym.c
@@ -1102,6 +1102,9 @@ push_context (int desc, CORE_ADDR valu)
return new;
}
+/* Pop a context block. Returns the address of the context block just
+ popped. */
+
struct context_stack *
pop_context (void)
{