resize_section_table cleanup
authorDoug Evans <dje@google.com>
Tue, 3 Jun 2014 20:48:12 +0000 (13:48 -0700)
committerDoug Evans <dje@google.com>
Tue, 3 Jun 2014 20:48:12 +0000 (13:48 -0700)
commita5b1fd27801326156c2263b867297e80bcf9fe3d
tree32642c2c3b4b920d559cd25073a8c6fa7df9f204
parent33ac0ca144af42a986a21fcf9c978b4d75b8174c
resize_section_table cleanup

* exec.c (exec_close_1): Call clear_section_table instead of
resize_section_table.
(clear_section_table): New function.
(resize_section_table): Make static.  Rename arg num_added to
adjustment.
* exec.h (clear_section_table): Declare.
(resize_section_table): Delete.
* progspace.c (release_program_space): Call clear_section_table
instead of resize_section_table.
gdb/ChangeLog
gdb/exec.c
gdb/exec.h
gdb/progspace.c