summaryrefslogtreecommitdiff
path: root/gdb/buildsym-legacy.c
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.c
parent804d27291b2922f01fe5cc2d9ae759533d4a2f6f (diff)
downloadbinutils-gdb-0e6f30610fdb50b4974b349ed3673b744d03e9a9.tar.gz
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.c')
-rw-r--r--gdb/buildsym-legacy.c38
1 files changed, 0 insertions, 38 deletions
diff --git a/gdb/buildsym-legacy.c b/gdb/buildsym-legacy.c
index 5ee663daee4..3553fa1c0ab 100644
--- a/gdb/buildsym-legacy.c
+++ b/gdb/buildsym-legacy.c
@@ -194,14 +194,6 @@ pop_subfile ()
return buildsym_compunit->pop_subfile ();
}
-struct block *
-end_symtab_get_static_block (CORE_ADDR end_addr, int expandable, int required)
-{
- gdb_assert (buildsym_compunit != nullptr);
- return buildsym_compunit->end_symtab_get_static_block (end_addr, expandable,
- required);
-}
-
/* Delete the buildsym compunit. */
static void
@@ -214,18 +206,6 @@ free_buildsym_compunit (void)
}
struct compunit_symtab *
-end_symtab_from_static_block (struct block *static_block,
- int section, int expandable)
-{
- gdb_assert (buildsym_compunit != nullptr);
- struct compunit_symtab *result
- = buildsym_compunit->end_symtab_from_static_block (static_block,
- section, expandable);
- free_buildsym_compunit ();
- return result;
-}
-
-struct compunit_symtab *
end_symtab (CORE_ADDR end_addr, int section)
{
gdb_assert (buildsym_compunit != nullptr);
@@ -235,24 +215,6 @@ end_symtab (CORE_ADDR end_addr, int section)
return result;
}
-struct compunit_symtab *
-end_expandable_symtab (CORE_ADDR end_addr, int section)
-{
- gdb_assert (buildsym_compunit != nullptr);
- struct compunit_symtab *result
- = buildsym_compunit->end_expandable_symtab (end_addr, section);
- free_buildsym_compunit ();
- return result;
-}
-
-void
-augment_type_symtab ()
-{
- gdb_assert (buildsym_compunit != nullptr);
- buildsym_compunit->augment_type_symtab ();
- free_buildsym_compunit ();
-}
-
struct context_stack *
push_context (int desc, CORE_ADDR valu)
{