[patch] arm-sim on 64-bit hosts.
Paul Brook
paul@codesourcery.com
Sun Sep 11 21:57:00 GMT 2005
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: text/x-diff
Size: 7355 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20050911/1bace637/attachment.bin>
More information about the Gdb-patches
mailing list