diff options
author | Mark Alexander <marka@cygnus> | 1996-10-22 01:26:20 +0000 |
---|---|---|
committer | Mark Alexander <marka@cygnus> | 1996-10-22 01:26:20 +0000 |
commit | d8831024480595b93fa9c54f87478cf29f6a7508 (patch) | |
tree | 6c854ef090c48c19f4cd469cec03dcb41f4b8cf9 /gdb/buildsym.c | |
parent | bf39474f1526af4e7b1b105a4c11d77fb1db7ad7 (diff) | |
download | gdb-d8831024480595b93fa9c54f87478cf29f6a7508.zip gdb-d8831024480595b93fa9c54f87478cf29f6a7508.tar.gz gdb-d8831024480595b93fa9c54f87478cf29f6a7508.tar.bz2 |
* mdebugread.c (parse_partial_symbols): Fix 64-bit
sign-extension problems in calculating psymtab addresses.
* buildsym.c (end_symtab): Use macro to pop context.
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r-- | gdb/buildsym.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c index 02d7dfc..a80a8ff 100644 --- a/gdb/buildsym.c +++ b/gdb/buildsym.c @@ -811,8 +811,7 @@ end_symtab (end_addr, objfile, section) if (context_stack_depth > 0) { - context_stack_depth--; - cstk = &context_stack[context_stack_depth]; + cstk = pop_context(); /* Make a block for the local symbols within. */ finish_block (cstk->name, &local_symbols, cstk->old_blocks, cstk->start_addr, end_addr, objfile); |