summaryrefslogtreecommitdiff
path: root/gdb/p-lang.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2021-05-27 15:18:49 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2021-05-27 15:18:49 -0400
commit24b21115f522cd0fbe55986cd914a593576294ef (patch)
tree6f2f71d9ede68e21d0371cc5db25b50d64de53af /gdb/p-lang.c
parent01add95bed9afd5e7815439c3967db976be53f80 (diff)
downloadbinutils-gdb-24b21115f522cd0fbe55986cd914a593576294ef.tar.gz
gdb: fix tab after space indentation issues
I spotted some indentation issues where we had some spaces followed by tabs at beginning of line, that I wanted to fix. So while at it, I did a quick grep to find and fix all I could find. gdb/ChangeLog: * Fix tab after space indentation issues throughout. Change-Id: I1acb414dd9c593b474ae2b8667496584df4316fd
Diffstat (limited to 'gdb/p-lang.c')
-rw-r--r--gdb/p-lang.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/p-lang.c b/gdb/p-lang.c
index 1d8e9408e54..3dcc75a4c83 100644
--- a/gdb/p-lang.c
+++ b/gdb/p-lang.c
@@ -109,7 +109,7 @@ pascal_is_string_type (struct type *type,int *length_pos, int *length_size,
*string_pos = TYPE_FIELD_BITPOS (type, 1) / TARGET_CHAR_BIT;
if (char_type)
*char_type = TYPE_TARGET_TYPE (type->field (1).type ());
- if (arrayname)
+ if (arrayname)
*arrayname = TYPE_FIELD_NAME (type, 1);
return 2;
};
@@ -135,7 +135,7 @@ pascal_is_string_type (struct type *type,int *length_pos, int *length_size,
if ((*char_type)->code () == TYPE_CODE_ARRAY)
*char_type = TYPE_TARGET_TYPE (*char_type);
}
- if (arrayname)
+ if (arrayname)
*arrayname = TYPE_FIELD_NAME (type, 2);
return 3;
};