aboutsummaryrefslogtreecommitdiff
path: root/gdb/frv-linux-tdep.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/frv-linux-tdep.c
parent01add95bed9afd5e7815439c3967db976be53f80 (diff)
downloadfsf-binutils-gdb-24b21115f522cd0fbe55986cd914a593576294ef.zip
fsf-binutils-gdb-24b21115f522cd0fbe55986cd914a593576294ef.tar.gz
fsf-binutils-gdb-24b21115f522cd0fbe55986cd914a593576294ef.tar.bz2
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/frv-linux-tdep.c')
-rw-r--r--gdb/frv-linux-tdep.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/frv-linux-tdep.c b/gdb/frv-linux-tdep.c
index c1f1027..098df17 100644
--- a/gdb/frv-linux-tdep.c
+++ b/gdb/frv-linux-tdep.c
@@ -200,19 +200,19 @@ frv_linux_sigcontext_reg_addr (struct frame_info *this_frame, int regno,
else if (tramp_type == RT_SIGTRAMP)
{
/* For a realtime sigtramp frame, SP + 12 contains a pointer
- to a ucontext struct. The ucontext struct contains a
- sigcontext struct starting 24 bytes in. (The offset of
- uc_mcontext within struct ucontext is derived as follows:
- stack_t is a 12-byte struct and struct sigcontext is
- 8-byte aligned. This gives an offset of 8 + 12 + 4 (for
- padding) = 24.) */
+ to a ucontext struct. The ucontext struct contains a
+ sigcontext struct starting 24 bytes in. (The offset of
+ uc_mcontext within struct ucontext is derived as follows:
+ stack_t is a 12-byte struct and struct sigcontext is
+ 8-byte aligned. This gives an offset of 8 + 12 + 4 (for
+ padding) = 24.) */
if (target_read_memory (sp + 12, buf, sizeof buf) != 0)
{
warning (_("Can't read realtime sigtramp frame."));
return 0;
}
sc_addr = extract_unsigned_integer (buf, sizeof buf, byte_order);
- sc_addr += 24;
+ sc_addr += 24;
}
else
internal_error (__FILE__, __LINE__, _("not a signal trampoline"));