I can not debug sshd in gdb. If i set a breakpoint in main function gdb can
step, but I want to set break point on function packet_read_poll2 in file
packet.c and the program do not stop on it.
before installing I ran configure with --disable-strip option, this add -g to
CFLAGS. I also remove optimization flag.
I run sshd with options -ddd -e.
I use OpenSSH portable v5.1.
Please tell me what I do wrong.
openssh-unix-dev mailing list