aboutsummaryrefslogtreecommitdiff
path: root/gdb/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/exec.c')
-rw-r--r--gdb/exec.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/gdb/exec.c b/gdb/exec.c
index 43385fe..ab47757 100644
--- a/gdb/exec.c
+++ b/gdb/exec.c
@@ -183,7 +183,7 @@ exec_target::close ()
for (struct program_space *ss : program_spaces)
{
set_current_program_space (ss);
- clear_section_table (current_target_sections);
+ current_target_sections->sections.clear ();
exec_close ();
}
}
@@ -577,14 +577,6 @@ file_command (const char *arg, int from_tty)
}
-/* See exec.h. */
-
-void
-clear_section_table (struct target_section_table *table)
-{
- table->sections.clear ();
-}
-
/* Builds a section table, given args BFD, TABLE. */
target_section_table