Bug 486886 - the gdb debugger terminates with exit value 35584 >gdb(7.0.1)
Summary: the gdb debugger terminates with exit value 35584 >gdb(7.0.1)
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: Next   Edit
Hardware: PC Windows 7
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: cdt-debug-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-30 06:13 EST by pradeep kumar CLA
Modified: 2020-09-04 15:26 EDT (History)
4 users (show)

See Also:


Attachments
error message when I press f11 (189.76 KB, image/png)
2016-02-02 00:17 EST, pradeep kumar CLA
no flags Details
debug configuration settings (233.45 KB, image/png)
2016-02-02 00:18 EST, pradeep kumar CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description pradeep kumar CLA 2016-01-30 06:13:24 EST
hi 
  i am using windows 7 64bit PC.  installed cygwin, gdb, g++, make, programs in cygwin.

   created a small c++ program to add two numbers and print the result. 
   wanted to learn the debugging. 
   
   steps followed:
       1. created the program
       2. able to build it successfully.
       3. able to see the output in console window.
       4. able to enable the breakpoints.
       
  eclipse version is neon..  Version: Neon Milestone 4 (4.6.0M4)
  the envrionmental variable under :
                   windows->preferences->c/c++->Build->Environment is:
              PATH:  C:\cygwin64\bin

  I press, F11,(debug):
     i get a message as:
         terminated hello.exe [c/c++ application]
            <terminated, exit value 35584> gdb(7.0.1).

 If i run the same program under cygwin shell, and debug it. It is perfect.

 so Please resolve this as soon as possible.
-regards
Pradeep
Comment 1 Marc-André Laperle CLA 2016-01-31 12:49:19 EST
Maybe you try to add C:\cygwin64\bin in the Environment tab in the Debug configuration?
Comment 2 pradeep kumar CLA 2016-02-02 00:17:58 EST
Created attachment 259479 [details]
error message when I press f11
Comment 3 pradeep kumar CLA 2016-02-02 00:18:27 EST
Created attachment 259480 [details]
debug configuration settings