aboutsummaryrefslogtreecommitdiff
path: root/gdb/buildsym-legacy.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-05-22 22:44:44 -0600
committerTom Tromey <tom@tromey.com>2018-07-20 09:42:55 -0600
commit0e6f30610fdb50b4974b349ed3673b744d03e9a9 (patch)
tree019c14fe3cdf9a6e5ed998c90788f90d0a167ae5 /gdb/buildsym-legacy.h
parent804d27291b2922f01fe5cc2d9ae759533d4a2f6f (diff)
downloadbinutils-0e6f30610fdb50b4974b349ed3673b744d03e9a9.zip
binutils-0e6f30610fdb50b4974b349ed3673b744d03e9a9.tar.gz
binutils-0e6f30610fdb50b4974b349ed3673b744d03e9a9.tar.bz2
Remove some unused buildsym functions
Now that the DWARF reader uses the builder-based API, we can remove a few "legacy" functions that were only ever called by it. gdb/ChangeLog 2018-07-20 Tom Tromey <tom@tromey.com> * buildsym-legacy.h (augment_type_symtab): Don't declare. (end_expandable_symtab): Likewise. (end_symtab_get_static_block): Likewise. (end_symtab_from_static_block): Likewise. * buildsym-legacy.c (augment_type_symtab): Remove. (end_expandable_symtab): Remove. (end_symtab_get_static_block): Remove. (end_symtab_from_static_block): Remove.
Diffstat (limited to 'gdb/buildsym-legacy.h')
-rw-r--r--gdb/buildsym-legacy.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/gdb/buildsym-legacy.h b/gdb/buildsym-legacy.h
index 191c344..aaa9152 100644
--- a/gdb/buildsym-legacy.h
+++ b/gdb/buildsym-legacy.h
@@ -37,25 +37,6 @@
The compunit symtab pointer ("cust") is returned from both start_symtab
and end_symtab to simplify the debug info readers.
- There are minor variations on this, e.g., dwarf2read.c splits end_symtab
- into two calls: end_symtab_get_static_block, end_symtab_from_static_block,
- but all debug info readers follow this basic flow.
-
- Reading DWARF Type Units is another variation:
-
- scoped_free_pendings free_pending;
- cust = start_symtab (...);
- ... read debug info ...
- cust = end_expandable_symtab (...);
-
- And then reading subsequent Type Units within the containing "Comp Unit"
- will use a second flow:
-
- scoped_free_pendings free_pending;
- cust = restart_symtab (...);
- ... read debug info ...
- cust = augment_type_symtab (...);
-
dbxread.c and xcoffread.c use another variation:
scoped_free_pendings free_pending;
@@ -92,21 +73,8 @@ extern void push_subfile ();
extern const char *pop_subfile ();
-extern struct block *end_symtab_get_static_block (CORE_ADDR end_addr,
- int expandable,
- int required);
-
-extern struct compunit_symtab *
- end_symtab_from_static_block (struct block *static_block,
- int section, int expandable);
-
extern struct compunit_symtab *end_symtab (CORE_ADDR end_addr, int section);
-extern struct compunit_symtab *end_expandable_symtab (CORE_ADDR end_addr,
- int section);
-
-extern void augment_type_symtab (void);
-
extern struct context_stack *push_context (int desc, CORE_ADDR valu);
extern struct context_stack pop_context ();