bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with dladdr()?


From: Ulrich Drepper
Subject: Re: Problem with dladdr()?
Date: 04 Oct 2000 18:34:27 -0700
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Capitol Reef)

Bryce McKinlay <address@hidden> writes:

> however in Red Hat 7.0 (glibc-2.1.92-14), this seems to have changed
> such that the dl_info struct is filled out with some incorrect values,
> and 0 is not returned:
> 
> (gdb) p p
> $2 = (void *) 0x804b90b
> (gdb) p dl_info
> $1 = {dli_fname = 0xbffffb6d "/home/bryce/projects/tests/./st",
>   dli_fbase = 0x8048000, dli_sname = 0x80488b7 "__frame_state_for",
>   dli_saddr = 0x804b6d0}
> 
> dli_sname and dli_saddr are wrong here, and shouldn't dli_fbase be 0?

Nothing is wrong.  Adjust your program.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]