gdb: fix some indentation issues
I wrote a small script to spot a pattern of indentation mistakes I saw happened in breakpoint.c. And while at it I ran it on all files and fixed what I found. No behavior changes intended, just indentation and addition / removal of curly braces. gdb/ChangeLog: * Fix some indentation mistakes throughout. gdbserver/ChangeLog: * Fix some indentation mistakes throughout. Change-Id: Ia01990c26c38e83a243d8f33da1d494f16315c6e
This commit is contained in:
parent
055c879fcf
commit
01add95bed
29 changed files with 702 additions and 696 deletions
|
@ -761,10 +761,10 @@ create_enum (struct gdbarch *gdbarch, int bit, const char *name,
|
|||
type->set_is_unsigned (true);
|
||||
|
||||
for (i = 0; i < count; i++)
|
||||
{
|
||||
TYPE_FIELD_NAME (type, i) = values[i].name;
|
||||
SET_FIELD_ENUMVAL (type->field (i), values[i].value);
|
||||
}
|
||||
{
|
||||
TYPE_FIELD_NAME (type, i) = values[i].name;
|
||||
SET_FIELD_ENUMVAL (type->field (i), values[i].value);
|
||||
}
|
||||
|
||||
return type;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue