[OE-core] [PATCH 1/1] Revert "gdb-cross-canadian: build gdb with python support"

Kamble, Nitin A nitin.a.kamble at intel.com
Thu Mar 22 16:20:18 UTC 2012



> -----Original Message-----
> From: Eric Bénard [mailto:eric at eukrea.com]
> Sent: Thursday, March 22, 2012 6:15 AM
> To: Khem Raj
> Cc: Kamble, Nitin A; Patches and discussions about the oe-core layer;
> Martin Jansa
> Subject: Re: [OE-core] [PATCH 1/1] Revert "gdb-cross-canadian: build
> gdb with python support"
> 
> Le Thu, 22 Mar 2012 05:57:46 -0700,
> Khem Raj <raj.khem at gmail.com> a écrit :
> 
> > On Thu, Mar 22, 2012 at 5:43 AM, Eric Bénard <eric at eukrea.com> wrote:
> > > you are right :
> > >
> > > $ sudo rm ../../lib/python2.7/lib-dynload/readline.so
> >
> > ok another experiment instead of deleting readline.so make a copy of
> > it and call it
> > readline_d.so in the same dir or whereever gdb looks for debug
> symbols
> > and see if it still works or do you get the segfault again.
> 
> true :
> 
> [ebenard at eb-e6520 lib-dynload]$ sudo mv readline.so readline_d.so
> [ebenard at eb-e6520 lib-dynload]$ 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=x86_64-oesdk-linux
> --target=arm-oe-linux-gnueabi". For bug reporting instructions, please
> see: <http://www.gnu.org/software/gdb/bugs/>.
> (gdb) quit
> 
> Eric

Khem, Eric,

Renaming the sdk python2.7/lib-dynload/readline.so to python2.7/lib-dynload/readline_d.so gets the sdk gdb working for me too.
So is this a workaround or solution to the problem? If it is a workaround what should be right solution?

Thanks,
Nitin






More information about the Openembedded-core mailing list