Unbreak aix build.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6578
This commit is contained in:
Julian Seward
2007-02-09 02:11:06 +00:00
parent 56b4de0b8b
commit 9943647c57
4 changed files with 38 additions and 22 deletions

View File

@@ -428,11 +428,12 @@ void VG_(di_aix5_notify_segchange)(
} else {
/* Dump all the segInfos which intersect code_start/code_len. */
/* Dump all the segInfos whose text segments intersect
code_start/code_len. */
while (True) {
for (si = segInfo_list; si; si = si->next) {
if (code_start + code_len <= si->start
|| si->start + si->size <= code_start)
if (code_start + code_len <= si->text_start_avma
|| si->text_start_avma + si->text_size <= code_start)
continue; /* no overlap */
else
break;