Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » CDT/gdb unknown target exception 0xc0000135 at 0x7c964ed1
CDT/gdb unknown target exception 0xc0000135 at 0x7c964ed1 [message #249055] Fri, 15 February 2008 15:48 Go to next message
Eclipse User
Originally posted by: kevin.p.carroll.lmco.com

I installed Eclipse 3.3.1.1, CDT 4.0.2, and Cygwin (on Windows XP)
I added c:\cygwin\bin to PATH
I added a path map from /cygdrive/c to c:\ and /cygdrive/d to d:\
I created one of the C++ "Hello World" projects.

The project compiles and links and I can use gdb to debug the executable
from a Cygwin shell, but I receive the following messages (which includes
the target exception) when trying to used gdb via CDT. Any suggestions
would be greatly appreciated.

1-gdb-set confirm off
1^done
2-gdb-set width 0
(gdb)
2^done
(gdb)
3-gdb-set height 0
3^done
4-interpreter-exec console echo
(gdb)
4^done
5-gdb-show prompt
(gdb)
5^done,value="(gdb) "
6
(gdb)

&"\n"
6^done
7-gdb-set stop-on-solib-events 0
(gdb)
7^done
8-gdb-set stop-on-solib-events 1
(gdb)
8^done
9-gdb-set new-console on
(gdb)
9^done
(gdb)
10-environment-cd D:\\Data\\CARROKP\\workspace\\Indexer_test
10^done
(gdb)
11-environment-directory D /Data/CARROKP/workspace/Indexer_test;D
/Data/CARROKP/workspace/Indexer_test/Debug;D
/Data/CARROKP/workspace/Indexer_test/Debug/src;D
&"Warning: /Data/CARROKP/workspace/Indexer_test/Debug/src;D: No such file
or directory.\n"
Warning: /Data/CARROKP/workspace/Indexer_test/Debug/src;D: No such file or
directory.
Warning: /Data/CARROKP/workspace/Indexer_test/Debug;D: No such file or
directory.
Warning: /Data/CARROKP/workspace/Indexer_test;D: No such file or directory.
Warning: /cygdrive/d/Data/CARROKP/workspace/Indexer_test/D: No such file
or directory.
&"Warning: /Data/CARROKP/workspace/Indexer_test/Debug;D: No such file or
directory.\n"
&"Warning: /Data/CARROKP/workspace/Indexer_test;D: No such file or
directory.\n"
&"Warning: /cygdrive/d/Data/CARROKP/workspace/Indexer_test/D: No such file
or directory.\n"
11^done
(gdb)
12 info threads
&"info threads\n"
&"No registers.\n"
12^error,msg="No registers."
(gdb)
13-data-list-register-names
13^done,register-names=["eax","ecx","edx","ebx","esp ","ebp","esi","edi","eip","eflags","cs","ss","ds ","es","fs","gs","st0","st1","st2","st3","st4 ","st5","st6","st7","fctrl","fstat","ftag","fiseg ","fioff","foseg","fooff","fop","xmm0","xmm1","xmm2 ","xmm3","xmm4","xmm5","xmm6","xmm7","mxcsr","mm0 ","mm1","mm2","mm3","mm4","mm5","mm6","mm7"]
(gdb)
14-break-insert Indexer_test.exe:main
No source file named Indexer_test.exe.
&"No source file named Indexer_test.exe.\n"
14^done
(gdb)
15-break-insert -t main
15^done,bkpt={number="1",type="breakpoint",disp="del",enabled= "y",addr="0x00401175",func="main",file="../src/Indexer_test.cpp ",fullname=" /cygdrive/d/Data/CARROKP/workspace/Indexer_test/src/Indexer_ test.cpp ",line="12",times="0"}
(gdb)
16-exec-run
16^running
(gdb)
~"gdb: unknown target exception 0xc0000135 at 0x7c964ed1\n"
gdb: unknown target exception 0xc0000135 at 0x7c964ed1
You can't do that without a process to debug.
&"You can't do that without a process to debug.\n"
16^error,msg="You can't do that without a process to debug."
(gdb)
17 info proc
&"info proc\n"
&"Undefined info command: \"proc\". Try \"help info\".\n"
17^error,msg="Undefined info command: \"proc\". Try \"help info\"."
(gdb)
18 info program
&"info program\n"
~"The program being debugged is not being run.\n"
18^done
(gdb)
19 info threads
&"info threads\n"
&"No registers.\n"
19^error,msg="No registers."
(gdb)
20 info threads
&"info threads\n"
&"No registers.\n"
20^error,msg="No registers."
(gdb)
21 info threads
&"info threads\n"
&"No registers.\n"
21^error,msg="No registers."
(gdb)
Re: CDT/gdb unknown target exception 0xc0000135 at 0x7c964ed1 [message #249081 is a reply to message #249055] Fri, 15 February 2008 19:54 Go to previous messageGo to next message
Darin Swanson is currently offline Darin Swanson
Messages: 2386
Registered: July 2009
Senior Member
You are going to have much better luck getting an answer within the CDT
newsgroup...which I have CCd

HTH
Darins
http://runnerwhocodes.blogspot.com

"Kevin" <kevin.p.carroll@lmco.com> wrote in message
news:5a2c4cd30c8ef2a5fbe29412238b0988$1@www.eclipse.org...
>
> I installed Eclipse 3.3.1.1, CDT 4.0.2, and Cygwin (on Windows XP)
> I added c:\cygwin\bin to PATH
> I added a path map from /cygdrive/c to c:\ and /cygdrive/d to d:\
> I created one of the C++ "Hello World" projects.
>
> The project compiles and links and I can use gdb to debug the executable
> from a Cygwin shell, but I receive the following messages (which includes
> the target exception) when trying to used gdb via CDT. Any suggestions
> would be greatly appreciated.
>
> 1-gdb-set confirm off
> 1^done
> 2-gdb-set width 0
> (gdb) 2^done
> (gdb) 3-gdb-set height 0
> 3^done
> 4-interpreter-exec console echo
> (gdb) 4^done
> 5-gdb-show prompt
> (gdb) 5^done,value="(gdb) "
> 6
> (gdb)
> &"\n"
> 6^done
> 7-gdb-set stop-on-solib-events 0
> (gdb) 7^done
> 8-gdb-set stop-on-solib-events 1
> (gdb) 8^done
> 9-gdb-set new-console on
> (gdb) 9^done
> (gdb) 10-environment-cd D:\\Data\\CARROKP\\workspace\\Indexer_test
> 10^done
> (gdb) 11-environment-directory D /Data/CARROKP/workspace/Indexer_test;D
> /Data/CARROKP/workspace/Indexer_test/Debug;D
> /Data/CARROKP/workspace/Indexer_test/Debug/src;D
> &"Warning: /Data/CARROKP/workspace/Indexer_test/Debug/src;D: No such file
> or directory.\n"
> Warning: /Data/CARROKP/workspace/Indexer_test/Debug/src;D: No such file or
> directory.
> Warning: /Data/CARROKP/workspace/Indexer_test/Debug;D: No such file or
> directory.
> Warning: /Data/CARROKP/workspace/Indexer_test;D: No such file or
> directory.
> Warning: /cygdrive/d/Data/CARROKP/workspace/Indexer_test/D: No such file
> or directory.
> &"Warning: /Data/CARROKP/workspace/Indexer_test/Debug;D: No such file or
> directory.\n"
> &"Warning: /Data/CARROKP/workspace/Indexer_test;D: No such file or
> directory.\n"
> &"Warning: /cygdrive/d/Data/CARROKP/workspace/Indexer_test/D: No such file
> or directory.\n"
> 11^done
> (gdb) 12 info threads
> &"info threads\n"
> &"No registers.\n"
> 12^error,msg="No registers."
> (gdb) 13-data-list-register-names
> 13^done,register-names=["eax","ecx","edx","ebx","esp ","ebp","esi","edi","eip","eflags","cs","ss","ds ","es","fs","gs","st0","st1","st2","st3","st4 ","st5","st6","st7","fctrl","fstat","ftag","fiseg ","fioff","foseg","fooff","fop","xmm0","xmm1","xmm2 ","xmm3","xmm4","xmm5","xmm6","xmm7","mxcsr","mm0 ","mm1","mm2","mm3","mm4","mm5","mm6","mm7"]
> (gdb) 14-break-insert Indexer_test.exe:main
> No source file named Indexer_test.exe.
> &"No source file named Indexer_test.exe.\n"
> 14^done
> (gdb) 15-break-insert -t main
> 15^done,bkpt={number="1",type="breakpoint",disp="del",enabled= "y",addr="0x00401175",func="main",file="../src/Indexer_test.cpp ",fullname=" /cygdrive/d/Data/CARROKP/workspace/Indexer_test/src/Indexer_ test.cpp ",line="12",times="0"}
> (gdb) 16-exec-run
> 16^running
> (gdb) ~"gdb: unknown target exception 0xc0000135 at 0x7c964ed1\n"
> gdb: unknown target exception 0xc0000135 at 0x7c964ed1
> You can't do that without a process to debug.
> &"You can't do that without a process to debug.\n"
> 16^error,msg="You can't do that without a process to debug."
> (gdb) 17 info proc
> &"info proc\n"
> &"Undefined info command: \"proc\". Try \"help info\".\n"
> 17^error,msg="Undefined info command: \"proc\". Try \"help info\"."
> (gdb) 18 info program
> &"info program\n"
> ~"The program being debugged is not being run.\n"
> 18^done
> (gdb) 19 info threads
> &"info threads\n"
> &"No registers.\n"
> 19^error,msg="No registers."
> (gdb) 20 info threads
> &"info threads\n"
> &"No registers.\n"
> 20^error,msg="No registers."
> (gdb) 21 info threads
> &"info threads\n"
> &"No registers.\n"
> 21^error,msg="No registers."
> (gdb)
>
Re: CDT/gdb unknown target exception 0xc0000135 at 0x7c964ed1 [message #249214 is a reply to message #249081] Mon, 18 February 2008 17:44 Go to previous message
Eclipse User
Originally posted by: kevin.p.carroll.lmco.com

Darin Swanson wrote:

> You are going to have much better luck getting an answer within the CDT
> newsgroup...which I have CCd

> HTH
> Darins
> http://runnerwhocodes.blogspot.com

> "Kevin" <kevin.p.carroll@lmco.com> wrote in message
> news:5a2c4cd30c8ef2a5fbe29412238b0988$1@www.eclipse.org...
>>
>> I installed Eclipse 3.3.1.1, CDT 4.0.2, and Cygwin (on Windows XP)
>> I added c:cygwinbin to PATH
>> I added a path map from /cygdrive/c to c: and /cygdrive/d to d:
>> I created one of the C++ "Hello World" projects.
>>

I found what I was missing:

I had added c:\cygwin\bin to PATH in my cygwin environment, but not in my
XP environment. Now everthing works perfectly.
Previous Topic:How to get the icon of the local folder or disk in SWT
Next Topic:Can I attach javadoc that's online to a jar?
Goto Forum:
  


Current Time: Tue Sep 16 21:48:21 GMT 2014

Powered by FUDForum. Page generated in 0.01646 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software