I am trying to setup gdbserver debugging on my i386 target platform and running gdb from x86_64 host.
I always get could not load vsyscal try using file etc.. error.
Is there a clean way to setup a cross target gdb.
PS: I also tried set archi i386 on host side.
What exactly are you doing?
basically i run "gdbserver remote:80 ./test" on an i386 target platform. On host i do gdb test. Then on gdb prompt--
target remote <targetIP:80>
break main
cont
it breaks at main, when i do next to single step i get
0x08048810 in printf@plt ()