Remove some unneeded psymtab initializations
authorTom Tromey <tom@tromey.com>
Thu, 10 May 2018 22:23:44 +0000 (16:23 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 10 Jan 2019 14:08:10 +0000 (07:08 -0700)
commitbaa62830ed84d45b414ff677b7bce900a21923ce
treec6bcf23339cd0deca2a1e76d9e0682a0125fed7b
parent0e8f53badb3df16f4104890395d9324a5bcf568d
Remove some unneeded psymtab initializations

allocate_psymtab has long cleared the new psymtab that is returned.
This patch documents this behavior and then removes some redundant
initializations.

gdb/ChangeLog
2019-01-10  Tom Tromey  <tom@tromey.com>

* xcoffread.c (xcoff_end_psymtab): Remove some initializations.
* psymtab.c (allocate_psymtab): Add comment.
* psympriv.h (allocate_psymtab): Add comment.
* dwarf2read.c (dwarf2_create_include_psymtab): Remove some
initializations.
* dbxread.c (dbx_end_psymtab): Remove some initializations.
gdb/ChangeLog
gdb/dbxread.c
gdb/dwarf2read.c
gdb/psympriv.h
gdb/psymtab.c
gdb/xcoffread.c