aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-05-21 09:29:29 -0600
committerTom Tromey <tom@tromey.com>2018-07-20 09:42:50 -0600
commit4a2125f531114e80d68334a67f2d4ea2335a865d (patch)
treee97dfbe1ef40ee57b781cee51ba26cdff3a3377e /gdb/ChangeLog
parent6b213a4778fae60d40257aee37c3fdec837ea574 (diff)
downloadgdb-4a2125f531114e80d68334a67f2d4ea2335a865d.zip
gdb-4a2125f531114e80d68334a67f2d4ea2335a865d.tar.gz
gdb-4a2125f531114e80d68334a67f2d4ea2335a865d.tar.bz2
Add many methods to buildsym_compunit
This adds many methods to buildsym_compunit and makes the data members private. Essentially the entire buildsym API is now available as a method on buildsym_compunit. However, standalone functions are still provided, as this is what the sybmol readers actually use. gdb/ChangeLog 2018-07-20 Tom Tromey <tom@tromey.com> * buildsym.c (buildsym_compunit::buildsym_compunit): Do more initialization. (buildsym_compunit): Add new constructor. (struct buildsym_compunit) <get_last_source_file, finish_block, record_block_range, start_subfile, patch_subfile_names, push_subfile, pop_subfile, record_line, get_compunit_symtab, set_last_source_start_addr, get_last_source_start_addr, get_local_using_directives, set_local_using_directives, get_global_using_directives, outermost_context_p, get_current_context_stack, get_context_stack_depth, get_current_subfile, get_local_symbols, get_file_symbols, get_global_symbols, record_debugformat, record_producer, push_context, pop_context, end_symtab_get_static_block, end_symtab_from_static_block, end_symtab, end_expandable_symtab>: New public methods. <record_pending_block, finish_block_internal, make_blockvector, watch_main_source_file_lossage, end_symtab_with_blockvector>: New private methods. Update all users.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog28
1 files changed, 28 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a3afd1d..ccec301 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,33 @@
2018-07-20 Tom Tromey <tom@tromey.com>
+ * buildsym.c (buildsym_compunit::buildsym_compunit): Do more
+ initialization.
+ (buildsym_compunit): Add new constructor.
+ (struct buildsym_compunit) <get_last_source_file, finish_block,
+ record_block_range, start_subfile, patch_subfile_names,
+ push_subfile, pop_subfile, record_line, get_compunit_symtab,
+ set_last_source_start_addr, get_last_source_start_addr,
+ get_local_using_directives, set_local_using_directives,
+ get_global_using_directives, outermost_context_p,
+ get_current_context_stack, get_context_stack_depth,
+ get_current_subfile, get_local_symbols, get_file_symbols,
+ get_global_symbols, record_debugformat, record_producer,
+ push_context, pop_context, end_symtab_get_static_block,
+ end_symtab_from_static_block, end_symtab, end_expandable_symtab>:
+ New public methods.
+ <record_pending_block, finish_block_internal, make_blockvector,
+ watch_main_source_file_lossage, end_symtab_with_blockvector>: New
+ private methods.
+ Update all users.
+
+2018-05-22 Tom Tromey <tom@tromey.com>
+
+ * buildsym.c (record_pending_block): Move earlier. Remove objfile
+ parameter.
+ (finish_block_internal): Update.
+
+2018-07-20 Tom Tromey <tom@tromey.com>
+
* buildsym.c (record_pending_block): Move earlier. Remove objfile
parameter.
(finish_block_internal): Update.