Hi all
why my cross-compiler gcc doesn't produce any .debug*** section?
thanks
from Peter (
cmk...@hotmail.com)
/Users/peter>i586-peter-elf-gcc -c -g a.c
/Users/peter>i586-peter-elf-objdump a.o -h
a.o: file format elf32-i386
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 00000028 00000000 00000000 00000034 2**2
CONTENTS, ALLOC, LOAD, READONLY, CODE
1 .data 00000000 00000000 00000000 0000005c 2**2
CONTENTS, ALLOC, LOAD, DATA
2 .bss 00000000 00000000 00000000 0000005c 2**2
ALLOC
3 .stab 000001a4 00000000 00000000 0000005c 2**2
CONTENTS, RELOC, READONLY, DEBUGGING
4 .stabstr 000002b5 00000000 00000000 00000200 2**0
CONTENTS, READONLY, DEBUGGING
5 .comment 00000012 00000000 00000000 000004b5 2**0
CONTENTS, READONLY
6 .eh_frame 00000038 00000000 00000000 000004c8 2**2
CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA
/Users/peter>