aboutsummaryrefslogtreecommitdiff
path: root/gdb/loongarch-tdep.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2023-03-09 14:56:09 -0500
committerSimon Marchi <simon.marchi@efficios.com>2023-03-09 16:32:00 -0500
commit287de65625a667b6403d0606fa75b67926ec7230 (patch)
treea4911b3dc540ba6a54e0aebbbe972cec6f1d8be1 /gdb/loongarch-tdep.c
parent2562954ede66f32bff7d985e752b8052c2ae5775 (diff)
downloadgdb-287de65625a667b6403d0606fa75b67926ec7230.zip
gdb-287de65625a667b6403d0606fa75b67926ec7230.tar.gz
gdb-287de65625a667b6403d0606fa75b67926ec7230.tar.bz2
gdb, gdbserver, gdbsupport: fix whitespace issues
Replace spaces with tabs in a bunch of places. Change-Id: If0f87180f1d13028dc178e5a8af7882a067868b0
Diffstat (limited to 'gdb/loongarch-tdep.c')
-rw-r--r--gdb/loongarch-tdep.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/loongarch-tdep.c b/gdb/loongarch-tdep.c
index b380bd7..74f14c4 100644
--- a/gdb/loongarch-tdep.c
+++ b/gdb/loongarch-tdep.c
@@ -602,12 +602,12 @@ loongarch_push_dummy_call (struct gdbarch *gdbarch,
and the signed integer scalars are sign-extended. */
if (type->is_unsigned ())
{
- ULONGEST data = extract_unsigned_integer (val, len, BFD_ENDIAN_LITTLE);
+ ULONGEST data = extract_unsigned_integer (val, len, BFD_ENDIAN_LITTLE);
if (gar > 0)
pass_in_gar (regcache, gar--, (gdb_byte *) &data);
else
pass_on_stack (regcache, (gdb_byte *) &data, len, align, &addr);
- }
+ }
else
{
LONGEST data = extract_signed_integer (val, len, BFD_ENDIAN_LITTLE);
@@ -615,7 +615,7 @@ loongarch_push_dummy_call (struct gdbarch *gdbarch,
pass_in_gar (regcache, gar--, (gdb_byte *) &data);
else
pass_on_stack (regcache, (gdb_byte *) &data, len, align, &addr);
- }
+ }
}
break;
case TYPE_CODE_FLT:
@@ -975,7 +975,7 @@ loongarch_push_dummy_call (struct gdbarch *gdbarch,
}
else if (len > 2 * regsize)
{
- /* It's passed by reference and are replaced in the argument list with the address.
+ /* It's passed by reference and are replaced in the argument list with the address.
If there is an available GAR, the reference is passed in the GAR,
and passed on the stack if no GAR is available. */
sp = align_down (sp - len, 16);