debugserver: fix a couple of -Wmissing-field-initializers warnings

Explicitly provide an initializer for the std::vector in the constructed type.
Addresses -Wmissing-field-initializers warnings from clang.  NFC.

llvm-svn: 268758
This commit is contained in:
Saleem Abdulrasool 2016-05-06 17:33:09 +00:00
parent 4533f7b6e8
commit 247731d4d3
1 changed files with 3 additions and 1 deletions

View File

@ -1227,7 +1227,9 @@ RNBRemote::InitializeRegisters (bool force)
register_map_entry_t reg_entry = {
regnum++, // register number starts at zero and goes up with no gaps
reg_data_offset, // Offset into register context data, no gaps between registers
reg_sets[set].registers[reg] // DNBRegisterInfo
reg_sets[set].registers[reg], // DNBRegisterInfo
{},
{},
};
name_to_regnum[reg_entry.nub_info.name] = reg_entry.debugserver_regnum;