[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Libunwind-devel] Function Address
From: |
David Mosberger-Tang |
Subject: |
Re: [Libunwind-devel] Function Address |
Date: |
Wed, 15 Aug 2007 19:13:33 -0600 |
On 8/15/07, Jose Flavio Aguilar Paulino <address@hidden> wrote:
> Thanks a lot for the explanation about the "min_dist", I figure out that
> the problem is in gcc optimization -O2 (Im already reporting to gcc
> developers) because it lose the min_dist value and because of that it's
> not entering in the if to fill the procedure name.
Ah, I suspected an optimization problem!
> Do you know how could I read the memory address space in elf file? I'm
> still trying to avoid to use the address space, but I couldn't make it
> work yet!
The ELF file gets mmap'ed into libunwind's address-space, so you can
access it directly. The info where the image is mapped is stored in
the elf_image struct (ei->image is the starting address and ei->size
its size).
--david
--
Mosberger Consulting LLC, http://www.mosberger-consulting.com/
- [Libunwind-devel] Function Address, Jose Flavio, 2007/08/10
- Re: [Libunwind-devel] Function Address, Jose Flavio, 2007/08/14
- Re: [Libunwind-devel] Function Address, David Mosberger-Tang, 2007/08/14
- Re: [Libunwind-devel] Function Address, Jose Flavio, 2007/08/14
- Re: [Libunwind-devel] Function Address, Jose Flavio Aguilar Paulino, 2007/08/15
- Re: [Libunwind-devel] Function Address,
David Mosberger-Tang <=
- Re: [Libunwind-devel] Function Address, Jose Flavio Aguilar Paulino, 2007/08/16
- Re: [Libunwind-devel] Function Address, Jose Flavio Aguilar Paulino, 2007/08/16
- Re: [Libunwind-devel] Function Address, David Mosberger-Tang, 2007/08/16
- Re: [Libunwind-devel] Function Address, Thiago Jung Bauermann, 2007/08/16
- Re: [Libunwind-devel] Function Address, David Mosberger-Tang, 2007/08/16