|
Re: Debugging io-pkt pfil library using Momentics IDE
|
05/28/2014 9:29 AM
post110505
|
Re: Debugging io-pkt pfil library using Momentics IDE
There's nothing specific to io-pkt in this scenario. It's just
like debugging any other process remotely; however you normally
do that with the IDE.
-seanb
On Wed, May 28, 2014 at 04:53:59AM -0400, atish bhowmick wrote:
> I am developing a io-pkt pfil library . I am mounting the .so into the io-pkt stack using "mount -T io-pkt /home/
libpacketfilter.so" .
>
> I am developing on Momentics IDE in a windows VM and it linked to a target QNX VM .
> I need to know how do I debug this library mounted in the io-pkt stack of the target Qnx Vm using Momentics IDE .
>
> If remote debugging using IDE isnt possible , do I need to use gdb on the target Qnx Vm directly , if so how ?
>
> Any pointers would be helpful .
>
> Thanks
>
>
>
> _______________________________________________
>
> Technology
> http://community.qnx.com/sf/go/post110501
> To cancel your subscription to this discussion, please e-mail technology-networking-unsubscribe@community.qnx.com
|
|
|
|
Re: Debugging io-pkt pfil library using Momentics IDE
|
05/28/2014 9:34 AM
post110506
|
Re: Debugging io-pkt pfil library using Momentics IDE
One thing that may help would be to run 2 copies of io-pkt on two different interfaces.
The first copy is started normally and qconn is run. This is your debugging connection.
The second copy is started with additional options "-i 1 -p tcpip prefix=/alt". You then need to mount your driver and
lsm with "-Tio-pkt1", and any other commands to talk to this io-pkt need to have "SOCK=/alt" in the environment. This is
now your copy of io-pkt being debugged.
|
|
|