diff options
author | Doug Evans <dje@google.com> | 2012-10-03 17:05:00 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2012-10-03 17:05:00 +0000 |
commit | aa14df25257d62e6c90490c29e524a1cc0c5d503 (patch) | |
tree | 9e10b291f0f14fd996753203da72187a84d62e63 /gdb/buildsym.c | |
parent | e867b64722d18cb3672b4a07ee2685d7018c220b (diff) | |
download | gdb-aa14df25257d62e6c90490c29e524a1cc0c5d503.zip gdb-aa14df25257d62e6c90490c29e524a1cc0c5d503.tar.gz gdb-aa14df25257d62e6c90490c29e524a1cc0c5d503.tar.bz2 |
PR symtab/14601
* buildsym.c (buildsym_init): Reset using_directives to NULL.
testsuite/
* gdb.cp/using-crash.exp: New file.
* gdb.cp/using-crash.cc: New file.
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r-- | gdb/buildsym.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c index 1ce40b9..8f2e732 100644 --- a/gdb/buildsym.c +++ b/gdb/buildsym.c @@ -1488,6 +1488,7 @@ buildsym_init (void) global_symbols = NULL; pending_blocks = NULL; pending_macros = NULL; + using_directives = NULL; /* We shouldn't have any address map at this point. */ gdb_assert (! pending_addrmap); |