gdb: remove stale comment and ctor in gdbarch_info
tdesc_data is not part of a union, since commit 4f3681cc33
("Fix thread's
gdbarch when SVE vector length changes"). Remove the stale comment and
constructor.
Change-Id: Ie895ce36614930e8bd9c4967174c8bf1b321c503
This commit is contained in:
parent
1c354ebcba
commit
5ac2d81b64
1 changed files with 1 additions and 7 deletions
|
@ -232,12 +232,6 @@ struct gdbarch_list
|
|||
|
||||
struct gdbarch_info
|
||||
{
|
||||
gdbarch_info ()
|
||||
/* Ensure the union is zero-initialized. Relies on the fact that there's
|
||||
no member larger than TDESC_DATA. */
|
||||
: tdesc_data ()
|
||||
{}
|
||||
|
||||
const struct bfd_arch_info *bfd_arch_info = nullptr;
|
||||
|
||||
enum bfd_endian byte_order = BFD_ENDIAN_UNKNOWN;
|
||||
|
@ -247,7 +241,7 @@ struct gdbarch_info
|
|||
bfd *abfd = nullptr;
|
||||
|
||||
/* Architecture-specific target description data. */
|
||||
struct tdesc_arch_data *tdesc_data;
|
||||
struct tdesc_arch_data *tdesc_data = nullptr;
|
||||
|
||||
enum gdb_osabi osabi = GDB_OSABI_UNKNOWN;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue