mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Ruben Louw <lfxciii@gmail.com>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] Gdb debugging helper [PATCH]
Date: Fri, 11 Jan 2013 14:37:01 +0200	[thread overview]
Message-ID: <CAOP6b3jb+sZpj0FmoQmSw0juM8zQum7+Zr7Pt9tAOHQuoZ=9Aw@mail.gmail.com> (raw)
In-Reply-To: <20130111123054.GB11738@pengutronix.de>


[-- 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

  reply	other threads:[~2013-01-11 12:37 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOP6b3jb+sZpj0FmoQmSw0juM8zQum7+Zr7Pt9tAOHQuoZ=9Aw@mail.gmail.com' \
    --to=lfxciii@gmail.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox