Don't ignore libraries loaded at address 0x0, or we'll ignore libc. Bug 222158, r=dbaron.

This commit is contained in:
bryner@brianryner.com
2003-10-14 21:05:22 +00:00
parent 333e04189d
commit fd1feea0ce

View File

@@ -122,7 +122,7 @@ static void DumpAddressMap()
malloc_map_entry mme;
link_map* map = _r_debug.r_map;
while (NULL != map) {
if (0 != map->l_addr) {
if (map->l_name) {
mme.nameLen = strlen(map->l_name);
mme.address = map->l_addr;
write(mfd, &mme, sizeof(mme));