summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/sh/sh4/register-dump.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/sh/sh4/register-dump.h')
-rw-r--r--sysdeps/unix/sysv/linux/sh/sh4/register-dump.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/sh/sh4/register-dump.h b/sysdeps/unix/sysv/linux/sh/sh4/register-dump.h
index 4a642abed9..4a742ca9d0 100644
--- a/sysdeps/unix/sysv/linux/sh/sh4/register-dump.h
+++ b/sysdeps/unix/sysv/linux/sh/sh4/register-dump.h
@@ -1,5 +1,5 @@
/* Dump registers.
- Copyright (C) 1999-2016 Free Software Foundation, Inc.
+ Copyright (C) 1999-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -56,7 +56,6 @@ static void
register_dump (int fd, struct sigcontext *ctx)
{
char regs[22][8];
- char fpregs[34][8];
struct iovec iov[22 * 2 + 34 * 2 + 2];
size_t nr = 0;
@@ -144,6 +143,7 @@ register_dump (int fd, struct sigcontext *ctx)
ADD_STRING ("\n");
#ifdef __SH_FPU_ANY__
+ char fpregs[34][8];
if (ctx->sc_ownedfp != 0)
{
hexvalue (ctx->sc_fpregs[0], fpregs[0], 8);