This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: STM32 ROMINT don't run
- From: Samuel Charnet <samcharnet at gmail dot com>
- To: John Dallaway <john at dallaway dot org dot uk>
- Cc: eCos Discussion <ecos-discuss at sourceware dot org>
- Date: Sat, 25 Jan 2014 12:07:34 +0100
- Subject: Re: STM32 ROMINT don't run
- Authentication-results: sourceware.org; auth=none
- References: <CACra8jX5=y1-7iRktxuvK11T8zTNBPfR38=5b57PK2EJNbQ1nA at mail dot gmail dot com> <CACra8jX2N2HkH2QnmTh+6u76bUGOT8AyGALQiSB_g0jEXhvHFA at mail dot gmail dot com> <52E14C04 dot 30308 at dallaway dot org dot uk> <CACra8jU0qa3i0xFD+o7FoPE7p4iAExz-pY9i5gJogdgE285MCQ at mail dot gmail dot com> <52E22ADF dot 1040109 at dallaway dot org dot uk>
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