Bug 82279

Summary: setting breakpoint in multiline statement sets bp on next statement
Product: [Applications] kdevelop Reporter: Jon Smirl <jonsmirl>
Component: CPP DebuggerAssignee: kdevelop-bugs-null
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: git master   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jon Smirl 2004-05-26 23:25:21 UTC
Version:           CVS (using KDE Devel)
Installed from:    Compiled sources

screen_info->root_drawable =
      XCreateWindow (display, RootWindow (display, screen),
                     0, 0, 100, 100, 0, vinfo->depth, InputOutput,
                     vinfo->visual,
                     CWBackPixel | CWBorderPixel | CWColormap | CWEventMask,
                     &win_attrib);
    
    screen_info->root_context.context =
      glXCreateContext (display, vinfo, NULL, 1);


If I set the bp on XCreateWindow the program is stopping at 'screen_info->root_context.context =' instead of 'screen_info->root_drawable ='. I think this used to work as expected. 

I am using GNU gdb 6.1
Comment 1 Vladimir Prus 2005-12-08 09:33:07 UTC
I believe this is an issue with gdb, or with debug info that gcc produces.
If you find that gdb stops on the right line but KDevelop shows another, please send a test case to me.