Bug 535436 - Disassembly view inconsistent with source code
Summary: Disassembly view inconsistent with source code
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: Next   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: cdt-debug-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-01 03:12 EDT by Michael Johnson CLA
Modified: 2020-09-04 15:27 EDT (History)
3 users (show)

See Also:


Attachments
Blink LED Project (611.69 KB, application/gzip)
2018-06-01 03:12 EDT, Michael Johnson CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Johnson CLA 2018-06-01 03:12:22 EDT
Created attachment 274292 [details]
Blink LED Project

Eclipse IDE for C/C++ Developers

Version: Neon.3 Release (4.6.3)
Build id: 20170314-1500


When trying to single step the source code in debugging mode, the debugger skips one of the source code lines, and in the Disassembly view, the skipped source code line does not appear, and some of the lines are repeated and show in the wrong order e.g line 66 of main.c with the 'for loop' showing twice instead of once.

I'm using OpenOCD from OpenSuse Leap 42.3 kernel 4.14.14-1.geef6178-default 64bit.
Comment 1 Michael Johnson CLA 2018-06-01 08:56:09 EDT
I'm also using the GNU ARM toolchain gcc-arm-none-eabi-7-2017-q4-major. and a TI Tiva C microcontroller (TM4C123GXL).