2001-07-04 Elena Zannoni <ezannoni@redhat.com>

* memattr.c (create_mem_region): Move n to next memory region,
	to avoid infinite loop.
This commit is contained in:
Elena Zannoni 2001-07-04 18:06:02 +00:00
parent 80629b1b75
commit 2ed3d0b5f1
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2001-07-04 Elena Zannoni <ezannoni@redhat.com>
* memattr.c (create_mem_region): Move n to next memory region,
to avoid infinite loop.
* memattr.h: Add copyright statement.
* memattr.c: Ditto.

View File

@ -71,6 +71,7 @@ create_mem_region (CORE_ADDR lo, CORE_ADDR hi,
printf_unfiltered ("overlapping memory region\n");
return NULL;
}
n = n->next;
}
new = xmalloc (sizeof (struct mem_region));