On So, 28 Jan 2024, Ubaldo Tiberi wrote:
> I am working with a microcontroller (stm32f4) and I am attempting to debug it
> by connecting Termdebug to openocd.
>
> Everything works nicely with the exception that the messages sent back from
> openocd (server) to Termdebug (client) are not displayed in any Termdebug
> window (I expected them to be displayed in the gbd window).
>
> For example, if I run (gdb) monitor reg I would expect to have the content of
> the microcontroller's registers displayed in the Termdebug's gdb window, but
> unfortunately that does not happen.
>
> This is what is in my .vimrc
>
> g:termdebug_config = {} var debugger_path =
> "/Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.11.3.rel1.macos64_1.1.100.202310310803/tools/bin/"
> g:termdebug_config
> ['command'] = debugger_path .. "arm-none-eabi-gdb"
>
> If instead of using Termdebug I use another terminal window (I am using
> iTerm2) running as arm-none-eabi-gdb client connected to the same openocd
> server, then the messages sent back from the server are correctly displayed.
>
> I am using MacVim 9.1.
I am afraid you would have to debug the Termdebug plugin and find out
where exactly it fails. I don't think anybody here knows about the
specifics of "arm-non-eabi-gdb"
Thanks,
Christian
--
"You stay here, Audrey -- this is between me and the vegetable!"
-- Seymour, from _Little Shop Of Horrors_
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_use/Zba49Yo77m6RK/ay%40256bit.org.