Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GDB. #59

Open
stefan1968 opened this issue Aug 12, 2014 · 1 comment
Open

GDB. #59

stefan1968 opened this issue Aug 12, 2014 · 1 comment

Comments

@stefan1968
Copy link

Any idea why when I try to invoke GDB with all the correct environment variables i get 'LocalHost:6666: operation not permitted' ?

@mbolt35
Copy link

mbolt35 commented Aug 20, 2014

it sounds related to permissions issue. If you're using windows and cygwin, check the permissions set on the gdb executable. Assuming that $CB_HOME points to your crossbridge root:

$ ls -all $CB_HOME/sdk/usr/bin/gdb
-rwxr-xr-x 1 mbolt Domain Users 4006514 Jun 24  2013 /cb/sdk/usr/bin/gdb

I would ensure that you are the file owner and/or part of the group. You can verify this using id:

$ id 
uid=17247(mbolt) gid=10513(Domain Users) groups=10513(Domain Users) [etc...]

Then ensure that the x permission exists on the executable. If not, add it:

chmod +x $CB_HOME/sdk/usr/bin/gdb

These may require root access if you're on OSX.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants