mirror of git://sourceware.org/git/glibc.git
Fix iov[] size in SH register_dump()
This commit is contained in:
parent
ebd2e13d67
commit
d2f7315176
|
|
@ -1,3 +1,7 @@
|
||||||
|
2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
|
||||||
|
|
||||||
2010-05-24 Luis Machado <luisgpm@br.ibm.com>
|
2010-05-24 Luis Machado <luisgpm@br.ibm.com>
|
||||||
|
|
||||||
* sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
|
* sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/* Dump registers.
|
/* Dump registers.
|
||||||
Copyright (C) 1999, 2000, 2009 Free Software Foundation, Inc.
|
Copyright (C) 1999, 2000, 2009, 2010 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
|
@ -58,7 +58,7 @@ register_dump (int fd, struct sigcontext *ctx)
|
||||||
{
|
{
|
||||||
char regs[22][8];
|
char regs[22][8];
|
||||||
char fpregs[34][8];
|
char fpregs[34][8];
|
||||||
struct iovec iov[112];
|
struct iovec iov[22 * 2 + 34 * 2 + 2];
|
||||||
size_t nr = 0;
|
size_t nr = 0;
|
||||||
|
|
||||||
#define ADD_STRING(str) \
|
#define ADD_STRING(str) \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue