diff options
author | Michael Snyder <msnyder@specifix.com> | 2010-05-16 00:18:00 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@specifix.com> | 2010-05-16 00:18:00 +0000 |
commit | 73cb3c0c0abf8e99e179711c213bb299b1db8664 (patch) | |
tree | 408da00bbc802fc578662562a30534aa37b0c1d6 /gdb/memattr.c | |
parent | a1aa4b1a308f13116e3086f1a119b6142315facb (diff) | |
download | gdb-73cb3c0c0abf8e99e179711c213bb299b1db8664.tar.gz |
2010-05-15 Michael Snyder <msnyder@vmware.com>
* m2-lang.c: White space.
* m2-valprint.c: White space.
* macrocmd.c: White space.
* macroexp.c: White space.
* macroscope.c: White space.
* macrotab.c: White space.
* main.c: White space.
* maint.c: White space.
* mdebugread.c: White space.
* memattr.c: White space.
* minsyms.c: White space.
* monitor.c: White space.
Diffstat (limited to 'gdb/memattr.c')
-rw-r--r-- | gdb/memattr.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/gdb/memattr.c b/gdb/memattr.c index 3fcc45eb6dc..4284da4eb2e 100644 --- a/gdb/memattr.c +++ b/gdb/memattr.c @@ -440,6 +440,7 @@ mem_info_command (char *args, int from_tty) for (ix = 0; VEC_iterate (mem_region_s, mem_region_list, ix, m); ix++) { char *tmp; + printf_filtered ("%-3d %-3c\t", m->number, m->enabled_p ? 'y' : 'n'); @@ -452,17 +453,17 @@ mem_info_command (char *args, int from_tty) if (gdbarch_addr_bit (target_gdbarch) <= 32) { - if (m->hi == 0) - tmp = "0x100000000"; - else - tmp = hex_string_custom ((unsigned long) m->hi, 8); + if (m->hi == 0) + tmp = "0x100000000"; + else + tmp = hex_string_custom ((unsigned long) m->hi, 8); } else { - if (m->hi == 0) - tmp = "0x10000000000000000"; - else - tmp = hex_string_custom ((unsigned long) m->hi, 16); + if (m->hi == 0) + tmp = "0x10000000000000000"; + else + tmp = hex_string_custom ((unsigned long) m->hi, 16); } printf_filtered ("%s ", tmp); |