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

von Namitha M. (namitha_m)

Rate this post
0 useful
not useful

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.
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?



Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.