Are you sure that you need gdb-server with python? It seems that python 
support in host gdb itself is enough for remote debugging in Qt Creator. 
I've recently had such a problem and building gdb with python support on 
host solved it.

On Wednesday, June 4, 2014 6:28:24 PM UTC+4, [email protected] wrote:
>
> Hi, I'm having problems with linaro-gdb. I'm using debian wheezy on my BBB 
> (build with the script from RobertCNelson)
> and have installed Qt on it. QT applications are working on my BBB.
>
> But when I try to debug my local debugger of qtcreator fails with an error 
> message:
>
> "The selected build of GDB does not support Python scripting.It cannot be 
> used in Qt Creator."
>
> I found out that this is a HOST problem. The gdb of the linaro toolchain 
> (gcc-linaro-arm-linux-gnueabihf-4.8-2014.03_linux) which I was using to 
> compile everything
> seems to be compiled without python support.
>
>
>
>
>
>
>
>
>
>
>
>
>
> *~/gdb-linaro-7.6-2013.05/gdb/gdbserver$ 
> /usr/local/gcc-linaro-arm-linux-gnueabihf-4.8-2014.03_linux/bin/arm-linux-gnueabihf-gdbGNU
>  
> gdb (crosstool-NG linaro-1.13.1-4.8-2014.03 - Linaro GCC 2014.03) 
> 7.6.1-2013.10Copyright (C) 2013 Free Software Foundation, Inc.License 
> GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html 
> <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=i686-build_pc-linux-gnu 
> --target=arm-linux-gnueabihf".For bug reporting instructions, please 
> see:<https://bugs.launchpad.net/gcc-linaro 
> <https://bugs.launchpad.net/gcc-linaro>>.(gdb) python printf("hello 
> world")Python scripting is not supported in this copy of GDB.(gdb) *
>
> So I downloaded from https://launchpad.net/gdb-linaro/+download
> the latest release of the source files.
> I untared the file and cd-ed to 
> ~/gcc-linaro-arm-linux-gnueabihf-4.8-2014.03_linux/gdb/gdbserver.
>
> From this directory I tried to configure using this command:
>
> *./configure --host=i686-build_pc-linux-gnu --target=arm-linux-gnueabihf 
> --with-python=/usr/bin/python | tee configurelog.txt*
>
> but there is an WARNING message displayed that --with-python is 
> unrecognized
>
> *--> configure: WARNING: unrecognized options: --with-python*
>
> Can anybody help me with compiling the linaro gdb with python support?
>
>  
> Regards, 
>
> Ben
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to