Re: [ptxdist] Gdb debugging helper

2013-01-11 Thread Juergen Beisert
Hi Ruben, Ruben Louw wrote: Does anyone know which debugging helper gdb uses? Could it be python? What is a 'debugging helper'??? .oO(Computer! Find the bugs in my app right now!?) ;) if so, I'd probably have to add it when I build my BSP, is this right? Please keep always in mind the

Re: [ptxdist] Gdb debugging helper

2013-01-11 Thread Juergen Beisert
Hi Ruben, Ruben Louw wrote: (Computer! Find the bugs in my app right now!?) ;) hehehe, I wish it was this simple. Maybe we should give it a try :)) The debugging helper enables the viewing of complex objects in the IDE (Qt Creator in my case). so when gdbserver is started on the target,

Re: [ptxdist] Gdb debugging helper

2013-01-11 Thread Ruben Louw
hmm. makes sense to be on host. But I think this should be included when build the toolchain or something, I'm only speculating. but i'll play around with it, hopefully smoke does'nt come out anywhere. Cheers! Ruben On Fri, Jan 11, 2013 at 10:40 AM, Juergen Beisert j...@pengutronix.dewrote:

Re: [ptxdist] Gdb debugging helper

2013-01-11 Thread Michael Olbrich
Hi, On Fri, Jan 11, 2013 at 10:47:07AM +0200, Ruben Louw wrote: hmm. makes sense to be on host. But I think this should be included when build the toolchain or something, The gdb in OSELAT.Toolchain is built with python support if the Python headers are found. Michael -- Pengutronix e.K.

Re: [ptxdist] Gdb debugging helper [PATCH]

2013-01-11 Thread Tim Sander
Hi Ruben Am Freitag, 11. Januar 2013, 10:47:07 schrieb Ruben Louw: hmm. makes sense to be on host. But I think this should be included when build the toolchain or something, I'm only speculating. but i'll play around with it, hopefully smoke does'nt come out anywhere. Its the Toolchain. You

Re: [ptxdist] Gdb debugging helper [PATCH]

2013-01-11 Thread Ruben Louw
Hi Tim Thanks for the advice. Just to be sure. Python was not enabled (default) then as the helper? Could it be I was correct? So then I need to rebuild the toolchain, with Python enabled (example below)? Or is there a quick hack for me to try without rebuilding the toolchain, cos then I have to

Re: [ptxdist] Gdb debugging helper

2013-01-11 Thread Ruben Louw
Hi Michael I'd have to explicitly add Python to be built, or is it enabled by default? Thanks On Fri, Jan 11, 2013 at 11:42 AM, Michael Olbrich m.olbr...@pengutronix.dewrote: Hi, On Fri, Jan 11, 2013 at 10:47:07AM +0200, Ruben Louw wrote: hmm. makes sense to be on host. But I think this

Re: [ptxdist] Gdb debugging helper [PATCH]

2013-01-11 Thread Tim Sander
Hi Ruben Thanks for the advice. Just to be sure. Python was not enabled (default) then as the helper? Could it be I was correct? So then I need to rebuild the toolchain, with Python enabled (example below)? Or is there a quick hack for me to try without rebuilding the toolchain, cos then I

Re: [ptxdist] Gdb debugging helper [PATCH]

2013-01-11 Thread Ruben Louw
Hi Tim I currently use 2012.12.0. I hd a look in cross-gdb.make, and the --enable-python line is not there. So I added it. Do i have to rebuild the toolchain after adding this line? Thank you Ruben On Fri, Jan 11, 2013 at 2:27 PM, Tim Sander t...@krieglstein.org wrote: Hi Ruben Thanks for

Re: [ptxdist] Gdb debugging helper [PATCH]

2013-01-11 Thread Michael Olbrich
Hi, On Fri, Jan 11, 2013 at 12:57:45PM +0200, Ruben Louw wrote: Thanks for the advice. Just to be sure. Python was not enabled (default) then as the helper? Could it be I was correct? So then I need to rebuild the toolchain, with Python enabled (example below)? Or is there a quick hack for me

Re: [ptxdist] Gdb debugging helper [PATCH]

2013-01-11 Thread Ruben Louw
Hi Tim I'm trying to get my mind wrapped around this. I ran your command and this is what it outputs: Dynamic section at offset 0x3f1df8 contains 25 entries: TagType Name/Value 0x0001 (NEEDED) Shared library: [libdl.so.2]

Re: [ptxdist] [oselas] GTK+

2013-01-11 Thread Mike Munie
Thanks for the reply. is there a 'getting started' guide to follow how does the BSP compare to using scratchbox? On Thu, Jan 10, 2013 at 3:32 AM, Juergen Beisert j...@pengutronix.de wrote: Hi Mike, Mike Munie wrote: Is it posible to use your BSP to put a GTK application on the Mini2440?

Re: [ptxdist] Gdb debugging helper [PATCH]

2013-01-11 Thread Ruben Louw
sorry, I meant Michael. On Fri, Jan 11, 2013 at 2:37 PM, Ruben Louw lfxc...@gmail.com wrote: Hi Tim I'm trying to get my mind wrapped around this. I ran your command and this is what it outputs: Dynamic section at offset 0x3f1df8 contains 25 entries: TagType

Re: [ptxdist] Gdb debugging helper [PATCH]

2013-01-11 Thread Juergen Beisert
Hi Ruben, Ruben Louw wrote: I currently use 2012.12.0. I hd a look in cross-gdb.make, and the --enable-python line is not there. So I added it. Do i have to rebuild the toolchain after adding this line? Maybe you can try with a ptxdist clean cross-gdb; ptxdist go (=partially rebuild). If

Re: [ptxdist] Gdb debugging helper [PATCH]

2013-01-11 Thread Michael Olbrich
On Fri, Jan 11, 2013 at 02:37:01PM +0200, Ruben Louw wrote: I'm trying to get my mind wrapped around this. I ran your command and this is what it outputs: Dynamic section at offset 0x3f1df8 contains 25 entries: TagType Name/Value 0x0001

Re: [ptxdist] Gdb debugging helper [PATCH]

2013-01-11 Thread Ruben Louw
Thanks Michael Thats what you meant by it installs it if it can find the headers, right? so if i have python-dev installed on my host, and python is enabled in cross-gdb.make, then it will link python and all that, right? On Fri, Jan 11, 2013 at 3:00 PM, Michael Olbrich

Re: [ptxdist] Gdb debugging helper [PATCH]

2013-01-11 Thread Juergen Beisert
Hi Ruben, Ruben Louw wrote: How do I partially rebuild the cross-gdb package? With the commands I mentioned. If you have kept your already built OSELAS.Toolchain-2012.12.0 build directory, with ptxdist clean package name; ptxdist go you can force the re-build of the package package name. it

Re: [ptxdist] Gdb debugging helper [PATCH]

2013-01-11 Thread Michael Olbrich
Hi, On Fri, Jan 11, 2013 at 03:02:50PM +0200, Ruben Louw wrote: Thats what you meant by it installs it if it can find the headers, right? so if i have python-dev installed on my host, and python is enabled in cross-gdb.make, then it will link python and all that, right? Actually, you don't

Re: [ptxdist] Gdb debugging helper [PATCH]

2013-01-11 Thread Ruben Louw
So all I have to do is just install python-dev then right? it'll then pick everything up automatically. On Fri, Jan 11, 2013 at 3:18 PM, Michael Olbrich m.olbr...@pengutronix.dewrote: Hi, On Fri, Jan 11, 2013 at 03:02:50PM +0200, Ruben Louw wrote: Thats what you meant by it installs it if

Re: [ptxdist] Gdb debugging helper [PATCH]

2013-01-11 Thread Ruben Louw
Nevermind my reply, I'll rebuild. Thanks guys On Fri, Jan 11, 2013 at 3:20 PM, Ruben Louw lfxc...@gmail.com wrote: So all I have to do is just install python-dev then right? it'll then pick everything up automatically. On Fri, Jan 11, 2013 at 3:18 PM, Michael Olbrich

Re: [ptxdist] Gdb debugging helper [PATCH]

2013-01-11 Thread Tim Sander
Hi Michael The default is autodetect. Run 'readelf -d /path/to/toolchain/bin/prefix-gdb' and see if it links to libpython2.7.so.1.0 or something like that. If not, then you need to istall python-dev or something like that. I have python-dev installed, nevertheless i had to add

Re: [ptxdist] Gdb debugging helper [PATCH]

2013-01-11 Thread Juergen Beisert
Hi Ruben, please don't forget the mailing list :) Ruben Louw wrote: thanks Juergen You're welcome. That was my problem, I removed the already built Toolchain that was in my home directory. Now it wants to download everything. Setup PTXdist to use a special directory for the downloaded

Re: [ptxdist] Gdb debugging helper [PATCH]

2013-01-11 Thread Ruben Louw
thanks Juergen That was my problem, I removed the already built Toolchain that was in my home directory. Now it wants to download everything. Oh well, mental note to self, dont just remove stuff. I walk seems like a great idea, would rather buy you, Tim and Michael a beer ;) Thanks for all your

Re: [ptxdist] Gdb debugging helper [PATCH]

2013-01-11 Thread Ruben Louw
Appologies for doing it again. keep forgetting, crap. Will setup a directory like that, or i wont just remove stuff. Thanks On Fri, Jan 11, 2013 at 3:25 PM, Juergen Beisert j...@pengutronix.de wrote: Hi Ruben, please don't forget the mailing list :) Ruben Louw wrote: thanks Juergen

Re: [ptxdist] Gdb debugging helper [PATCH]

2013-01-11 Thread Ruben Louw
Hi Tim I have python-dev installed, nevertheless i had to add --enable-python, at l last in the 2011.03.1 toolchain, and probably i have added this line also to the 2011.11.3 toolchain after i add it to my git repo... So with ubuntu 12.04 64bit i had to add this enable-python flag. Maybe

Re: [ptxdist] Gdb debugging helper [PATCH]

2013-01-11 Thread Juergen Beisert
Ruben Louw wrote: Appologies for doing it again. keep forgetting, crap. :) jbe -- Pengutronix e.K. | Juergen Beisert | Linux Solutions for Science and Industry | http://www.pengutronix.de/ | -- ptxdist mailing list ptxdist@pengutronix.de

Re: [ptxdist] [oselas] GTK+

2013-01-11 Thread Mike Munie
thanks, i'll check it out. On Fri, Jan 11, 2013 at 1:54 AM, Juergen Beisert j...@pengutronix.de wrote: How to become a PTXdst Guru manual -- ptxdist mailing list ptxdist@pengutronix.de