This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] arm-sim on 64-bit hosts.
- From: Daniel Jacobowitz <drow at false dot org>
- To: Paul Brook <paul at codesourcery dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sat, 17 Sep 2005 18:09:58 -0400
- Subject: Re: [patch] arm-sim on 64-bit hosts.
- References: <200509112256.17791.paul@codesourcery.com>
On Sun, Sep 11, 2005 at 10:56:16PM +0100, Paul Brook wrote:
> The attached patch fixes the gdb Arm simulator on 64-bit hosts. Two problems:
>
> - "long" was assumed to be a 32-bit type.
> - ARMul_MemoryInit used the wrong type calculating the size of the pagetables.
>
> Ok?
>
> Paul
>
> 2005-09-11 Paul Brook <paul@codesourcery.com>
>
> * arm/armdefs.h: Define ARMsword and ARMsdword. Use stdint.h when available.
> * arm/armemu.c: Use them.
> * arm/armvirt.c (ARMul_MemoryInit): Use correct type for size.
> * arm/configure.ac: Check for stdint.h.
> * arm/config.in: Regenerate.
> * arm/configure: Regenerate.
This is OK.
--
Daniel Jacobowitz
CodeSourcery, LLC