help with gdb io-net

I follow the above steps (from xtang) to use gdb:

gdb /sbin/io-net

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

In another shell:

mount -Tio-net mydriver-devn.so

ctrl-c the gdb:
(gdb) l mydriver_tx_up

But I get the following error:
“/proc/boot/libc.so.2”: can’t read symbols: File format not recognized.

Could anyone help me in this, please?
Thanks a lot!
Cesar

Cesar Ida <cesarida@inf.ufrgs.br> wrote:

I follow the above steps (from xtang) to use gdb:

gdb /sbin/io-net

(gdb) run
(gdb) set solib-search-path /directory/of/mydriver.so/

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-devn.so

ctrl-c the gdb:
(gdb) l mydriver_tx_up

But I get the following error:
“/proc/boot/libc.so.2”: can’t read symbols: File format not recognized.

Could anyone help me in this, please?
Thanks a lot!
Cesar