mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-05 21:50:21 +08:00
[gdb] Fix typos in comments
Fix typos in comments. NFC. Tested on x86_64-linux. gdb/ChangeLog: 2019-10-17 Tom de Vries <tdevries@suse.de> * arm-nbsd-nat.c: Fix typos in comments. * arm-tdep.c: Same. * darwin-nat-info.c: Same. * dwarf2read.c: Same. * elfread.c: Same. * event-top.c: Same. * findvar.c: Same. * gdbtypes.c: Same. * hppa-tdep.c: Same. * i386-tdep.c: Same. * jit.c: Same. * main.c: Same. * mdebugread.c: Same. * moxie-tdep.c: Same. * nto-procfs.c: Same. * osabi.c: Same. * ppc-linux-tdep.c: Same. * remote.c: Same. * riscv-tdep.c: Same. * s390-tdep.c: Same. * sh-tdep.c: Same. * sparc-linux-tdep.c: Same. * sparc-nat.c: Same. * stack.c: Same. * target-descriptions.c: Same. * top.c: Same. * varobj.c: Same. Change-Id: I6047967abd2d51c9000dea15184d19f4e952c3ff
This commit is contained in:
@ -912,7 +912,7 @@ sh_frame_align (struct gdbarch *ignore, CORE_ADDR sp)
|
||||
not displace any of the other arguments passed in via registers R4
|
||||
to R7. */
|
||||
|
||||
/* Helper function to justify value in register according to endianess. */
|
||||
/* Helper function to justify value in register according to endianness. */
|
||||
static const gdb_byte *
|
||||
sh_justify_value_in_reg (struct gdbarch *gdbarch, struct value *val, int len)
|
||||
{
|
||||
@ -942,7 +942,7 @@ sh_stack_allocsize (int nargs, struct value **args)
|
||||
}
|
||||
|
||||
/* Helper functions for getting the float arguments right. Registers usage
|
||||
depends on the ABI and the endianess. The comments should enlighten how
|
||||
depends on the ABI and the endianness. The comments should enlighten how
|
||||
it's intended to work. */
|
||||
|
||||
/* This array stores which of the float arg registers are already in use. */
|
||||
@ -1045,7 +1045,7 @@ sh_treat_as_flt_p (struct type *type)
|
||||
/* Otherwise non-struct types are not treated as float. */
|
||||
if (TYPE_CODE (type) != TYPE_CODE_STRUCT)
|
||||
return 0;
|
||||
/* Otherwise structs with more than one memeber are not treated as float. */
|
||||
/* Otherwise structs with more than one member are not treated as float. */
|
||||
if (TYPE_NFIELDS (type) != 1)
|
||||
return 0;
|
||||
/* Otherwise if the type of that member is float, the whole type is
|
||||
@ -1669,7 +1669,7 @@ sh_pseudo_register_read (struct gdbarch *gdbarch, readable_regcache *regcache,
|
||||
2, base_regnum, temp_buffer);
|
||||
if (status == REG_VALID)
|
||||
{
|
||||
/* We must pay attention to the endiannes. */
|
||||
/* We must pay attention to the endianness. */
|
||||
sh_register_convert_to_virtual (gdbarch, reg_nr,
|
||||
register_type (gdbarch, reg_nr),
|
||||
temp_buffer, buffer);
|
||||
@ -1712,7 +1712,7 @@ sh_pseudo_register_write (struct gdbarch *gdbarch, struct regcache *regcache,
|
||||
gdb_byte temp_buffer[4 * 2];
|
||||
base_regnum = dr_reg_base_num (gdbarch, reg_nr);
|
||||
|
||||
/* We must pay attention to the endiannes. */
|
||||
/* We must pay attention to the endianness. */
|
||||
sh_register_convert_to_raw (gdbarch, register_type (gdbarch, reg_nr),
|
||||
reg_nr, buffer, temp_buffer);
|
||||
|
||||
|
Reference in New Issue
Block a user