Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Neon.2 (4.6.2) - problem during debug - pause and stop functions don't work #167

Closed
asier70 opened this Issue Jan 20, 2017 · 17 comments

Comments

Projects
None yet
4 participants
@asier70
Copy link

asier70 commented Jan 20, 2017

Problem exists in windows with Neon.2 (4.6.2), GDB 9.2 and all plugings up to date (GnuArmEclipsePlugin, OpenOCD, gcc, stlink). Almost everything works (debug start, trace, breakpoints, resuming after breakpoint) but after clicking on pause or stop microcontroller still works. To exit this not normal situation I must stop OpenOCD (MI error info appears).
Everything works on Mars.2, also project worked on Neon.1 some time ago.

@ilg-ul

This comment has been minimized.

Copy link
Contributor

ilg-ul commented Jan 20, 2017

did you update the plug-ins recently?

@asier70

This comment has been minimized.

Copy link
Author

asier70 commented Jan 20, 2017

Yes, I did. I have GNU ARM Eclipse plug-ins v3.2.1-201701141320. Some time ago everything worked, but now after do updates in eclipse problem occurs.
Project was started few months ago in Neon.1 and worked without problems, now I had to move it to Mars.2.

@ilg-ul

This comment has been minimized.

Copy link
Contributor

ilg-ul commented Jan 20, 2017

sorry, with the information you provided I cannot reproduce your problem. on my mac, with GCC 5.4, GDB 7.10, latest plug-ins, latest OpenOCD, on my F4DISCOVERY board, I can halt or stop the debug session without problems.

GDB 9.2 seems not correct.

@ilg-ul

This comment has been minimized.

Copy link
Contributor

ilg-ul commented Jan 20, 2017

I also tested on my Win 8 x64 and I can halt or stop the debugger.

@asier70

This comment has been minimized.

Copy link
Author

asier70 commented Jan 20, 2017

Win 10 x64, GCC 6.2, C/C++ GDB Hardware Debugging 9.2.0.201612061315
Maybe someone else has the same problem.
Thanks for checking and help!

@ilg-ul

This comment has been minimized.

Copy link
Contributor

ilg-ul commented Jan 20, 2017

GCC 6.2 is not yet supported.

@asier70

This comment has been minimized.

Copy link
Author

asier70 commented Jan 20, 2017

GCC 6.2 2016q4 works on Mars.2 with my project.

@ilg-ul

This comment has been minimized.

Copy link
Contributor

ilg-ul commented Jan 20, 2017

try GCC 5.4 with Neon.2.

@asier70

This comment has been minimized.

Copy link
Author

asier70 commented Jan 20, 2017

I've just found eclipse bug published by Freddie Chopin, that is the same I described here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=509788

@ilg-ul

This comment has been minimized.

Copy link
Contributor

ilg-ul commented Jan 20, 2017

ok, thank you.

@wrljet

This comment has been minimized.

Copy link

wrljet commented Jan 20, 2017

For what it's worth, things work correctly for me. I think I have the same setup, GCC 5.4 with Neon.2, latest ARM plugin, except, I'm running OpenOCD 0.7.0.

And by the way, a HUGE thank-you, Liviu for all your work.
-Bill

@ilg-ul

This comment has been minimized.

Copy link
Contributor

ilg-ul commented Jan 20, 2017

you're welcome, Bill.

OpenOCD 0.7.0.

I guess it should also work with 0.10.0

the problem seems to be caused by the combination GDB 7.12, that comes with GCC 6.x, and Neon.2.

@asier70

This comment has been minimized.

Copy link
Author

asier70 commented Jan 23, 2017

Liviu you were right. Thanks!
Downgrading GCC 6.2 2016q4 (GDB 7.12.0.20161204) to GCC 5.4 2016q3 (GDB 7.10.1.20160923) solves the problem.

@Amcolex

This comment has been minimized.

Copy link

Amcolex commented Jan 23, 2017

I'd just like to add that we had the same problem. Windows 10 / Eclipse Neon.2 / GCC 6.2 2016q4 / Segger J-Link V612f.

I guess this is a CDT bug though. I'll look into downgrading to GCC 5.4.

And thank you Liviu for all your work!

@asier70

This comment has been minimized.

Copy link
Author

asier70 commented Mar 24, 2017

Yesterday Eclipse was updated to version Neon.3 (4.6.3). There is no problem in new version with debugging using GCC in version "6.2 2016q4" and newest "6 2017-q1-update".

@ilg-ul

This comment has been minimized.

Copy link
Contributor

ilg-ul commented Mar 24, 2017

great! thank you for testing.

can we close this ticket?

@asier70

This comment has been minimized.

Copy link
Author

asier70 commented Mar 24, 2017

I've just tested it. I think we can close this ticket.

@ilg-ul ilg-ul closed this Mar 24, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.