mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-30 12:31:53 +08:00
* elf/dl-debug.c (_dl_debug_initialize): Check r->r_map for 0
rather than r->r_brk.
This commit is contained in:
parent
00e3dec802
commit
f40372e632
@ -1,3 +1,8 @@
|
||||
2006-10-09 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* elf/dl-debug.c (_dl_debug_initialize): Check r->r_map for 0
|
||||
rather than r->r_brk.
|
||||
|
||||
2006-10-06 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* nis/nis_table.c (nis_list): If __follow_path fails in the new
|
||||
|
@ -54,7 +54,7 @@ _dl_debug_initialize (ElfW(Addr) ldbase, Lmid_t ns)
|
||||
else
|
||||
r = &GL(dl_ns)[ns]._ns_debug;
|
||||
|
||||
if (r->r_brk == 0 || ldbase != 0)
|
||||
if (r->r_map == NULL || ldbase != 0)
|
||||
{
|
||||
/* Tell the debugger where to find the map of loaded objects. */
|
||||
r->r_version = 1 /* R_DEBUG_VERSION XXX */;
|
||||
|
Loading…
Reference in New Issue
Block a user