Using gdb with Io-net...

Hi all,

I am trying to debug my ethernet driver using gdb.
But once i do an attach to io-net… the screen hangs!!!

Steps Followed are:
io-net -p tcpip
mount -T io-net mydriver_g.so
gdb attach pid(from pidin)
Attaching to proccess pid
0xb032… in () from /x86/lib/libc.so.2
(now the screen hangs…)

Any sort of help …will be deeply appreciated
Sarath

Close the system monitor


Sreekanth

“sarath chandran” <sarath.chandran@tatainfotech.com> wrote in message
news:ajlol7$cdi$1@inn.qnx.com

Hi all,

I am trying to debug my ethernet driver using gdb.
But once i do an attach to io-net… the screen hangs!!!

Steps Followed are:
io-net -p tcpip
mount -T io-net mydriver_g.so
gdb attach pid(from pidin)
Attaching to proccess pid
0xb032… in () from /x86/lib/libc.so.2
(now the screen hangs…)

Any sort of help …will be deeply appreciated
Sarath

are you debugging with tcpip? i am having the same problem. when you
attach to io-net, it stops io-net, hence your debug session hangs… i
understand you have to start a second io-net and debug through it, but i am
having problems doing that also…

“sarath chandran” <sarath.chandran@tatainfotech.com> wrote in message
news:ajlol7$cdi$1@inn.qnx.com

Hi all,

I am trying to debug my ethernet driver using gdb.
But once i do an attach to io-net… the screen hangs!!!

Steps Followed are:
io-net -p tcpip
mount -T io-net mydriver_g.so
gdb attach pid(from pidin)
Attaching to proccess pid
0xb032… in () from /x86/lib/libc.so.2
(now the screen hangs…)

Any sort of help …will be deeply appreciated
Sarath

No need for another session of io-net.Are you using DDD ? I use the
original GDB.You can try closing the system monitor( right bottom right side
of your gui showing CPU,memory and network usage).

Sreekanth

“Jay Witherspoon” <spoon@scubadiving.com> wrote in message
news:ajr8oh$7et$1@inn.qnx.com

are you debugging with tcpip? i am having the same problem. when you
attach to io-net, it stops io-net, hence your debug session hangs… i
understand you have to start a second io-net and debug through it, but i
am
having problems doing that also…

“sarath chandran” <> sarath.chandran@tatainfotech.com> > wrote in message
news:ajlol7$cdi$> 1@inn.qnx.com> …
Hi all,

I am trying to debug my ethernet driver using gdb.
But once i do an attach to io-net… the screen hangs!!!

Steps Followed are:
io-net -p tcpip
mount -T io-net mydriver_g.so
gdb attach pid(from pidin)
Attaching to proccess pid
0xb032… in () from /x86/lib/libc.so.2
(now the screen hangs…)

Any sort of help …will be deeply appreciated
Sarath

\

I tried GDB instead of DDD and it now works…

“Sreekanth” <sreekanth@cambira.com> wrote in message
news:ajsieo$4df$1@inn.qnx.com

No need for another session of io-net.Are you using DDD ? I use the
original GDB.You can try closing the system monitor( right bottom right
side
of your gui showing CPU,memory and network usage).

Sreekanth

“Jay Witherspoon” <> spoon@scubadiving.com> > wrote in message
news:ajr8oh$7et$> 1@inn.qnx.com> …
are you debugging with tcpip? i am having the same problem. when you
attach to io-net, it stops io-net, hence your debug session hangs… i
understand you have to start a second io-net and debug through it, but i
am
having problems doing that also…

“sarath chandran” <> sarath.chandran@tatainfotech.com> > wrote in message
news:ajlol7$cdi$> 1@inn.qnx.com> …
Hi all,

I am trying to debug my ethernet driver using gdb.
But once i do an attach to io-net… the screen hangs!!!

Steps Followed are:
io-net -p tcpip
mount -T io-net mydriver_g.so
gdb attach pid(from pidin)
Attaching to proccess pid
0xb032… in () from /x86/lib/libc.so.2
(now the screen hangs…)

Any sort of help …will be deeply appreciated
Sarath



\

Hi ,
It works for me too :slight_smile:)
But miles to …go ahead… :frowning:
Thanks…
sarath


“Jay Witherspoon” <spoon@scubadiving.com> wrote in message
news:ajtf1a$ntv$1@inn.qnx.com

I tried GDB instead of DDD and it now works…

“Sreekanth” <> sreekanth@cambira.com> > wrote in message
news:ajsieo$4df$> 1@inn.qnx.com> …
No need for another session of io-net.Are you using DDD ? I use the
original GDB.You can try closing the system monitor( right bottom right
side
of your gui showing CPU,memory and network usage).

Sreekanth

“Jay Witherspoon” <> spoon@scubadiving.com> > wrote in message
news:ajr8oh$7et$> 1@inn.qnx.com> …
are you debugging with tcpip? i am having the same problem. when you
attach to io-net, it stops io-net, hence your debug session hangs…
i
understand you have to start a second io-net and debug through it, but
i
am
having problems doing that also…

“sarath chandran” <> sarath.chandran@tatainfotech.com> > wrote in message
news:ajlol7$cdi$> 1@inn.qnx.com> …
Hi all,

I am trying to debug my ethernet driver using gdb.
But once i do an attach to io-net… the screen hangs!!!

Steps Followed are:
io-net -p tcpip
mount -T io-net mydriver_g.so
gdb attach pid(from pidin)
Attaching to proccess pid
0xb032… in () from /x86/lib/libc.so.2
(now the screen hangs…)

Any sort of help …will be deeply appreciated
Sarath





\