mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Gdb debugging helper
@ 2013-01-11  7:30 Ruben Louw
  2013-01-11  8:09 ` Juergen Beisert
  0 siblings, 1 reply; 28+ messages in thread
From: Ruben Louw @ 2013-01-11  7:30 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 198 bytes --]

Hi everyone

Does anyone know which debugging helper gdb uses? Could it be python? if
so, I'd probably have to add it when I build my BSP, is this right?

Thanks for any help/advice

Regards

Ruben

[-- Attachment #1.2: Type: text/html, Size: 231 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [ptxdist] Gdb debugging helper
  2013-01-11  7:30 [ptxdist] Gdb debugging helper Ruben Louw
@ 2013-01-11  8:09 ` Juergen Beisert
  2013-01-11  8:22   ` Ruben Louw
  0 siblings, 1 reply; 28+ messages in thread
From: Juergen Beisert @ 2013-01-11  8:09 UTC (permalink / raw)
  To: ptxdist; +Cc: Ruben Louw

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 difference between your target and your host. 
Most of the time, only the small gdbserver runs on your target and the main 
full blown/featured debugger on your host.

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [ptxdist] Gdb debugging helper
  2013-01-11  8:09 ` Juergen Beisert
@ 2013-01-11  8:22   ` Ruben Louw
  2013-01-11  8:40     ` Juergen Beisert
  0 siblings, 1 reply; 28+ messages in thread
From: Ruben Louw @ 2013-01-11  8:22 UTC (permalink / raw)
  To: Juergen Beisert


[-- Attachment #1.1: Type: text/plain, Size: 1736 bytes --]

Hi Juergen

> ("Computer! Find the bugs in my app right now!"?) ;)

hehehe, I wish it was this simple.

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, the IDE
then starts gdb on the host and the to communicate with each other. As soon
as a break point is reached, the variable types and values are displayed
using a debug helper. from what I could gather, this helper is either
python or normal c++.

> Please keep always in mind the difference between your target and your
host. Most of the time, only the small gdbserver runs >on your target and
the main full blown/featured debugger on your host.

this is also how I understand it, all the helper does is "Indetify" the
types and its values, then you dont have to guess what the content of the
variable or objects are.

Maybe I'm missing something, but this makes sense to me. :)

Thanks for the reply and any further help.

Regards

Ruben


On Fri, Jan 11, 2013 at 10:09 AM, Juergen Beisert <jbe@pengutronix.de>wrote:

> 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 difference between your target and your
> host.
> Most of the time, only the small gdbserver runs on your target and the main
> full blown/featured debugger on your host.
>
> Regards,
> Juergen
>
> --
> Pengutronix e.K.                              | Juergen Beisert
>   |
> Linux Solutions for Science and Industry      | http://www.pengutronix.de/ |
>

