diff options
author | Tom Tromey <tom@tromey.com> | 2020-10-12 15:53:16 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-10-12 20:18:48 -0600 |
commit | eda214cec17472e7383b8aaf17f6a065b0be4a1e (patch) | |
tree | 733232ddea15a84e73ef3094a81a8614ae2864f8 /gdb/exec.h | |
parent | 91840ee38a1114bc02120935bf73dd5acda3b062 (diff) | |
download | binutils-eda214cec17472e7383b8aaf17f6a065b0be4a1e.zip binutils-eda214cec17472e7383b8aaf17f6a065b0be4a1e.tar.gz binutils-eda214cec17472e7383b8aaf17f6a065b0be4a1e.tar.bz2 |
Remove clear_section_table
The call to clear_section_table in ~program_space is now clearly not
needed -- the section table will clear itself. This patch removes
this call and then inlines the one remaining call to
clear_section_table.
gdb/ChangeLog
2020-10-12 Tom Tromey <tom@tromey.com>
* progspace.c (program_space::~program_space): Don't call
clear_section_table.
* exec.h (clear_section_table): Don't declare.
* exec.c (exec_target::close): Update.
(clear_section_table): Remove.
Diffstat (limited to 'gdb/exec.h')
-rw-r--r-- | gdb/exec.h | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -38,10 +38,6 @@ struct objfile; extern target_section_table build_section_table (struct bfd *); -/* Remove all entries from TABLE. */ - -extern void clear_section_table (struct target_section_table *table); - /* The current inferior is a child vforked and its program space is shared with its parent. This pushes the exec target on the current/child inferior's target stack if there are sections in the |