 |
|
 |
RENESAS TOOL NEWS on November 1, 2003: RSO-M3T-PD32RSIM-031101D
A Note on Using Debuggers M3T-PD32RSIM, M3T-PD32RM, and M3T-PD32R
|
Please take note of the following problem in using the M3T-PD32RSIM simulator debugger and the M3T-PD32RM and M3T-PD32R emulator debuggers for the M32R family MCUs:
- On referencing a member of a struct or union
- Products and Versions Concerned
- M3T-PD32RSIM V.2.00 Release 1 and V.2.00 Release 1A for the M32R family
- All the versions of M3T-PD32RM (used in combination with the M32100T3-SDI-E or M32100T-EZ-E emulator)
- M3T-PD32R V.4.00 Release 1 (used in combination with the M32xxxTx-SDI(-E) emulator)
- Description
A member of a struct or union may not correctly be referenced. If you try referencing it, the debugger will unsuccessfully terminate in some cases.
- 2.1 Conditions
- This problem occurs if the following three conditions are satisfied:
| (1) | The M3T-CC32R cross-tool kit is running. |
| (2) | In the source program exists a member of a struct or union explained in (a) and (b) below:
(a) A member of the struct is a pointer array pointing to another struct or a union.
(b) A member of the union is a pointer array pointing to another union or a struct. |
- 2.2 Example
- In the example shown below, pA, a member of struct-type variable b, cannot be referenced correctly.
Example in Condition (2)-(a)
--------------------------
struct A {
char ch[5];
};
struct B {
struct A * pA[1];
} b;
--------------------------
- Workaround
This problem can be circumvented by using the problem-fixed DLL file corresponding to your debugger. So, please replace the DLL file in your product with the problem-fixed one in the following steps:
| (1) |
Download the problem-fixed DLL file you want.
The names and versions of the DLL file are as follows:
|
| (2) | Decompress the downloaded file. |
| (3) | With the decompressed file, overwrite the old one in the folder where the debugger has been installed. |
| (4) |
Confirm the version number of the new DLL file as follows:
- Launch your debugger.
- Open the Help menu and select the About command. You see the Version dialog box.
- Check to see that the version number displayed is that of the problem-fixed DLL file you want.
|
- Schedule of Fixing the Problem
We plan to fix this problem in our next release of the products.
|
 |