Can not debug sshd in gdb

Евгений shubin_evgeniy at mail.ru
Fri Oct 31 05:18:04 EST 2008


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.


More information about the openssh-unix-dev mailing list