NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: problem using dladdr API in NetBSD
Hi,
Sorry it was my mistake the code given below is from the file
rtld.c
It is in the implementation of dladdr() API.Line no:792 i am referring
the NetBSD 3.1 release
code.
Hope my query is making some sense to you.
Thanks in Advance,
Channa
2008/10/13 Christos Zoulas <christos%astron.com@localhost>:
> In article
> <515c64960810122150q3807e09aha4f659e6fc6b5e8d%mail.gmail.com@localhost>,
> Channa <channa.kad%gmail.com@localhost> wrote:
>>Hi,
>>It worked for me when i changed the rtld code
>>in the headers.c file
>>
>>Line No:792 for (symoffset = 0; symoffset < obj->strsz; symoffset++) {
>> ........
>> ..........
>> }
>>
>>Since the obj->nchains is not getting filled, i chaged the condition
>>in the for loop to
>>as shown above.
>>I assume that the size of the nchains got from the has table is same
>>as obj->strsz i.e string table size.
>>Please correct me if my assumption is wrong.
>>
>
> What does the code from head look like which is presumably correct?
>
> christos
>
>
Home |
Main Index |
Thread Index |
Old Index