gdb/gdbserver behavior changed from 8.2 to 8.3

Xavier zaz.colmant at free.fr
Sat Nov 30 21:32:31 UTC 2019


Sorry to have disturbed you, but I found the answer. I simply
have to type: 
    gdbserver localhost:1111 path_to_exe
instead of just:
    gdbserver port:1111 path_to_exe

I just get too edgy when I have to debug something...

Thanks,

Xavier

On Sat, Nov 30, 2019 at 10:16:25PM +0100, Xavier wrote:
> Sometimes I have to debug GUI or curses based programs.
> Up to the change from gdb 8.2 to 8.3, I used to do:
> 
> 1) from one console:
>     gdbserver port:1111 path_to_exe
> 2) from another console:
>     gdb -ex "target remote localhost:1111" path_to_exe
> 
> And I was happy...
> 
> Now with gdb 8.3, when I run 1), I get the following error:
>     port:1111: cannot resolve name: Name or service not known
>     Exiting
> 
> Does anybody knows what I have to do to solve this issue?
> 
> Thanks,
> 
> Xavier
> 
> _______________________________________________
> CRUX mailing list
> CRUX at lists.crux.nu
> https://lists.crux.nu/mailman/listinfo/crux


More information about the CRUX mailing list