Cannot place breakpoint in gdb in emacs
Posted
by Rowhawn
on Stack Overflow
See other posts from Stack Overflow
or by Rowhawn
Published on 2010-05-11T00:36:44Z
Indexed on
2010/05/11
0:44 UTC
Read the original article
Hit count: 224
I'm trying to debug a small program I've written in C. I open up the file in emacs, M-x gdb, give the program filename (a.out). When i switch to the source file in the emacs pane, and try to place a breakpoint in the main function, I get the message "No default breakpoint address now." and the breakpoint doesn't place, so I can't debug the program. I'm compiling the program with the options gcc -Wall -ansi -pedantic-errors -Werror. Any ideas?
© Stack Overflow or respective owner