voltron
voltron copied to clipboard
Issues with arm-none-eabi-gdb
Im on a mac, attempting to connect to a GDB server with arm-none-eabi-gdb and when I added the source voltron script to my .gdbinit - it completely fails with the following error.
GNU gdb (GNU Tools for ARM Embedded Processors) 7.10.1.20160616-cvs
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-apple-darwin10 --target=arm-none-eabi".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from gps_demo.elf...done.
.gdbinit:1: Error in sourced command file:
/Users/tsteinholz/Development/OpenSource/voltron/voltron/entry.py:1: Error in sourced command file:
Undefined command: "". Try "help".
(gdb)
My python was installed with homebrew @ 1/usr/local/bin/python The default mac python @ 1/usr/bin/python
does not have a pip module.
I installed Voltron on my system with python -m pip install voltron
and it works...
voltron -h
usage: voltron [-h] [--debug] [-o O] {view,v} ...
optional arguments:
-h, --help show this help message and exit
--debug, -d print debug logging
-o O override config variable
subcommands:
valid subcommands
{view,v}
view (v) display a view
the cmd that you guys have to show which python version is linked with my gdb returned nothing for both my normal gdb and my arm gdb.