title: gdbinit "no such file or directory" Eclipse c
body: <p>I'm using Xming to connect to a Linux (enterprise edition) server on which I'm trying to debug a C++ project in Eclipse Galileo. The following errors occurred:</p>
  
  <ol>
  <li>Reading symbols from ../workspace/myfile ..(no debugging symbols found) ... done.
  .gdbinit : No such file or directory
  Setting environment variable "LS_COLORS " to null value</li>
  </ol>
  
  <p>(.gdbinit is on the server (in root), my account has rights) </p>
  
  <ol>
  <li><p>If i try to run gmake on the same file from the terminal I get the following error :
  gmake ** No rule to make target /workspace/myfile' . Stop.<br>
  //I have exported the path (including the library path), and gmake exists. </p>
  
  <p>My project has 3 subprojects (proj1 , proj2 and proj 3). In order to debug proj3 I have to build projs 1 and 2 . I created make targets for projects 1 and 2, and I obtained .so files for which i made softlinks to corresponding files in my_project/libs folder. </p></li>
  </ol>
  
  <p>My Eclipse debug configuration is as follows (tab order):</p>
  
  <p>Main<br>
  &#160;&#160;Project: My Project<br>
  &#160;&#160;Build Configuration: UseActive
  &#160;&#160;C++ Application: path to my project/myproject<br>
  &#160;&#160;Environment: path to libs on server (my user rights)<br>
  Debugger 
  &#160;&#160;Debugger: gdb/mi<br>
  &#160;&#160;(Checked) Stop startup at main<br>
  &#160;&#160;GDB debugger: gdb<br>
  &#160;&#160;GDB command line .gdbinit<br>
  &#160;&#160;GDB command set: standard<br>
  &#160;&#160;Protocol mi</p>
  
  <p>Project Properties:<br>
  &#160;&#160;Builders CDT Builder<br>
  &#160;&#160;Scanner Configuration Builder<br>
  &#160;&#160;C/C++ Build<br>
  &#160;&#160;Build command gmake -k<br>
  Behaviour 
  &#160;&#160;build incremental build  : all ( sometimes i get the error no rule for make all)<br>
  &#160;&#160;Clean: clean<br>
  &#160;&#160;Discovery options:<br>
  &#160;&#160;&#160;&#160;(Checked) Automatic discovery path<br>
  &#160;&#160;&#160;&#160;(checked) Report path detection problems<br>
  &#160;&#160;&#160;&#160;Discovery profile GCC per project<br>
  &#160;&#160;&#160;&#160;(checked ) Enable build output<br>
  &#160;&#160;&#160;&#160;Compile invocation comand gcc<br>
  &#160;&#160;&#160;&#160;Toolchain<br>
  &#160;&#160;&#160;&#160;No toolchain<br>
  &#160;&#160;&#160;&#160;Correct builder GNU make builder </p>
  
  <p>This Eclipse debug configuration works on another account (on the same server using the same Eclipse). The gdbinit and gmake files are on the server and work, I'm not supposed to update the versions (this was one solution I found online).</p>
  
  <p>Has anyone seen this error before? Does anyone have a clue what I'm doing wrong?</p>