This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Strange Behavior using arm-none-eabi-gdb

I'm new to gdb so I would really appreciate any guidance. My target is the K82f and I am calling Openocd and gdb from the command line.

Compiler: ArmClang/Armlink

Debugger: arm-arm-none-eabi-gdb
Debug Info: -gdwarf-4

Batch File: github.com/.../build.bat

The Issue:
Gdb doesn't print the current source-line when stepping nor does it print the source-line when using the frame command. There are also these double arrows that may be TAB characters that are being rendered to the console.

Could this be caused Openocd/gdbserver?

What resources should I look at for this?

Are there compatibility issues with Armlink generated .axf and gdb?

armclang.exe generated elf read by armclang's fromelf.exe (armgnu's readelf.exe doesn't seem to accurately read this .axf)

gnu seems to be interpreting the .axf file as having "unix-system v" abi

NOTE(MA): Ill build using arm-non-eabi-gcc and compare the elf formats

0