diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2009-01-21 01:20:15 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@codesourcery.com> | 2009-01-21 01:20:15 +0000 |
commit | f6a96b83ac540c203c92a19e90bfbe61e3a57cc1 (patch) | |
tree | d4f28ea670141503daaa51bbcb9e0bf07ca2e0af /gdb/procfs.c | |
parent | 7dee81593cf2d321d0700a2c67546a1d5ed8b5ba (diff) | |
download | gdb-f6a96b83ac540c203c92a19e90bfbe61e3a57cc1.zip gdb-f6a96b83ac540c203c92a19e90bfbe61e3a57cc1.tar.gz gdb-f6a96b83ac540c203c92a19e90bfbe61e3a57cc1.tar.bz2 |
* gdb/procfs.c (info_mappings_callback): Cast map->pr_size to
unsigned long.
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r-- | gdb/procfs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c index ea8648e..4587fdd 100644 --- a/gdb/procfs.c +++ b/gdb/procfs.c @@ -5791,17 +5791,17 @@ info_mappings_callback (struct prmap *map, int (*ignore) (), void *unused) #endif if (gdbarch_addr_bit (current_gdbarch) == 32) - printf_filtered ("\t%#10lx %#10lx %#10x %#10x %7s\n", + printf_filtered ("\t%#10lx %#10lx %#10lx %#10x %7s\n", (unsigned long) map->pr_vaddr, (unsigned long) map->pr_vaddr + map->pr_size - 1, - map->pr_size, + (unsigned long) map->pr_size, pr_off, mappingflags (map->pr_mflags)); else - printf_filtered (" %#18lx %#18lx %#10x %#10x %7s\n", + printf_filtered (" %#18lx %#18lx %#10lx %#10x %7s\n", (unsigned long) map->pr_vaddr, (unsigned long) map->pr_vaddr + map->pr_size - 1, - map->pr_size, + (unsigned long) map->pr_size, pr_off, mappingflags (map->pr_mflags)); |