Márton Miklós
2018-06-11 12:47:12 UTC
Hello all,
I am trying to put together a toolchain for a STM8 (bare metal) target
based on QtCreator, openOCD, SDCC and GDB.
I am proceeding great so far: the debugging of the target works, but I only
able to debug the code at assembly level (even when the Debug menu ->
Operate by instruction is unchecked).
I am using the following command to build the elf file:
sdcc -lstm8 -mstm8 blinky.c --out-fmt-elf --all-callee-saves --debug
--verbose --stack-auto --fverbose-asm --float-reent --no-peep
If I debug it separately from QtCreator with GDB it shows the C code when
it stops at the breakpoint for e.g.
Here is the output of the debugger log pane:
https://pastebin.com/Nzi7YQ7w
Kind regards,
Miklos Marton
I am trying to put together a toolchain for a STM8 (bare metal) target
based on QtCreator, openOCD, SDCC and GDB.
I am proceeding great so far: the debugging of the target works, but I only
able to debug the code at assembly level (even when the Debug menu ->
Operate by instruction is unchecked).
I am using the following command to build the elf file:
sdcc -lstm8 -mstm8 blinky.c --out-fmt-elf --all-callee-saves --debug
--verbose --stack-auto --fverbose-asm --float-reent --no-peep
If I debug it separately from QtCreator with GDB it shows the C code when
it stops at the breakpoint for e.g.
Here is the output of the debugger log pane:
https://pastebin.com/Nzi7YQ7w
&"set disassembly-flavor att\n"
&"No symbol \"disassembly\" in current context.\n"
2117^error,msg="No symbol \"disassembly\" in current context."
Any help/hint about the further things to check would be highly appreciated!&"No symbol \"disassembly\" in current context.\n"
2117^error,msg="No symbol \"disassembly\" in current context."
Kind regards,
Miklos Marton