[-- Attachment #1.2: Type: text/html, Size: 2337 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [ptxdist] Gdb debugging helper
  2013-01-11  8:22   ` Ruben Louw
@ 2013-01-11  8:40     ` Juergen Beisert
  2013-01-11  8:47       ` Ruben Louw
  0 siblings, 1 reply; 28+ messages in thread
From: Juergen Beisert @ 2013-01-11  8:40 UTC (permalink / raw)
  To: ptxdist; +Cc: Ruben Louw

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, the IDE
> then starts gdb on the host and the to communicate with each other. As soon
> as a break point is reached, the variable types and values are displayed
> using a debug helper. from what I could gather, this helper is either
> python or normal c++.

Hmm, then these helpers should run on your host. So, PTXdist and your target's 
gdbserver are not involved. When these helpers are using the gdb to collect 
the information they need, I would guess it should work out of the box.

>> Please keep always in mind the difference between your target and your
>> host. Most of the time, only the small gdbserver runs >on your target and
>> the main full blown/featured debugger on your host.
>
> this is also how I understand it, all the helper does is "Indetify" the
> types and its values, then you dont have to guess what the content of the
> variable or objects are.

I know this behaviour from DDD where you also can click through linked lists 
and so on. Very comfortable.

Happy hacking.

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [ptxdist] Gdb debugging helper
  2013-01-11  8:40     ` Juergen Beisert
@ 2013-01-11  8:47       ` Ruben Louw
  2013-01-11  9:42         ` Michael Olbrich
  2013-01-11  9:42         ` [ptxdist] Gdb debugging helper [PATCH] Tim Sander
  0 siblings, 2 replies; 28+ messages in thread
From: Ruben Louw @ 2013-01-11  8:47 UTC (permalink / raw)
  To: Juergen Beisert


[-- Attachment #1.1: Type: text/plain, Size: 1846 bytes --]

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 <jbe@pengutronix.de>wrote:

> 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, the IDE
> > then starts gdb on the host and the to communicate with each other. As
> soon
> > as a break point is reached, the variable types and values are displayed
> > using a debug helper. from what I could gather, this helper is either
> > python or normal c++.
>
> Hmm, then these helpers should run on your host. So, PTXdist and your
> target's
> gdbserver are not involved. When these helpers are using the gdb to collect
> the information they need, I would guess it should work out of the box.
>
> >> Please keep always in mind the difference between your target and your
> >> host. Most of the time, only the small gdbserver runs >on your target
> and
> >> the main full blown/featured debugger on your host.
> >
> > this is also how I understand it, all the helper does is "Indetify" the
> > types and its values, then you dont have to guess what the content of the
> > variable or objects are.
>
> I know this behaviour from DDD where you also can click through linked
> lists
> and so on. Very comfortable.
>
> Happy hacking.
>
> Regards,
> Juergen
>
> --
> Pengutronix e.K.                              | Juergen Beisert
>   |
> Linux Solutions for Science and Industry      | http://www.pengutronix.de/ |
>

[-- Attachment #1.2: Type: text/html, Size: 2523 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [ptxdist] Gdb debugging helper
  2013-01-11  8:47       ` Ruben Louw
@ 2013-01-11  9:42         ` Michael Olbrich
  2013-01-11 10:58           ` Ruben Louw
  2013-01-11  9:42         ` [ptxdist] Gdb debugging helper [PATCH] Tim Sander
  1 sibling, 1 reply; 28+ messages in thread
From: Michael Olbrich @ 2013-01-11  9:42 UTC (permalink / raw)
  To: ptxdist

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.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [ptxdist] Gdb debugging helper [PATCH]
  2013-01-11  8:47       ` Ruben Louw
  2013-01-11  9:42         ` Michael Olbrich
@ 2013-01-11  9:42         ` Tim Sander
  2013-01-11 10:57           ` Ruben Louw
  1 sibling, 1 reply; 28+ messages in thread
From: Tim Sander @ 2013-01-11  9:42 UTC (permalink / raw)
  To: ptxdist

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 need the following change in the toolchain. 
I would suggest to have this enabled by default, while we are at it. 
Best regards
Tim

diff --git a/toolchain/OSELAS.Toolchain-2011.03.1/rules/cross-gdb.make b/toolchain/OSELAS.Toolchain-2011.03.1/rules/cross-gdb.make
index 727de25..8c1ffdc 100644
--- a/toolchain/OSELAS.Toolchain-2011.03.1/rules/cross-gdb.make
+++ b/toolchain/OSELAS.Toolchain-2011.03.1/rules/cross-gdb.make
@@ -63,6 +63,7 @@ CROSS_GDB_AUTOCONF := \
        $(PTXCONF_TOOLCHAIN_CONFIG_SYSROOT) \
        \
        --disable-werror \
+       --enable-python \
        --enable-tui
 
 $(STATEDIR)/cross-gdb.prepare:


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [ptxdist] Gdb debugging helper [PATCH]
  2013-01-11  9:42         ` [ptxdist] Gdb debugging helper [PATCH] Tim Sander
@ 2013-01-11 10:57           ` Ruben Louw
  2013-01-11 12:27             ` Tim Sander
  2013-01-11 12:30             ` Michael Olbrich
  0 siblings, 2 replies; 28+ messages in thread
From: Ruben Louw @ 2013-01-11 10:57 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 1543 bytes --]

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
rebuild everything and I just want to quick test if this is the solution.

Do I understand this correctly, or am I way off?

Thanks!

Ruben


On Fri, Jan 11, 2013 at 11:42 AM, Tim Sander <tim@krieglstein.org> wrote:

> 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 need the following change in the toolchain.
> I would suggest to have this enabled by default, while we are at it.
> Best regards
> Tim
>
> diff --git a/toolchain/OSELAS.Toolchain-2011.03.1/rules/cross-gdb.make
> b/toolchain/OSELAS.Toolchain-2011.03.1/rules/cross-gdb.make
> index 727de25..8c1ffdc 100644
> --- a/toolchain/OSELAS.Toolchain-2011.03.1/rules/cross-gdb.make
> +++ b/toolchain/OSELAS.Toolchain-2011.03.1/rules/cross-gdb.make
> @@ -63,6 +63,7 @@ CROSS_GDB_AUTOCONF := \
>         $(PTXCONF_TOOLCHAIN_CONFIG_SYSROOT) \
>         \
>         --disable-werror \
> +       --enable-python \
>         --enable-tui
>
>  $(STATEDIR)/cross-gdb.prepare:
>
>
> --
> ptxdist mailing list
> ptxdist@pengutronix.de
>

[-- Attachment #1.2: Type: text/html, Size: 2028 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [ptxdist] Gdb debugging helper
  2013-01-11  9:42         ` Michael Olbrich
@ 2013-01-11 10:58           ` Ruben Louw
  0 siblings, 0 replies; 28+ messages in thread
From: Ruben Louw @ 2013-01-11 10:58 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 846 bytes --]

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.olbrich@pengutronix.de>wrote:

> 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.                           |                             |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
>
> --
> ptxdist mailing list
> ptxdist@pengutronix.de
>

[-- Attachment #1.2: Type: text/html, Size: 1493 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [ptxdist] Gdb debugging helper [PATCH]
  2013-01-11 10:57           ` Ruben Louw
@ 2013-01-11 12:27             ` Tim Sander
  2013-01-11 12:30               ` Ruben Louw
  2013-01-11 12:30             ` Michael Olbrich
  1 sibling, 1 reply; 28+ messages in thread
From: Tim Sander @ 2013-01-11 12:27 UTC (permalink / raw)
  To: ptxdist

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 have to
> rebuild everything and I just want to quick test if this is the solution.
It was not enabled for the older toolchains (2011.03.1) and is is enabled for
2011.11.3. Just take a look at rules/cross-gdb.make

Best regards
Tim

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [ptxdist] Gdb debugging helper [PATCH]
  2013-01-11 12:27             ` Tim Sander
@ 2013-01-11 12:30               ` Ruben Louw
  2013-01-11 12:45                 ` Juergen Beisert
  0 siblings, 1 reply; 28+ messages in thread
From: Ruben Louw @ 2013-01-11 12:30 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 887 bytes --]

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 <tim@krieglstein.org> wrote:

