Fix info mem command for 32 bits host/64 bits target
authorCatalin Udma <catalin.udma@freescale.com>
Mon, 15 Dec 2014 14:41:29 +0000 (16:41 +0200)
committerCatalin Udma <catalin.udma@freescale.com>
Mon, 15 Dec 2014 14:41:29 +0000 (16:41 +0200)
commitaacd3e8c4f5ac00f1ee41c082c2f10eb7457d04c
treeac150f3b9889ff9e48e27b427f676bb1c6999d47
parent184d64776bc16fcba7b00e5784e27f52854cc8dd
Fix info mem command for 32 bits host/64 bits target

When running gdb on 32 bits host for 64 bits target, info mem command
truncates the target address to 32 bits, like in the example below
(gdb) set architecture powerpc:common64
(gdb) mem 0x100000000 0x200000000 rw
(gdb) info mem
1   y   0x0000000000000000 0x0000000000000000 rw nocache

gdb/ChangeLog:

        PR gdb/15684
        * memattr.c (mem_info_command): Remove "unsigned long" casts.

Signed-off-by: Catalin Udma <catalin.udma@freescale.com>
gdb/ChangeLog
gdb/memattr.c
This page took 0.038268 seconds and 4 git commands to generate.