Originally Posted by
davethomaspilot
I'm obsessed with NOT building tools. Been there, done that too many times over the past 37 years.
I'm using a binary version that apparently was built without support for python scripting.
Which version is that? gdb --version will return the version information and gdb --configuration will return the build configuration. E.g. my default Ubuntu debugger returns:
$ gdb --configuration
This GDB was configured as follows:
configure --host=x86_64-linux-gnu --target=x86_64-linux-gnu
--with-auto-load-dir=$debugdir:$datadir/auto-load
--with-auto-load-safe-path=$debugdir:$datadir/auto-load
--with-expat
--with-gdb-datadir=/usr/share/gdb (relocatable)
--with-jit-reader-dir=/usr/lib/gdb (relocatable)
--without-libunwind-ia64
--with-lzma
--with-python=/usr (relocatable)
--with-separate-debug-dir=/usr/lib/debug (relocatable)
--with-system-gdbinit=/etc/gdb/gdbinit
--with-zlib
--without-babeltrace
$ gdb --configuration
This GDB was configured as follows:
configure --host=x86_64-linux-gnu --target=x86_64-linux-gnu
--with-auto-load-dir=$debugdir:$datadir/auto-load
--with-auto-load-safe-path=$debugdir:$datadir/auto-load
--with-expat
--with-gdb-datadir=/usr/share/gdb (relocatable)
--with-jit-reader-dir=/usr/lib/gdb (relocatable)
--without-libunwind-ia64
--with-lzma
--with-python=/usr (relocatable)
--with-separate-debug-dir=/usr/lib/debug (relocatable)
--with-system-gdbinit=/etc/gdb/gdbinit
--with-zlib
--without-babeltrace
To copy to clipboard, switch view to plain text mode
Maybe you simply don't have python installed?
The native Ubuntu debugger has execeptions when I use it with gdbserver on a RPI. If you have a pointer for a binary to download and try, that would be great!
You need the multiarch version to debug ARM binaries with it. Just "sudo apt-get install gdb-multiarch".
Bookmarks