Sysprogs forums › Forums › VisualGDB › reenable "step into newlib or other similar libs " source code
- This topic has 3 replies, 3 voices, and was last updated 1 year, 8 months ago by support.
-
AuthorPosts
-
December 4, 2019 at 15:00 #26713pierantonio.brea@sitecsrl.itParticipant
Hi, I’m using Visualgdb 5.5 preview 2 build 3410.
I noticed that the possibility of executing steps in the newlib source code is no longer working but only the disassemby display. how can i re-enable this feature?
thanks for any suggestionDecember 4, 2019 at 17:00 #26715supportKeymasterHi,
Sorry, the latest ARM toolchain (gcc 9.2.0) is based on the official GNUARM toolchain and does not contain automatically discoverable source packages.
We are planning to address this in one of the next toolchain updates, however currently the workaround would be to either download the sources from the ARM site manually, or to switch back to gcc 7.x that includes the automatic source packages.
April 5, 2023 at 07:12 #34069TechnoMage41ParticipantHas this been addressed?
If so, how do I configure VisualGDB to step into newlib-nano source instead of disassembly?
If not, which files do I need to download from the Arm Developer website? I can’t find any reference to newlib-nano on the Arm Developer website.
I’ve found a version that Sysprogs referenced in a different post (https://sysprogs.com/w/forums/topic/gcc-newlib-nano-license/):
https://github.com/32bitmicro/newlib-nano-2
Is this the version included in the current VisualGDB toolchain, SysGCC\arm-eabi?
Once I have those, how do I install them and make the system aware of their existence?
Thanks!
April 6, 2023 at 12:05 #34080supportKeymasterHi,
Sorry, it is still not supported with the latest toolchains. We initially added this feature when the pre-built ARM toolchain was somewhat buggy, so we were patching it and rebuilding it on our side. Over time, ARM resolved these issues, so we switched to testing the binaries published by ARM, wrapping them with configuration files, and publishing them as ready-to-use packages.
In the recent years, ARM has changed the mechanism used for building their toolchain several times, resolving some issues and introducing others. As of April 2023, the prebuilt GNU ARM toolchain does not have official instructions for building a Windows toolchain. We were able to build a usable toolchain by slightly modifying their Linux building instructions, however it looks slightly different from the Windows binaries published by ARM, so looks like ARM is using some undocumented internal process for building their toolchain.
As the vast majority of frameworks and SDKs are tested with the pre-built ARM toolchain, we do not want to risk introducing incompatibilities with it, and will stick to shipping repackaged versions of the ARM toolchain binaries until ARM publishes their official Windows build pipeline.
If you absolutely want to step through the newlib sources, you may need to build it from scratch with the debugging symbols for newlib enabled. The exact steps vary between different ARM toolchain versions, so the best place to ask for them would be the ARM forum.
-
AuthorPosts
- You must be logged in to reply to this topic.