[uClibc] Single-step into uClibc got 'Cannot access memory at address 0xa646c72'
Jason Huang
jason.huang at WesconGroup.com
Thu Jan 13 17:05:12 UTC 2005
Hello,
On ARM 925t, I am unable to single-step into _memcpy.S, line 373:
367:.Lmemcpy_bl32:
368: cmn r2, #0x10
369: ldmgedb r1!, {r3, r4, r12, lr} /* blat a remaining 16 bytes */
370: stmgedb r0!, {r3, r4, r12, lr}
371: subge r2, r2, #0x10
372: adds r2, r2, #0x14
373: ldmgedb r1!, {r3, r12, lr} /* blat a remaining 12 bytes */
374: stmgedb r0!, {r3, r12, lr}
375: subge r2, r2, #0x0c
376: ldmia sp!, {r4, lr}
If I did not step into library functions, there was no problem.
My test program is very simple:
int main(int argc, char *argv[])
{
char buffer[80];
memcpy(&buffer[0],"Hello world\n",13);
return EXIT_SUCCESS;
}
I did set solib-absolute-prefix to my toolchain /opt/omap/arm-uclibc-3.4.2/lib.
I tried the prebuilt ARM toolchain from uclibc.org, with the same problem.
Was it caused by MMU paging?
Or, did I miss something?
Best regards.
Jason Huang
More information about the uClibc
mailing list