This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] arm-linux-tdep.c: Fix a buffer overrun.
- From: Richard Earnshaw <Richard dot Earnshaw at buzzard dot freeserve dot co dot uk>
- To: Kazu Hirata <kazu at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org, dan at codesourcery dot com
- Date: Wed, 22 Apr 2009 09:00:21 +0100
- Subject: Re: [patch] arm-linux-tdep.c: Fix a buffer overrun.
- References: <20090417071134.1965E6F62058@daisy.codesourcery.com>
On Fri, 2009-04-17 at 00:11 -0700, Kazu Hirata wrote:
> 2009-04-17 Kazu Hirata <kazu@codesourcery.com>
>
> * arm-linux-nat.c (fetch_register, store_register): Use
> ARM_CPSR_GREGNUM instead of ARM_CPSR_REGNUM.
> * arm-linux-tdep.c (arm_linux_supply_gregset,
> arm_linux_collect_gregset): Likewise.
> * arm-linux-tdep.h (ARM_CPSR_GREGNUM): New.
> * arm-tdep.h (ARM_CPSR_REGNUM): Remove.
>
OK.
R.