This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


http://sourceware.org/bugzilla/show_bug.cgi?id=12156

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]