mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
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
@ -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 New Issue
Block a user