> 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 have to
> > rebuild everything and I just want to quick test if this is the solution.
> It was not enabled for the older toolchains (2011.03.1) and is is enabled
> for
> 2011.11.3. Just take a look at rules/cross-gdb.make
>
> Best regards
> Tim
>
> --
> ptxdist mailing list
> ptxdist@pengutronix.de
>

[-- Attachment #1.2: Type: text/html, Size: 1385 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [ptxdist] Gdb debugging helper [PATCH]
  2013-01-11 10:57           ` Ruben Louw
  2013-01-11 12:27             ` Tim Sander
@ 2013-01-11 12:30             ` Michael Olbrich
  2013-01-11 12:37               ` Ruben Louw
  2013-01-11 13:24               ` Tim Sander
  1 sibling, 2 replies; 28+ messages in thread
From: Michael Olbrich @ 2013-01-11 12:30 UTC (permalink / raw)
  To: ptxdist

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 to try without rebuilding the toolchain, cos then I have to
> rebuild everything and I just want to quick test if this is the solution.
> 
> Do I understand this correctly, or am I way off?

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.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [ptxdist] Gdb debugging helper [PATCH]
  2013-01-11 12:30             ` Michael Olbrich
@ 2013-01-11 12:37               ` Ruben Louw
  2013-01-11 12:42                 ` Ruben Louw
  2013-01-11 13:00                 ` Michael Olbrich
  2013-01-11 13:24               ` Tim Sander
  1 sibling, 2 replies; 28+ messages in thread
From: Ruben Louw @ 2013-01-11 12:37 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 3122 bytes --]

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:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library: [libdl.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libncurses.so.5]
 0x0000000000000001 (NEEDED)             Shared library: [libtinfo.so.5]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
 0x000000000000000f (RPATH)              Library rpath:
