Re: Problem with gdb or maybe gcc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux