DWARF-4 .out from -gdwarf-3 build
Greetings,
I'm building on ubuntu 14.04 for Cortex-m4. My debugger is only compatible with DWARF-3 and so I've been building with: -gdwarf-3 -mthumb -mcpu=cortex-m4 -mfloat-abi=softfp -mfpu=fpv4-sp-d16, and linking with -Wl,--start-group -lgcc -lc -lm -Wl,--end-group. I have supplied a newlib_stubs.c. All was *was* working well until I added calls to previously un-called routines. This led to my debugger (EWARM) failing to start due to "ELF/DWARF Error: Unsupported .debug_info format version:4" Is there debug information hiding in some toolchain supplied lib routines? If not, any other clues as to where the DWARF-4 info is coming from?
My gcc is: arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 4.9.3 20150303 (release) [ARM/embedded-
Thanks for any insight available,
Steve.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Steve Stearns
- Solved:
- Last query:
- Last reply: