This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: STM32 ROMINT don't run


I still can't debug

I looked in more detail objdump output and i have a strange thing :

So, this is the header :

$ arm-none-eabi-objdump -h hello

hello:     file format elf32-littlearm

Sections:
Idx Name          Size      VMA       LMA       File off  Algn
  0 .debug_aranges 000012e0  00000000  00000000  000050d8  2**3
                  CONTENTS, READONLY, DEBUGGING
  1 .debug_info   00047978  00000000  00000000  000063b8  2**0
                  CONTENTS, READONLY, DEBUGGING
  2 .debug_abbrev 0000b993  00000000  00000000  0004dd30  2**0
                  CONTENTS, READONLY, DEBUGGING
  3 .debug_line   0000b85d  00000000  00000000  000596c3  2**0
                  CONTENTS, READONLY, DEBUGGING
  4 .debug_frame  00002ba8  00000000  00000000  00064f20  2**2
                  CONTENTS, READONLY, DEBUGGING
  5 .debug_str    00008f1a  00000000  00000000  00067ac8  2**0
                  CONTENTS, READONLY, DEBUGGING
  6 .debug_loc    00012afc  00000000  00000000  000709e2  2**0
                  CONTENTS, READONLY, DEBUGGING
  7 .rom_vectors  00000008  08000000  08000000  00000098  2**0
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  8 .ARM.exidx    00000008  08000008  08000008  000000a0  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  9 .text         00004d18  08000010  08000010  000000a8  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
 10 .rodata       00000160  08004d28  08004d28  00004dc0  2**3
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
 11 .eh_frame     00000008  08004e88  08004e88  00004f20  2**0
                  ALLOC
 12 .data         000001b8  20000288  08004e90  00004f20  2**3
                  CONTENTS, ALLOC, LOAD, DATA
 13 .bss          000034bc  20000440  08005048  000050d8  2**3
                  ALLOC
 14 .ARM.attributes 0000002f  00000000  00000000  000834de  2**0
                  CONTENTS, READONLY
 15 .comment      00000070  00000000  00000000  0008350d  2**0
                  CONTENTS, READONLY
 16 .debug_ranges 000046c8  00000000  00000000  0008357d  2**0
                  CONTENTS, READONLY, DEBUGGING

The text section should be

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]