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:
parent
80629b1b75
commit
2ed3d0b5f1
2 changed files with 4 additions and 0 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue