12 Attention
275
12.5 Option of C Compiler/Assembler/Linker
We do not evaluate other settings, so we can not recommend to append other options.
12.5.1 When Using NCxx
When -O, -OR or -OS option is specified at compilation, the source line information may not be
generated normally due to optimization, causing step execution to be operated abnormally.
To avoid this problem, specify -ONBSD (or -Ono_Break_source_debug) option together with -O, -OR or
OS option.
12.5.2 When Using the Assembler Package for 740 Family
Please assemble according to the following procedures and link.
At assemble
•
"-c" option
outputs debugging information concerned with source line to a relocatable file.
Note
When the directive comand .FUNC is specified to a function in a source file, if "-c" option is used,
the name of the function will be not available. Please do not use the option to make the name
available.
•
"-s" option
outputs local labels, local .equ symbols and local .bequ symbols to a relocatable file.
At link
•
"-s" option
generates a symbol file.
We do not evaluate other settings, so we can not recommend to append other options.
12.5.2.1 Command Execution Examples
The following shows examples of entering commands depending on the product
•
The Debugger for 740
>sra74 -c -s main.a74<Enter>
>sra74 -c -s sub.a74<Enter>
>link74 main sub ,,,-s<Enter>
Содержание Emulator Debugger M16C PC4701
Страница 13: ...Setup of Debugger 1...
Страница 14: ...Blank Page 2...
Страница 73: ...Tutorial 59...
Страница 74: ...Blank Page 60...
Страница 95: ...Reference 81...
Страница 96: ...Blank Page 82...
Страница 119: ...7 Windows Dialogs When TRIGGER is selected Breaks for the status of signal input from external trace cable 105...
Страница 127: ...7 Windows Dialogs 7 7 6 1 1 Writing Reading a Specified Address Set as below Example Writing to even address 400h 113...
Страница 128: ...Example Writing byte length data 32h to even address 400h 114...
Страница 130: ...16 bits bus width 116...
Страница 132: ...2nd point 118...
Страница 133: ...7 Windows Dialogs 16 bits bus width 119...
Страница 134: ...Example Writing data 10h 3Fh to even address 400h 120...
Страница 138: ...Example Writing byte length data 32h to even address 400h 124...
Страница 140: ...16 bits bus width 126...
Страница 141: ...7 Windows Dialogs Example Writing word length data 1234h to even address 400h 127...
Страница 142: ...Example Writing data 10h 3Fh to even address 400h 128...
Страница 146: ...Example Writing byte length data 32h to even address 400h 132...
Страница 147: ...7 Windows Dialogs Example Writing data 10h 3Fh to even address 400h 133...
Страница 153: ...7 Windows Dialogs 7 7 8 2 Interrupt Termination Set as below 139...
Страница 172: ...For condition 7 choose the Mode shown below and set the Start event 158...
Страница 177: ...7 Windows Dialogs When TRIGGER is selected Measures for the status of signal input from external trace cable 163...
Страница 294: ...MEMO 280...