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.
This commit is contained in:
Michael Snyder
2010-05-16 00:18:02 +00:00
parent 54534c15fe
commit b8d56208c5
13 changed files with 106 additions and 23 deletions

View File

@@ -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);