public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
* [Bug breakpoints/10963] Cannot set breakpoints on symbols containing periods in name [not found] <bug-10963-4717@http.sourceware.org/bugzilla/> @ 2011-08-17 15:32 ` tromey at redhat dot com 2012-08-24 6:48 ` sergiodj at redhat dot com 1 sibling, 0 replies; 3+ messages in thread From: tromey at redhat dot com @ 2011-08-17 15:32 UTC (permalink / raw) To: gdb-prs http://sourceware.org/bugzilla/show_bug.cgi?id=10963 Tom Tromey <tromey at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at redhat dot com --- Comment #2 from Tom Tromey <tromey at redhat dot com> 2011-08-17 15:29:53 UTC --- Did you try surrounding the symbol name with single quotes? Also, can you upload a simple test case? -- 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. ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug breakpoints/10963] Cannot set breakpoints on symbols containing periods in name [not found] <bug-10963-4717@http.sourceware.org/bugzilla/> 2011-08-17 15:32 ` [Bug breakpoints/10963] Cannot set breakpoints on symbols containing periods in name tromey at redhat dot com @ 2012-08-24 6:48 ` sergiodj at redhat dot com 1 sibling, 0 replies; 3+ messages in thread From: sergiodj at redhat dot com @ 2012-08-24 6:48 UTC (permalink / raw) To: gdb-prs http://sourceware.org/bugzilla/show_bug.cgi?id=10963 Sergio Durigan Junior <sergiodj at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |sergiodj at redhat dot com Resolution| |WORKSFORME --- Comment #3 from Sergio Durigan Junior <sergiodj at redhat dot com> 2012-08-24 06:47:57 UTC --- I took your example code, and managed to generate a minimal binary with it. Then, with the latest GDB as of today, I managed to put a breakpoint at the specified location. (gdb) b printSector printSector printSector.printLittle (gdb) b printSector.printLittle Breakpoint 1 at 0x400085 I am closing this bug as WORKSFORME. Please feel free to reopen if you still see the issue. -- 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. ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug breakpoints/10963] New: Cannot set breakpoints on symbols containing periods in name @ 2009-11-15 3:44 zonena at cs dot rpi dot edu 2009-11-15 3:51 ` [Bug breakpoints/10963] " zonena at cs dot rpi dot edu 0 siblings, 1 reply; 3+ messages in thread From: zonena at cs dot rpi dot edu @ 2009-11-15 3:44 UTC (permalink / raw) To: gdb-prs When debugging an application written in amd64 assembly language (compiled with NASM), I was unable to set breakpoints on labels local to a function which had periods in their names. GDB versions tested: 7.0-ubuntu on Ubuntu 9.10 amd64 6.8-debian on Ubuntu 9.04 amd64 Example source: global printSector printSector: ;code omitted cmp rax, rbx je .printLittle ;code here .printLittle: ;code omitted ret When single stepping this function I was unable to set a breakpoint at the printLittle label. $ nm homework6 | grep printLittle 0000000000401bb1 t printSector.printLittle (gdb) break printSector.printLittle Can't find member of namespace, class, struct, or union named "printSector.printLittle" Hint: try 'printSector.printLittle<TAB> or 'printSector.printLittle<ESC-?> (Note leading single quote.) Make breakpoint pending on future shared library load? (y or [n]) Tab completion: (gdb) break printSector printSector printSector.printBig printSector.printLittle printSector.printdirLoop printSector.donePrinting printSector.printDirectory printSector.printRegular printSector.printdirLoopNext The only workaround I have found to date is to use nm to locate the address of the target label and break at the address. -- Summary: Cannot set breakpoints on symbols containing periods in name Product: gdb Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: breakpoints AssignedTo: unassigned at sourceware dot org ReportedBy: zonena at cs dot rpi dot edu CC: gdb-prs at sourceware dot org http://sourceware.org/bugzilla/show_bug.cgi?id=10963 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug breakpoints/10963] Cannot set breakpoints on symbols containing periods in name 2009-11-15 3:44 [Bug breakpoints/10963] New: " zonena at cs dot rpi dot edu @ 2009-11-15 3:51 ` zonena at cs dot rpi dot edu 0 siblings, 0 replies; 3+ messages in thread From: zonena at cs dot rpi dot edu @ 2009-11-15 3:51 UTC (permalink / raw) To: gdb-prs ------- Additional Comments From zonena at cs dot rpi dot edu 2009-11-15 03:51 ------- Also reproducible with the same application on gdb 6.8 on "Gentoo Base System version 1.12.1" -- http://sourceware.org/bugzilla/show_bug.cgi?id=10963 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-08-24 6:48 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-10963-4717@http.sourceware.org/bugzilla/> 2011-08-17 15:32 ` [Bug breakpoints/10963] Cannot set breakpoints on symbols containing periods in name tromey at redhat dot com 2012-08-24 6:48 ` sergiodj at redhat dot com 2009-11-15 3:44 [Bug breakpoints/10963] New: " zonena at cs dot rpi dot edu 2009-11-15 3:51 ` [Bug breakpoints/10963] " zonena at cs dot rpi dot edu
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).