 |
|
 |
MESC TOOL NEWS:
MESCT-NC30WA_2-990316D
Please take note of the following problem in using C compilers (with assembler and integrated development environmetn) NC30WA for the M16C/60 and M16C/20 series and NC79WA for the 7900 series of microcomputers.
Note that this problem has been fixed in NC30WA V.3.10 Release 1 and NC79WA V.3.10 Release 1 upgraded on March 16, 1999.
On Debug Information
- Problem
When compilation executed under the following conditions, emulator debuggers PD30 and PD79 may not debug programs (for example, breakpoints cannot be set) by insufficient debug information.
- Conditions
This problem occurs if the following three conditions are satisfied:
(1)The program exists in an include file included in the C source file.
(2)No programs exist in the lines prior to the above inclusion.
(3)Option "-g" is chosen at compilation.
[Example]
[sample.h]
-----------------------------------------------------------------------
| func(){
|
| [Omitted]
|
| }
|
-----------------------------------------------------------------------
[smp.c]
-----------------------------------------------------------------------
| #include [sample.h]
| main()
| {
|
| }
|
-----------------------------------------------------------------------
- Workaround
Don't write any program in an include file.
|
 |