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 c++/12050] New: gdb hangs when full path is used to set a breakpoint


When I set a breakpoint using just the filename, gdb accepts that fine. If I use
the full path, gdb hangs (with ~1% CPU consumption). Occurs in all versions from
6.6 to 6.8 - haven't tried a new one yet.
I am trying to use gdb with netbeans, but it doesn't work, and after checking
the logs, I found out that the reason for this is that Netbeans uses full paths
for setting the breakpoints to gdb. 

Extract from a session:
-------------------------

[New Thread 0xd3303ba0 (LWP 13566)]

Program received signal SIGINT, Interrupt.
0xffffe405 in __kernel_vsyscall ()
(gdb) b filename.C:499
Breakpoint 1 at 0xef1d418f: file
/dir1/myuser/dir1/dir2/dir3/dir4/dir5/dir6/impl/filename.C, line 499.
(gdb) b "/dir1/myuser/dir1/dir2/dir3/dir4/dir5/dir6/impl/filename.C:499"

-- 
           Summary: gdb hangs when full path is used to set a breakpoint
           Product: gdb
           Version: 6.8
            Status: UNCONFIRMED
          Severity: normal
          Priority: P1
         Component: c++
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: spiros dot mrg at gmail dot com
                CC: gdb-prs at sourceware dot org


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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