Hi,
I use automake and autoconf to compile and build my program. And I use gdb
to debug my program. I find that the "next" command does not go line by
line. It jumps several lines each time. The same thing happens to "step"
command. After looking at the gdb document, I think perhaps the problem is
that the compiled program misses debug information. And I also see the
warning when I run gdb: missing separate debuginfos. use debuginfo -install
... 
what does this mean? And how can I solve the problem?

Currently my configure.in is simple:
AC_INIT(hello.cc)
AM_INIT_AUTOMAKE(hello,1.0)
AC_PROG_CXX
AC_PROG_INSTALL
AC_OUTPUT(Makefile)

Do I need to modify the configure.in?


I am using Fedora 10. 

Thanks.
-- 
View this message in context: 
http://old.nabble.com/Gdb-question%3A-%22next%22-does-not-go-line-by-line-tp27292574p27292574.html
Sent from the Gnu - gdb - General mailing list archive at Nabble.com.



Reply via email to