[/home/orbit/OSELAS.Toolchain-2012.12.0/platform-arm-v4t-linux-gnueabi-gcc-4.7.2-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/sysroot-host/lib:/this/is/a/long/path/to/make/host/tools/relocateable/with/chrpath/when/using/dev/packages]
 0x000000000000000c (INIT)               0x4046b0
 0x000000000000000d (FINI)               0x6a0218
 0x000000006ffffef5 (GNU_HASH)           0x400298
 0x0000000000000005 (STRTAB)             0x401e88
 0x0000000000000006 (SYMTAB)             0x400388
 0x000000000000000a (STRSZ)              2803 (bytes)
 0x000000000000000b (SYMENT)             24 (bytes)
 0x0000000000000015 (DEBUG)              0x0
 0x0000000000000003 (PLTGOT)             0x9f1fe8
 0x0000000000000002 (PLTRELSZ)           6312 (bytes)
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000017 (JMPREL)             0x402e08
 0x0000000000000007 (RELA)               0x402ca0
 0x0000000000000008 (RELASZ)             360 (bytes)
 0x0000000000000009 (RELAENT)            24 (bytes)
 0x000000006ffffffe (VERNEED)            0x402bc0
 0x000000006fffffff (VERNEEDNUM)         3
 0x000000006ffffff0 (VERSYM)             0x40297c
 0x0000000000000000 (NULL)               0x0

its not linking to Python right? if i then install python, do i have to
make the link myself?

Thanks

Ruben

On Fri, Jan 11, 2013 at 2:30 PM, Michael Olbrich
<m.olbrich@pengutronix.de>wrote:

> 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 to try without rebuilding the toolchain, cos then I have to
> > rebuild everything and I just want to quick test if this is the solution.
> >
> > Do I understand this correctly, or am I way off?
>
> 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.
>
> Michael
>
> --
> Pengutronix e.K.                           |                             |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
>
> --
> ptxdist mailing list
> ptxdist@pengutronix.de
>

