11-18
EPSOn
S5U1C17001C ManUal
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
11 OTHEr TOOlS
-G
Function:
Display raw data of debugging information
Explanation: Displays the raw data of the debugging information in stab format.
-S
Function:
Mixed display
Explanation: Displays all the executable sections after disassembling the object code. The source code is also
displayed with the corresponding disassembled code if possible.
When entering an option, you need to place one or more spaces before and after the option.
Example:
c:\EPSON\gnu17\objdump -S test.elf
11.3.4 Dump format
The following shows the display examples by specifying each option:
-d
(Disassembled display)
Displays the disassembled information from the beginning of the executable section.
C:\EPSON\gnu17\>objdump -d main.o
main.o: file format elf32-c17
Disassembly of section .text:
00000000 <main>:
0: 3e5c ld.a -[%sp],%r4 ld.a -[%sp],%r4
00000002 <.LBB2>:
2: 9900 ld %r2,0x0 ld %r2,0x0 <main>
4: 4000 ext 0x0
6: 4000 ext 0x0
8: d900 ld [0x0],%r2 xld [0x0],%r2 <main>
. . . . .
-h
(Display section information)
Displays the section configuration in the file, section size and mapped address (VMA and LMA).
.stab
,
.
stabstr
and
.comment
are the sections that contains debugging information.
The
load
command does not send these debug information sections to the target.
C:\EPSON\gnu17\>objdump -h sample.elf
sample.elf: file format elf32-c17
Sections:
Idx Name Size VMA LMA File off Algn
0 .bss 000000b8 00000000 00000000 000000b4 2**2
ALLOC
1 .data 00000000 000000b8 00004080 00000134 2**0
CONTENTS, ALLOC, LOAD, DATA
2 .rodata 00000080 00004000 00004000 000000b4 2**2
CONTENTS, ALLOC, LOAD, DATA
3 .text 0000023e 00004080 00004080 00000134 2**1
CONTENTS, ALLOC, LOAD, CODE
4 .stab 00000bb8 000042c0 000042c0 00000374 2**2
CONTENTS, READONLY, DEBUGGING
5 .stabstr 000008b3 00004e78 00004e78 00000f2c 2**0
CONTENTS, READONLY, DEBUGGING
*** Debugging sections will not be loaded to the target ***
Summary of Contents for S5U1C17001C
Page 6: ......
Page 17: ...1 General S5U1C17001C Manual 1 General ...
Page 18: ......
Page 21: ...1 2 Install S5U1C17001C Manual 2 Installation ...
Page 22: ......
Page 29: ...3 SoftDev S5U1C17001C Manual 3 Software Development Procedures ...
Page 30: ......
Page 103: ...4 SrcFiles S5U1C17001C Manual 4 Source files ...
Page 104: ......
Page 121: ...5 IDE S5U1C17001C Manual 5 gnU17 iDE ...
Page 122: ......
Page 365: ...6 Compiler S5U1C17001C Manual 6 C Compiler ...
Page 366: ......
Page 385: ...7 Library S5U1C17001C Manual 7 library ...
Page 386: ......
Page 405: ...8 Assemblr S5U1C17001C Manual 8 assembler ...
Page 406: ......
Page 439: ...9 Linker S5U1C17001C Manual 9 linker ...
Page 440: ......
Page 449: ...10 Debugger S5U1C17001C Manual 10 Debugger ...
Page 450: ......
Page 626: ...11 Tools S5U1C17001C Manual 11 Other Tools ...
Page 627: ......
Page 696: ...S1C17 Family C Compiler Package Quick Reference Reference ...