Comments (5)
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.
from exanic-software.
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
from exanic-software.
I'm also unable to use gdb with exasock.
If I run exasock --debug gdb --args <myprogram> <my program arguments>
the gdb will stuck at Starting program: ...
after typing the command run.
from exanic-software.
I have the same issue Starting program: ... after typing the command run. Even the example.
from exanic-software.
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!
from exanic-software.
Related Issues (20)
- Improvements to miscdevice handling
- exanic-dkms rpm: fatal error in postinstall should be avoided
- Exanic driver doesn't build on recent RHEL / CentOS / Rocky 8 kernels
- Exanic driver doesn't build on CentOS stream 9 / Rocky Linux 9
- Will any ongoing support be expected for this repo?
- why do auther add this code ``#include <linux/ethtool.h>`` in exanic-phyops.h on version 2.7.2.
- There is no way to setup tcp connection with nonblock flag HOT 1
- version mismatch in 2.7.3 release link
- exanic_find_port_by_interface_name fails for X100 on RHEL8/9 HOT 4
- Kernel module fails to build on Linux 6.1 LTS HOT 7
- Public yum repositories return 200 OK for nonexistent content instead of 404
- exasock doesn't support socket MSG_WAITALL flag HOT 2
- EL9 (Rocky9) EADDRNOTAVAIL (Cannot assign requested address) on connect() HOT 1
- exanic-clock-sync have 300ns bias HOT 8
- Extra acknowledgement being sent while using exanic Kernel module for TCP session, with wrong sequence number
- Sockets linger in FIN-WAIT-2 indefinitely
- Kernel module fails to run on 6.2
- RHEL9 support request for libexanic
- exablaze.com and repositories no longer available HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from exanic-software.