문제

I'm looking to use pyclewn with with a cross compiled version of GDB. So far I have not had much luck figuring out how to specify which GDB to use (in my case /home/ARM/DevTools/bin/arm-none-eabi-gdb).

I can run pyclewn from VIM, but it starts the local linux gdb.

I am also hoping to connect gdb to an OpenOCD server (within VIM/Pyclewn).

도움이 되었습니까?

해결책

Start vim and set the pyclewn_args global variable before running :Pyclewn, for example:

:let g:pyclewn_args = "--pgm=/home/ARM/DevTools/bin/arm-none-eabi-gdb"

There seems to be a bug somewhere in that if you run :Pyclewn and then issue the let command, the new value of pyclewn_args seem to be ignored by the next invocations of :Pyclewn.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top