[Bug breakpoints/12156] cannot break on static functions with gcc flto (link time optimization)

tromey at redhat dot com sourceware-bugzilla@sourceware.org
Mon Nov 15 17:11:00 GMT 2010


Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
                 CC|                            |tromey at redhat dot com

--- Comment #1 from Tom Tromey <tromey at redhat dot com> 2010-11-15 17:05:22 UTC ---
Try the hint that gdb suggests:

Hint: try 'foo.2043<TAB> or 'foo.2043<ESC-?>

So:  break 'foo.2043'

I think this could be better, so I'm leaving the PR open.

Also, I think this is an LTO bug.  It seems to me that it should emit
debuginfo naming the symbol as "foo".

Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the Gdb-prs mailing list