I have CentOS 5.7. Before the last updates, when I ran gdb with a program name gave a breakpoint and then typed run it would stop on that breakpoint. Now it prints the message "Warning: no loadable sections in added symbol file." It then just runs the program without stopping. What could have changed? Are there some flags that need to be set when invoking gcc?
Thanks, John
On 11/24/2011 01:06 PM, John J. Boyer wrote:
I have CentOS 5.7. Before the last updates, when I ran gdb with a program name gave a breakpoint and then typed run it would stop on that breakpoint. Now it prints the message "Warning: no loadable sections in added symbol file." It then just runs the program without stopping. What could have changed? Are there some flags that need to be set when invoking gcc?
Thanks, John
Hi,
How do you compile in terms of flags? I usually compile with at least -O0 -g -ggdb.
Fabien