-
Notifications
You must be signed in to change notification settings - Fork 83
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
Unable to debug exasock application using gdb. #69
Comments
You should be able to preload the exasock library before invoking gdb with something similar to the following: exasock gdb --args application executable with parameter list Also, for additional debugging the exasock library/system calls, can use the following: exasock --trace --debug gdb --args application executable with parameter list |
I'm also unable to use gdb with exasock. |
I have the same issue Starting program: ... after typing the command run. Even the example. |
An alternative method is to invoke gdb as normal and then set the exec-wrapper: (gdb) set exec-wrapper env LD_PRELOAD=/usr/local/lib/exasock/libexasock_preload.so or for debug/trace: (gdb) set exec-wrapper env LD_PRELOAD=/usr/local/lib/exasock/libexasock_preload_debug.so export EXASOCK_TRACE=1 There are other parameters in the /usr/local/bin/exasock wrapper script though the exasock wrapper and libs might be installed somewhere else on your system. |
That works for me. Thanks! |
Currently we are developing our application using exasock due to that we are facing problem in debugging our application using gdb as,
we have to execute our application with exasock in front i.e.(exasock ./appname) due to that gdb is unable to debug the application.
The text was updated successfully, but these errors were encountered: