This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. 0ab9ce852ba65ef77cfc1fc82d1c48d03152f868
- From: devans at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 17 Dec 2014 08:02:15 -0000
- Subject: gdb and binutils branch master updated. 0ab9ce852ba65ef77cfc1fc82d1c48d03152f868
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via 0ab9ce852ba65ef77cfc1fc82d1c48d03152f868 (commit)
from b6615d1086eb357e62ec2db85b48d1d1c75157bc (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0ab9ce852ba65ef77cfc1fc82d1c48d03152f868
commit 0ab9ce852ba65ef77cfc1fc82d1c48d03152f868
Author: Doug Evans <xdje42@gmail.com>
Date: Wed Dec 17 00:00:14 2014 -0800
Make buildsym set-up/tear-down more consistent, and document it.
gdb/ChangeLog:
* buildsym.c: Add comments describing how the buildsym machinery
is used by the various file formats.
(really_free_pendings): Enhance function comment.
See pending_macros to NULL. Simplify resetting pending_addrmap.
Call free_buildsym_compunit.
(free_buildsym_compunit): Set current_subfile to NULL.
(prepare_for_building): New function.
(start_symtab): Call it. Remove call to set_last_source_file.
(restart_symtab): New arg "cust". All callers updated.
Simplify, call prepare_for_building. Re-initialize buildsym_compunit.
(reset_symtab_globals): Enhance function comment.
Set local_symbols, file_symbols, global_symbols to NULL.
Set pending_macros to NULL. Simplify resetting pending_addrmap.
Call free_buildysym_compunit.
(end_symtab_without_blockvector): Delete. All callers updated.
(end_symtab_with_blockvector): Remove redundant call to
free_buildsym_compunit.
(augment_type_symtab): Remove arg "cust". All callers updated.
(buildsym_init): Remove resetting of free_pendings, file_symbols,
global_symbols, pending_blocks, pending_macros. Instead make
handling consistent with pending_addrmap: Assert value was reset
at end of previous symtab building. Initialize context_stack here.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 25 ++++++
gdb/buildsym.c | 220 ++++++++++++++++++++++++++++++++++++-----------------
gdb/buildsym.h | 5 +-
gdb/dwarf2read.c | 6 +-
4 files changed, 180 insertions(+), 76 deletions(-)
hooks/post-receive
--
gdb and binutils