[-- Attachment #1.2: Type: text/html, Size: 3987 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [ptxdist] Gdb debugging helper [PATCH]
  2013-01-11 12:37               ` Ruben Louw
@ 2013-01-11 12:42                 ` Ruben Louw
  2013-01-11 13:00                 ` Michael Olbrich
  1 sibling, 0 replies; 28+ messages in thread
From: Ruben Louw @ 2013-01-11 12:42 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 3340 bytes --]

sorry, I meant Michael.

On Fri, Jan 11, 2013 at 2:37 PM, Ruben Louw <lfxciii@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:
>   Tag        Type                         Name/Value
>  0x0000000000000001 (NEEDED)             Shared library: [libdl.so.2]
>  0x0000000000000001 (NEEDED)             Shared library: [libncurses.so.5]
>  0x0000000000000001 (NEEDED)             Shared library: [libtinfo.so.5]
>  0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
>  0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
>  0x000000000000000f (RPATH)              Library rpath:
> [/home/orbit/OSELAS.Toolchain-2012.12.0/platform-arm-v4t-linux-gnueabi-gcc-4.7.2-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/sysroot-host/lib:/this/is/a/long/path/to/make/host/tools/relocateable/with/chrpath/when/using/dev/packages]
>  0x000000000000000c (INIT)               0x4046b0
>  0x000000000000000d (FINI)               0x6a0218
>  0x000000006ffffef5 (GNU_HASH)           0x400298
>  0x0000000000000005 (STRTAB)             0x401e88
>  0x0000000000000006 (SYMTAB)             0x400388
>  0x000000000000000a (STRSZ)              2803 (bytes)
>  0x000000000000000b (SYMENT)             24 (bytes)
>  0x0000000000000015 (DEBUG)              0x0
>  0x0000000000000003 (PLTGOT)             0x9f1fe8
>  0x0000000000000002 (PLTRELSZ)           6312 (bytes)
>  0x0000000000000014 (PLTREL)             RELA
>  0x0000000000000017 (JMPREL)             0x402e08
>  0x0000000000000007 (RELA)               0x402ca0
>  0x0000000000000008 (RELASZ)             360 (bytes)
>  0x0000000000000009 (RELAENT)            24 (bytes)
>  0x000000006ffffffe (VERNEED)            0x402bc0
>  0x000000006fffffff (VERNEEDNUM)         3
>  0x000000006ffffff0 (VERSYM)             0x40297c
>  0x0000000000000000 (NULL)               0x0
>
> its not linking to Python right? if i then install python, do i have to
> make the link myself?
>
> Thanks
>
> Ruben
>
>
> On Fri, Jan 11, 2013 at 2:30 PM, Michael Olbrich <m.olbrich@pengutronix.de
> > wrote:
>
>> 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 to try without rebuilding the toolchain, cos then I have to
>> > rebuild everything and I just want to quick test if this is the
>> solution.
>> >
>> > Do I understand this correctly, or am I way off?
>>
>> 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.
>>
>> Michael
>>
>> --
>> Pengutronix e.K.                           |                             |
>> Industrial Linux Solutions                 | http://www.pengutronix.de/ |
>> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0
>>  |
>> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555|
>>
>> --
>> ptxdist mailing list
>> ptxdist@pengutronix.de
>>
>
>

[-- Attachment #1.2: Type: text/html, Size: 4447 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [ptxdist] Gdb debugging helper [PATCH]
  2013-01-11 12:30               ` Ruben Louw
@ 2013-01-11 12:45                 ` Juergen Beisert
  2013-01-11 12:57                   ` Ruben Louw
  0 siblings, 1 reply; 28+ messages in thread
From: Juergen Beisert @ 2013-01-11 12:45 UTC (permalink / raw)
  To: ptxdist; +Cc: Ruben Louw

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 this does not work, you must rebuild the whole toolchain.

Regards
Juergen

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [ptxdist] Gdb debugging helper [PATCH]
  2013-01-11 12:45                 ` Juergen Beisert
@ 2013-01-11 12:57                   ` Ruben Louw
  2013-01-11 13:12                     ` Juergen Beisert
  0 siblings, 1 reply; 28+ messages in thread
From: Ruben Louw @ 2013-01-11 12:57 UTC (permalink / raw)
  To: Juergen Beisert


[-- Attachment #1.1: Type: text/plain, Size: 853 bytes --]

Hi Juergen

How do I partially rebuild the cross-gdb package? it keeps downloading
stuff. Should i remove the previous toolchain before rebuilding it, if so,
how do i remove it?

I'm getting there :)

Thanks

Ruben

On Fri, Jan 11, 2013 at 2:45 PM, Juergen Beisert <jbe@pengutronix.de> wrote:

> 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 this does not work, you must rebuild the whole toolchain.
>
> Regards
> Juergen
>
> --
> Pengutronix e.K.                              | Juergen Beisert
>   |
> Linux Solutions for Science and Industry      | http://www.pengutronix.de/ |
>

[-- Attachment #1.2: Type: text/html, Size: 1346 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [ptxdist] Gdb debugging helper [PATCH]
  2013-01-11 12:37               ` Ruben Louw
  2013-01-11 12:42                 ` Ruben Louw
@ 2013-01-11 13:00                 ` Michael Olbrich
  2013-01-11 13:02                   ` Ruben Louw
  1 sibling, 1 reply; 28+ messages in thread
From: Michael Olbrich @ 2013-01-11 13:00 UTC (permalink / raw)
  To: ptxdist

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:
>   Tag        Type                         Name/Value
>  0x0000000000000001 (NEEDED)             Shared library: [libdl.so.2]
>  0x0000000000000001 (NEEDED)             Shared library: [libncurses.so.5]
>  0x0000000000000001 (NEEDED)             Shared library: [libtinfo.so.5]
>  0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
>  0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
[...]
> its not linking to Python right?

Correct.

> if i then install python, do i have to
> make the link myself?

1. Install whatever packages provides Python.h in your distro (python-dev
   in Debian).

2. Rebuild the toolchain, or just part of if as Juergen suggested.
Python support is automatically enabled if found.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [ptxdist] Gdb debugging helper [PATCH]
  2013-01-11 13:00                 ` Michael Olbrich
@ 2013-01-11 13:02                   ` Ruben Louw
  2013-01-11 13:18                     ` Michael Olbrich
  0 siblings, 1 reply; 28+ messages in thread
From: Ruben Louw @ 2013-01-11 13:02 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 1708 bytes --]

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
<m.olbrich@pengutronix.de>wrote:

