diff options
author | Michael Snyder <msnyder@vmware.com> | 2010-05-16 00:18:02 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2010-05-16 00:18:02 +0000 |
commit | b8d56208c522b6a27efe7790770ef65a3031da7b (patch) | |
tree | bb5517e441b30a41ff80bf566f33988cd98630d1 /gdb/memattr.c | |
parent | 54534c15fe4c4642034894c7d99c5d945c9c3792 (diff) | |
download | gdb-b8d56208c522b6a27efe7790770ef65a3031da7b.zip gdb-b8d56208c522b6a27efe7790770ef65a3031da7b.tar.gz gdb-b8d56208c522b6a27efe7790770ef65a3031da7b.tar.bz2 |
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 3fcc45e..4284da4 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); |