X86: Use an mmap base address that matches what an actual machine uses.

--HG--
extra : convert_revision : 98521797bbc6360301b3c6a6b1b8e28236ef570e
This commit is contained in:
Gabe Black
2007-07-30 15:42:04 -07:00
parent 890e583163
commit 43f0be5253

View File

@@ -127,9 +127,9 @@ X86LiveProcess::X86LiveProcess(const std::string &nm, ObjectFile *objFile,
// for undertermined purposes.
stack_base = (Addr)0x7FFFFFFFF000ULL;
// Set up region for mmaps. Tru64 seems to start just above 0 and
// grow up from there.
mmap_start = mmap_end = 0xfffff80000000000ULL;
// Set up region for mmaps. This was determined empirically and may not
// always be correct.
mmap_start = mmap_end = 0x2aaaaaaab000;
}
void X86LiveProcess::handleTrap(int trapNum, ThreadContext *tc)