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:
Simon Marchi 2021-05-27 15:01:28 -04:00
parent 055c879fcf
commit 01add95bed
29 changed files with 702 additions and 696 deletions

View file

@ -707,14 +707,14 @@ get_signaled_thread (void)
tid_t ktid = 0;
while (1)
{
if (getthrds (inferior_ptid.pid (), &thrinf,
sizeof (thrinf), &ktid, 1) != 1)
break;
{
if (getthrds (inferior_ptid.pid (), &thrinf,
sizeof (thrinf), &ktid, 1) != 1)
break;
if (thrinf.ti_cursig == SIGTRAP)
return thrinf.ti_tid;
}
if (thrinf.ti_cursig == SIGTRAP)
return thrinf.ti_tid;
}
/* Didn't find any thread stopped on a SIGTRAP signal. */
return 0;