aboutsummaryrefslogtreecommitdiff
path: root/gdb/buildsym.c
diff options
context:
space:
mode:
authorSami Wagiaalla <swagiaal@redhat.com>2010-03-12 21:13:15 +0000
committerSami Wagiaalla <swagiaal@redhat.com>2010-03-12 21:13:15 +0000
commit00ae8fef8883adef0630bd05a92d78f63cf0b4d1 (patch)
treecee52ba2cb00c17e6f8191ce7526f8d32e7b57b0 /gdb/buildsym.c
parent21e24d21198c2fa2088993ff8c6ec6505ba68860 (diff)
downloadgdb-00ae8fef8883adef0630bd05a92d78f63cf0b4d1.zip
gdb-00ae8fef8883adef0630bd05a92d78f63cf0b4d1.tar.gz
gdb-00ae8fef8883adef0630bd05a92d78f63cf0b4d1.tar.bz2
2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
* buildsym.c (finish_block): Reset using_directives pointer after block initialization. 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com> * gdb.cp/gdb2384-base.h: Created 'namespace B'. * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r--gdb/buildsym.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c
index ff2c9b1..35e4663 100644
--- a/gdb/buildsym.c
+++ b/gdb/buildsym.c
@@ -387,6 +387,7 @@ finish_block (struct symbol *symbol, struct pending **listhead,
}
block_set_using (block, using_directives, &objfile->objfile_obstack);
+ using_directives = NULL;
record_pending_block (objfile, block, opblock);