Bug 385382 - [DBCS4.2] fails to open source files when debugging a program in a project name including national characters
Summary: [DBCS4.2] fails to open source files when debugging a program in a project na...
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: Next   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: cdt-debug-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-18 04:47 EDT by Takehiko Ishii CLA
Modified: 2020-09-04 15:22 EDT (History)
9 users (show)

See Also:


Attachments
opening source file fails when debuggin Japanese project in MinGW GCC toolchain (126.25 KB, image/png)
2012-07-18 04:49 EDT, Takehiko Ishii CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Takehiko Ishii CLA 2012-07-18 04:47:51 EDT
Build Identifier: Version: 4.2.0 Build id: I20120608-1400 (I20120713)

OS: Windows 7 SP1 Professional Japanese Edition (64bit)
JDK: java full version JRE 1.7.0 IBM Windows AMD 64 build
pwa6470sr1-20120405_01(SR1)
Locale:Japanese

CDT SDK: cdt-SDK-8.1.0-win32.x86_64
Toolchain: MinGW GCC

I created a C++ project with MinGW GCC toolchain whose name includes national
characters (in Japanese). I created a simple main.cpp within it and built the
project. Then trying to debug the program. The debug itself was kicked successfully, however opening a source file failed due to a problem of source look up path. 

Reproducible: Always

Steps to Reproduce:
0. install MinGW on Japanese Windows 7 64bit and add a bin directory of MinGW
into the top of PATH environmental variable of Windows
1. start eclipse and add a path mapping in C/C++ debug preferences
 ( /cygwin/c -> C:\ ) 
2. create C++ project with MinGW GCC toolchain including national characters
like Japanese in its name
3. create a main.cpp source file with a simple main function
(just "return 0;" within it )
4. build project
5. right-click on the project and select "Debug As"->"Local C/C++ Application"
6. Click "Yes" on confirm perspective switch dialog to move to Debug perspective


Actual:
Debugging started properly, but opening a source file failed. Please see detail error message in the screen-shot I will attach in this report later.

Expected:
Debugging starts properly and a source file is opened.
Comment 1 Takehiko Ishii CLA 2012-07-18 04:49:17 EDT
Created attachment 218855 [details]
opening source file fails when debuggin Japanese project in MinGW GCC toolchain

Opening source file fails when debuggin Japanese project in MinGW GCC toolchain.
Comment 2 Robert Hartmann CLA 2012-11-13 13:48:55 EST
Which version of GDB?

Are you using CDT/DSF?