Messages in this thread | | | Date | Mon, 7 Dec 2009 18:17:17 +0800 | From | Jie Zhang <> | Subject | Re: [uClinux-dev] [PATCH/RFC] FDPIC: add hook for arches to customize program header parsing |
| |
On 12/07/2009 06:10 PM, Mike Frysinger wrote: > On Fri, Dec 4, 2009 at 19:28, Jie Zhang<wrote: >> On 12/05/2009 01:44 AM, David Howells wrote: >>> Mike Frysinger<vapier@gentoo.org> wrote: >>>> The Blackfin port has custom program header flags/addresses for >>>> automatically loading regions into the dedicated on-chip SRAM. So add a >>>> hook for ports to leverage. >>> >>> Now that I've ACK'd this, I feel I'm going to have to NAK it. I'm not >>> against >>> the general concept, but: >>> >>>> + do_munmap(mm, *maddr, phdr->p_memsz + *disp); >>> >>> There needs to be a mapping covering the SRAM region for the purposes of >>> the >> >> Our GDB is still lack of the feature to debug applications using SRAM. > > semi true. L1 text appears to work fine:
This is by lucky. We need some feature in GDB 7.0 to cope with code or data in L1 SRAM.
Jie
| |