From 2ed3d0b5f147dfc670fba3664d329c38af9611ee Mon Sep 17 00:00:00 2001 From: Elena Zannoni Date: Wed, 4 Jul 2001 18:06:02 +0000 Subject: 2001-07-04 Elena Zannoni * memattr.c (create_mem_region): Move n to next memory region, to avoid infinite loop. --- gdb/memattr.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gdb/memattr.c') diff --git a/gdb/memattr.c b/gdb/memattr.c index c973909..8e934e7 100644 --- a/gdb/memattr.c +++ b/gdb/memattr.c @@ -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)); -- cgit v1.1