On Wed, Mar 21, 2012 at 08:32:49PM +0100, Eric Bénard wrote:
> Hi Nitin,
> 
> Le Wed, 21 Mar 2012 18:07:50 +0000,
> "Kamble, Nitin A" <[email protected]> a écrit :
> > > From: Eric Bénard [mailto:[email protected]]
> > > I'm launching a build and will keep you informed of the result. If that
> > > only fails for x86 or x86_64 targets, we can use overrides to disable
> > > python support only for these targets.
> > > 
> > > Eric
> > 
> > I also starting test for sdk gdb for qemuarm target. Will keep you posted. 
> > Any solution that gives a working sdk gdb for all arches will be good.
> > 
> that works fine here at least for target qemux86 :
> [ebenard@eb-e6520 ~]$ cat /etc/fedora-release 
> Fedora release 16 (Verne)
> 
> [ebenard@eb-e6520 ~]$ uname -a
> Linux eb-e6520 3.2.9-2.fc16.x86_64 #1 SMP Mon Mar 5 20:55:39 UTC 2012
> x86_64 x86_64 x86_64 GNU/Linux
> 
> [ebenard@eb-e6520 ~]$
> source /usr/local/oecore-x86_64/environment-setup-i586-oe-linux 
> 
> [ebenard@eb-e6520 ~]$ which i586-oe-linux-gdb
> /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/bin/i586-oe-linux/i586-oe-linux-gdb
> 
> [ebenard@eb-e6520 ~]$ i586-oe-linux-gdb
> GNU gdb (GDB) 7.4
> Copyright (C) 2012 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <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=x86_64-oesdk-linux
> --target=i586-oe-linux". For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>.
> (gdb) python import sys
> (gdb) python sys.stdout.write("hello, world\n")
> hello, world
> (gdb) 

Just retested with qemux86-64 and distroless oe-core and also works

OE @ /usr/local/oecore-i686 $ x86_64-oe-linux-gdb 
GNU gdb (GDB) 7.4
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<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-oesdk-linux
--target=x86_64-oe-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
(gdb) python print 42
42

the same with armv7a (and my normal SHR layers on top of oe-core)

OE @ /usr/local/oecore-i686 $
sysroots/i686-oesdk-linux/usr/bin/armv7a-vfp-neon-oe-linux-gnueabi/arm-oe-linux-gnueabi-gdb
GNU gdb (GDB) 7.4
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<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-oesdk-linux
--target=arm-oe-linux-gnueabi".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
(gdb) python print 42
42

And host system is gentoo..

Nitin: please try with distroless oe-core to see if it's host or poky
issue (poky still has own SDK_* paths..).

Cheers,

-- 
Martin 'JaMa' Jansa     jabber: [email protected]

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to