Home » Language IDEs » C / C++ IDE (CDT) » eclipse 3.3, CDT 4, debugging fails with /dev/ttyp3: Permission denied
eclipse 3.3, CDT 4, debugging fails with /dev/ttyp3: Permission denied [message #202004] |
Fri, 21 September 2007 20:49 |
Eclipse User |
|
|
|
Originally posted by: mseritan.de-dash-co-de.com
I am running OS X 10.4.9 with the java 1.5 release. I just upgraded from
CDT 3.x running on Eclipse 3.2.2 to the latest CDT as of 09/20 on
Eclipse 3.3.
I used to be able to debug on Eclipse 3.2.2 however now I get an error
and the process just hangs. I can debug from the command line.
I am using the gcc and gdb tools that came with the OS:
gdb 6.3.50-20050815 (Apple version gdb-563)
gcc version 4.0.1 (Apple Computer, Inc. build 5363)
I really appreciate any pointers!!
Marius
--
mseritan@de-co-de.com
------- gdb console -----
19-gdb-set confirm off
19^done
(gdb)
20-gdb-set width 0
20^done
(gdb)
21-gdb-set height 0
21^done
(gdb)
22-interpreter-exec console echo
22^done
(gdb)
23-gdb-show prompt
23^done,value="(gdb) "
(gdb)
24-gdb-set auto-solib-add on
24^done
(gdb)
25-gdb-set stop-on-solib-events 0
25^done
(gdb)
26-gdb-set stop-on-solib-events 1
26^done
(gdb)
27-gdb-set new-console on
27^error,msg="A parse error in expression, near `-console on'."
(gdb)
28cd "/somepathPCI-C"
&"cd \"/somepathPCI-C\"\n"
28^done
(gdb)
cd "/somepathPCI-C"
29-environment-directory /somepathPCI-C /somepathPCI-C/.settings
/somepathPCI-C/Debug
29^done
(gdb)
30 info threads
&"info threads\n"
30^error,msg="No registers."
(gdb)
31-data-list-register-names
31^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)
32-break-insert main.cpp:21
32^done,bkpt={number="1",type="breakpoint",disp="keep",enabled= "y",addr="0x00002747",func="main",file="../main.cpp",line= "21",shlib="/somepathPCI-C/Debug/PCI-C",times="0"}
(gdb)
33-break-insert CDecryptionRSA.cpp:20
33^done,bkpt={number="2",type="breakpoint",disp="keep",enabled= "y",addr="0x000022af",func="CDecryptionRSA::load(char
const*)",file="../CDecryptionRSA.cpp",line="20",shlib="/somepathPCI-C/Debug/PCI-C ",times="0"}
(gdb)
34-break-insert CDecryptionRSA.cpp:27
34^done,bkpt={number="3",type="breakpoint",disp="keep",enabled= "y",addr="0x0000236a",func="CDecryptionRSA::decrypt(std::vector <unsigned
char, std::allocator<unsigned char> > const*, std::vector<unsigned char,
std::allocator<unsigned char>
>*)",file="../CDecryptionRSA.cpp",line="27",shlib="/somepathPCI-C/Debug/PCI-C ",times="0"}
(gdb)
35-break-insert -t main
35^done,bkpt={number="4",type="breakpoint",disp="del",enabled= "y",addr="0x00002747",func="main",file="../main.cpp",line= "21",shlib="/somepathPCI-C/Debug/PCI-C",times="0"}
(gdb)
36-exec-run
&"/dev/ttyp3: Permission denied.\n"
/dev/ttyp3: Permission denied.
36^error"
(gdb)
|
|
| |
Goto Forum:
Current Time: Mon Sep 16 23:29:03 GMT 2024
Powered by FUDForum. Page generated in 0.03011 seconds
|