EmbDev.net

Forum: ARM programming with GCC/GNU tools arm-elf-gdb memory


von Namitha M. (namitha_m)


Rate this post
useful
not useful
Hi,

I am trying to run an arm executable on linux pc.
arm-elf-run exec infile outfile stops at a calloc
memory not sufficient. BUT
arm-elf-run -m <size in pow of 2> exec infile outfile WORKS.
But i need to debug the code.
so
arm-elf-gdb exec infile outfile does not work as
it stops at calloc and says
memory not sufficient.

How do i pass memory to gdb?

Regards,
Namitha.

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.