gdb/io-net

Hi!

I have a problem with gdb and io-net. I follow the steps described in
the previous messages for gdb use:

gdb /sbin/io-net

gdb) run
set solib-search-path /directory/of/mydriver.so:/lib:/usr/lib
(gdb) set auto-solib-add 1
(gdb) c

In another shell:

mount -Tio-net mydriver.so

ctrl-c the gdb:
(gdb) l mydriver_rx_up

Ok. I get here, set some breakpoints and then type “c”. Ok, it continues
and never stops at breakpoints… If I type “n” or “s” instead of “c”,
it prints the message:
“Single stepping until exit from function SignalWaitinfo, which has no
line number information”

Then, gdb stops responding… any idea of what is the problem???

Thanks for the help!
Cesar

This happens to me only when i try to single step in a .so file which does
not contain symbol information.Are you sure you have compiled your driver
with -g2 option?

Sreekanth

“Cesar Ida” <cesarida@inf.ufrgs.br> wrote in message
news:3D3DAFA9.1080304@inf.ufrgs.br

Hi!

I have a problem with gdb and io-net. I follow the steps described in
the previous messages for gdb use:

gdb /sbin/io-net

gdb) run
set solib-search-path /directory/of/mydriver.so:/lib:/usr/lib
(gdb) set auto-solib-add 1
(gdb) c

In another shell:

mount -Tio-net mydriver.so

ctrl-c the gdb:
(gdb) l mydriver_rx_up

Ok. I get here, set some breakpoints and then type “c”. Ok, it continues
and never stops at breakpoints… If I type “n” or “s” instead of “c”,
it prints the message:
“Single stepping until exit from function SignalWaitinfo, which has no
line number information”

Then, gdb stops responding… any idea of what is the problem???

Thanks for the help!
Cesar