Add constructor to bound_minimal_symbol
authorTom Tromey <tromey@adacore.com>
Tue, 15 Feb 2022 16:04:01 +0000 (09:04 -0700)
committerTom Tromey <tromey@adacore.com>
Fri, 18 Feb 2022 19:58:35 +0000 (12:58 -0700)
commitf6b3ad544063314a1e7fcaa703b5e29f5ff10780
treeb0cf39c005a3e84857d0356a09770b370de86e9e
parent5c14cc552d3b5c0dddb17c2f81ca8af137b0b254
Add constructor to bound_minimal_symbol

This adds a constructor to bound_minimal_symbol, to avoid a build
failure with clang that Simon pointed out.

I also took the opportunity to remove some redundant initializations,
and to change one use of push_back to emplace_back, as suggested by
Simon.
gdb/breakpoint.c
gdb/hppa-tdep.c
gdb/linespec.c
gdb/minsyms.c
gdb/minsyms.h
gdb/psymtab.c