Jump to content
43oh

akhilpo

Members
  • Content Count

    5
  • Joined

  • Last visited

  1. I have fixed it. I changed the -Os flag in 'makedef' file in stellarisware to -O0. And then recompiled the whole stellaris library. Now its showing the debug symbols.
  2. Thanks for the reply. I didn't know that. I have just started learning about assembly programming is ARM.
  3. Hi, I am trying to learn debugging Stellaris launchpad using gcc. I am using the GCC arm embedded toolchain. And I am trying to debug the blinky example project in the stellarisware. But GDB complains that it can't find the debuggin symbols. I have tried defining the symbol "DEBUG" in the source code, but that failed. Please tell me how I can fix this issue? Akhils-MacBook-Pro:blinky akhil$ arm-none-eabi-gdb gcc/blinky.axf GNU gdb (GNU Tools for ARM Embedded Processors) 7.6.0.20140731-cvs Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http:
  4. I know that the first word is the address of the top of the stack. In startup_gcc.c file in the stellarisware projects, the address of the reset_isr subroutine is stored in the second word space in the _text section. In the objdump of the blinky.axf file, a value of 0x2d1 is stored at address 0x04 in _text section. But the reset_isr subroutine is stored at address 0x2d0. This is confusing me. Isn't a value of 0x2d0 supposed to be at address 0x04 in _text section? Please explain me where I am wrong. I have attached the objdump of blinky.axf here. Akhils-MacBook-Pro:blinky akhil$ arm-none-eabi
×
×
  • Create New...