> 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:
> >   Tag        Type                         Name/Value
> >  0x0000000000000001 (NEEDED)             Shared library: [libdl.so.2]
> >  0x0000000000000001 (NEEDED)             Shared library:
> [libncurses.so.5]
> >  0x0000000000000001 (NEEDED)             Shared library: [libtinfo.so.5]
> >  0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
> >  0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
> [...]
> > its not linking to Python right?
>
> Correct.
>
> > if i then install python, do i have to
> > make the link myself?
>
> 1. Install whatever packages provides Python.h in your distro (python-dev
>    in Debian).
>
> 2. Rebuild the toolchain, or just part of if as Juergen suggested.
> Python support is automatically enabled if found.
>
> Michael
>
> --
> Pengutronix e.K.                           |                             |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
>
> --
> ptxdist mailing list
> ptxdist@pengutronix.de
>

[-- Attachment #1.2: Type: text/html, Size: 2479 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [ptxdist] Gdb debugging helper [PATCH]
  2013-01-11 12:57                   ` Ruben Louw
@ 2013-01-11 13:12                     ` Juergen Beisert
  2013-01-11 13:16                       ` Ruben Louw
  0 siblings, 1 reply; 28+ messages in thread
From: Juergen Beisert @ 2013-01-11 13:12 UTC (permalink / raw)
  To: ptxdist; +Cc: Ruben Louw

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 keeps downloading stuff.

???

> Should i remove the previous toolchain before rebuilding it, if so, 
> how do i remove it?

If you really want to start from scratch:

~$ rm -rf /opt/OSELAS.Toolchain-2012.12.0/<your toolchain to remove>
~/OSELAS.Toolchain-2012.12.0$ ptxdist clean
~/OSELAS.Toolchain-2012.12.0$ ptxdist go

And then go for a walk. :)

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [ptxdist] Gdb debugging helper [PATCH]
  2013-01-11 13:12                     ` Juergen Beisert
@ 2013-01-11 13:16                       ` Ruben Louw
  2013-01-11 13:25                         ` Juergen Beisert
  0 siblings, 1 reply; 28+ messages in thread
From: Ruben Louw @ 2013-01-11 13:16 UTC (permalink / raw)
  To: Juergen Beisert


[-- Attachment #1.1: Type: text/plain, Size: 1282 bytes --]

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 help guys.

Regards

Ruben

On Fri, Jan 11, 2013 at 3:12 PM, Juergen Beisert <jbe@pengutronix.de> wrote:

> 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 keeps downloading stuff.
>
> ???
>
> > Should i remove the previous toolchain before rebuilding it, if so,
> > how do i remove it?
>
> If you really want to start from scratch:
>
> ~$ rm -rf /opt/OSELAS.Toolchain-2012.12.0/<your toolchain to remove>
> ~/OSELAS.Toolchain-2012.12.0$ ptxdist clean
> ~/OSELAS.Toolchain-2012.12.0$ ptxdist go
>
> And then go for a walk. :)
>
> Regards,
> Juergen
>
> --
> Pengutronix e.K.                              | Juergen Beisert
>   |
> Linux Solutions for Science and Industry      | http://www.pengutronix.de/ |
>

[-- Attachment #1.2: Type: text/html, Size: 1878 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [ptxdist] Gdb debugging helper [PATCH]
  2013-01-11 13:02                   ` Ruben Louw
@ 2013-01-11 13:18                     ` Michael Olbrich
  2013-01-11 13:20                       ` Ruben Louw
  0 siblings, 1 reply; 28+ messages in thread
From: Michael Olbrich @ 2013-01-11 13:18 UTC (permalink / raw)
  To: ptxdist

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 need to modify cross-gdb.make. The rest is correct.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [ptxdist] Gdb debugging helper [PATCH]
  2013-01-11 13:18                     ` Michael Olbrich
@ 2013-01-11 13:20                       ` Ruben Louw
  2013-01-11 13:21                         ` Ruben Louw
  0 siblings, 1 reply; 28+ messages in thread
From: Ruben Louw @ 2013-01-11 13:20 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 937 bytes --]

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.olbrich@pengutronix.de>wrote:

> 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 need to modify cross-gdb.make. The rest is correct.
>
> Michael
>
> --
> Pengutronix e.K.                           |                             |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
>
> --
> ptxdist mailing list
> ptxdist@pengutronix.de
>

[-- Attachment #1.2: Type: text/html, Size: 1570 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [ptxdist] Gdb debugging helper [PATCH]
  2013-01-11 13:20                       ` Ruben Louw
@ 2013-01-11 13:21                         ` Ruben Louw
  0 siblings, 0 replies; 28+ messages in thread
From: Ruben Louw @ 2013-01-11 13:21 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 1098 bytes --]

Nevermind my reply, I'll rebuild.

Thanks guys

On Fri, Jan 11, 2013 at 3:20 PM, Ruben Louw <lfxciii@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 <m.olbrich@pengutronix.de
> > wrote:
>
>> 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 need to modify cross-gdb.make. The rest is correct.
>>
>> Michael
>>
>> --
>> Pengutronix e.K.                           |                             |
>> Industrial Linux Solutions                 | http://www.pengutronix.de/ |
>> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0
>>  |
>> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555|
>>
>> --
>> ptxdist mailing list
>> ptxdist@pengutronix.de
>>
>
>

[-- Attachment #1.2: Type: text/html, Size: 2009 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [ptxdist] Gdb debugging helper [PATCH]
  2013-01-11 12:30             ` Michael Olbrich
  2013-01-11 12:37               ` Ruben Louw
@ 2013-01-11 13:24               ` Tim Sander
  1 sibling, 0 replies; 28+ messages in thread
From: Tim Sander @ 2013-01-11 13:24 UTC (permalink / raw)
  To: ptxdist

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 --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 
autodetection is not working correctly?

Best regards
Tim

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [ptxdist] Gdb debugging helper [PATCH]
  2013-01-11 13:16                       ` Ruben Louw
@ 2013-01-11 13:25                         ` Juergen Beisert
  2013-01-11 13:33                           ` Ruben Louw
  0 siblings, 1 reply; 28+ messages in thread
From: Juergen Beisert @ 2013-01-11 13:25 UTC (permalink / raw)
  To: ptxdist; +Cc: Ruben Louw

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 archives. Then the 
download happens only once.

> 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 help guys.

Regards
Juergen

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [ptxdist] Gdb debugging helper [PATCH]
  2013-01-11 13:25                         ` Juergen Beisert
@ 2013-01-11 13:33                           ` Ruben Louw
  2013-01-11 13:39                             ` Ruben Louw
  2013-01-11 13:49                             ` Juergen Beisert
  0 siblings, 2 replies; 28+ messages in thread
From: Ruben Louw @ 2013-01-11 13:33 UTC (permalink / raw)
  To: Juergen Beisert; +Cc: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 939 bytes --]

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 <jbe@pengutronix.de> wrote:

> 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 archives. Then
> the
> download happens only once.
>
> > 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 help guys.
>
> Regards
> Juergen
>
> --
> Pengutronix e.K.                              | Juergen Beisert
>   |
> Linux Solutions for Science and Industry      | http://www.pengutronix.de/ |
>

[-- Attachment #1.2: Type: text/html, Size: 1474 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [ptxdist] Gdb debugging helper [PATCH]
  2013-01-11 13:33                           ` Ruben Louw
@ 2013-01-11 13:39                             ` Ruben Louw
  2013-01-11 13:49                             ` Juergen Beisert
  1 sibling, 0 replies; 28+ messages in thread
From: Ruben Louw @ 2013-01-11 13:39 UTC (permalink / raw)
  To: Juergen Beisert; +Cc: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 1502 bytes --]

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
>autodetection is not working correctly?

Just out of interest, what language and ide are you using for your
development?

Regards

Ruben


On Fri, Jan 11, 2013 at 3:33 PM, Ruben Louw <lfxciii@gmail.com> wrote:

> 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 <jbe@pengutronix.de>wrote:
>
>> 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 archives.
>> Then the
>> download happens only once.
>>
>> > 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 help guys.
>>
>> Regards
>> Juergen
>>
>> --
>> Pengutronix e.K.                              | Juergen Beisert
>>   |
>> Linux Solutions for Science and Industry      |
>> http://www.pengutronix.de/  |
>>
>
>

[-- Attachment #1.2: Type: text/html, Size: 2289 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [ptxdist] Gdb debugging helper [PATCH]
  2013-01-11 13:33                           ` Ruben Louw
  2013-01-11 13:39                             ` Ruben Louw
@ 2013-01-11 13:49                             ` Juergen Beisert
  1 sibling, 0 replies; 28+ messages in thread
From: Juergen Beisert @ 2013-01-11 13:49 UTC (permalink / raw)
  To: ptxdist; +Cc: Ruben Louw

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

^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2013-01-11 13:49 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-11  7:30 [ptxdist] Gdb debugging helper Ruben Louw
2013-01-11  8:09 ` Juergen Beisert
2013-01-11  8:22   ` Ruben Louw
2013-01-11  8:40     ` Juergen Beisert
2013-01-11  8:47       ` Ruben Louw
2013-01-11  9:42         ` Michael Olbrich
2013-01-11 10:58           ` Ruben Louw
2013-01-11  9:42         ` [ptxdist] Gdb debugging helper [PATCH] Tim Sander
2013-01-11 10:57           ` Ruben Louw
2013-01-11 12:27             ` Tim Sander
2013-01-11 12:30               ` Ruben Louw
2013-01-11 12:45                 ` Juergen Beisert
2013-01-11 12:57                   ` Ruben Louw
2013-01-11 13:12                     ` Juergen Beisert
2013-01-11 13:16                       ` Ruben Louw
2013-01-11 13:25                         ` Juergen Beisert
2013-01-11 13:33                           ` Ruben Louw
2013-01-11 13:39                             ` Ruben Louw
2013-01-11 13:49                             ` Juergen Beisert
2013-01-11 12:30             ` Michael Olbrich
2013-01-11 12:37               ` Ruben Louw
2013-01-11 12:42                 ` Ruben Louw
2013-01-11 13:00                 ` Michael Olbrich
2013-01-11 13:02                   ` Ruben Louw
2013-01-11 13:18                     ` Michael Olbrich
2013-01-11 13:20                       ` Ruben Louw
2013-01-11 13:21                         ` Ruben Louw
2013-01-11 13:24               ` Tim Sander

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox