[Bug 62851] New: file paths in debuger broken

Jon Smirl jonsmirl at yahoo.com
Mon Aug 18 00:19:19 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=62851     
           Summary: file paths in debuger broken
           Product: kdevelop
           Version: CVS
          Platform: RedHat RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel at kdevelop.org
        ReportedBy: jonsmirl at yahoo.com


Version:           CVS (using KDE KDE 3.1)
Installed from:    RedHat RPMs

This used to work last week so something has changed...

In Project Options/Run Options
Select () run from Build directory.
Now browse for a main program.
In my case the main program is located at
../../../../../progs/miniglx/sample_server
I select this an nothing display. If I start the debugger I get a path not found.

So I enter ../../../../../progs/miniglx/sample_server manually.
This works but nothing is displayed in Main Program.

Now in the debugger I am trying to set breakpoints.
miniglx.c is located at /home/newtree/temp/src/miniglx/miniglx.c

Now I start my program and the breakpoints are not being set with the correct filepath.
miniglx.c is at ../../../../miniglx/miniglx.c not miniglx.c
 gdb /home/newtree/temp/src/mesa/drivers/dri/r128/../../../../../progs/miniglx/sample_server -fullname -nx -quiet
(gdb) set edit off 
(gdb) set confirm off 
(gdb) 
(gdb) 
(gdb) set print static-members off 
(gdb) tty /dev/pts/4 
(gdb) set width 0 
(gdb) set height 0 
(gdb) set stop-on 1 
(gdb) handle SIG32 pass nostop noprint 
(gdb) handle SIG43 pass nostop noprint 
(gdb) set print asm-demangle on 
(gdb) cd /home/newtree/temp/src/mesa/drivers/dri/r128 
(gdb) break miniglx.c:940 
No source file named miniglx.c.

(gdb) run 
[New Thread 1077032096 (LWP 7309)]
Stopped due to shared library event
(gdb) break miniglx.c:940 
No source file named miniglx.c.

(gdb) continue 
[Switching to Thread 1077032096 (LWP 7309)]
Stopped due to shared library event
(gdb) break miniglx.c:940 
No source file named miniglx.c.

(gdb) continue 
Stopped due to shared library event
(gdb) break miniglx.c:940 
No source file named miniglx.c.

(gdb) continue 

Program exited with code 0177.




More information about the KDevelop-devel mailing list