Fix compilation error with clang in gdb/testsuite/gdb.base/jit-main.c
authorGary Benson <gbenson@redhat.com>
Mon, 20 Apr 2020 14:05:01 +0000 (15:05 +0100)
committerGary Benson <gbenson@redhat.com>
Mon, 20 Apr 2020 14:06:13 +0000 (15:06 +0100)
commite0c45f305525bbc3fd95024e4517a52d1c371868
tree6f96b6495d95ecd49eb112e19819eb0a6075ba3d
parent23c8270e9dc60bb78c1800b7deedc117efdb9e92
Fix compilation error with clang in gdb/testsuite/gdb.base/jit-main.c

Clang fails to compile the above file, with the following error:
  warning: while loop has empty body [-Wempty-body]

This prevents the following testcases from executing:
  gdb.base/jit.exp
  gdb.base/jit-so.exp
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/jit-main.c