[CentOS] Problem with gdb or maybe gcc

Thu Nov 24 12:11:37 UTC 2011
Fabien Archambault <fabien.archambault at univ-provence.fr>

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

How do you compile in terms of flags? I usually compile with at least 
-O0 -g -ggdb.