Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
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 Go to next message
Eclipse UserFriend
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)
Re: eclipse 3.3, CDT 4, debugging fails with /dev/ttyp3: Permission denied [message #202023 is a reply to message #202004] Sat, 22 September 2007 05:35 Go to previous message
Eclipse UserFriend
Originally posted by: mseritan.de-dash-co-de.com

I re-installed Eclipse 3.3 and now the gdb problem is gone. Just FYI.

Marius Seritan wrote:
> 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.
Previous Topic:CDT good for a PDA Application?
Next Topic:Path and Symbols - References
Goto Forum:
  


Current Time: Mon Sep 16 23:29:03 GMT 2024

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

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

Back to the top