On Thu, Jul 7, 2011 at 1:13 PM, Bernard Mentink <bernard_ment...@trimble.com> wrote: > Hi Charles, > > Didn't know you were lurking on this list ... ;-)
You can run but you can't hide. > > I have built for the angstom distro (arm-angstrom-linux-gnueabi-*), but the > tools got put in my project path I described in my earlier email, but > There was no GDB included for some reason .. The regular toolchian than oe builds for its own purposes does not use gdb because gdb is not needed for building. That toolchain is intended for use within OE bitbakery only. A meta-toolchain is built as a standalone toolchain intended for use outside of OE (eg. if you pull u-boot to a standalone directory for development purposes or want to do your own app development outside of OE.) > > How do you build the meta-toolchain, and how will that help. bitbake meta-toolchain. This makes a toolchain which you can unpack thus: $ cd / $ sudo tar xvjf ${OETOP}/tmp/deploy/glibc/sdk/angstrom-2009.X-test-20110301-armv7a-linux-gnueabi-toolchain.tar.bz2 [NB your toolchain name will be something different] To set up all the paths etc use . /usr/local/angstrom/arm/environment-setup Google openembedded metatoolchain will also give some interesting info. NB If you're building apps and need extra libraries you will need to make your own SDK. That's a bit more effort and you don't need all that just for gdbing u-boot -- Charles > > Cheers, > Bernie > > > ------------------------------------------------------------------------------------------ > I want to die peacefully in my sleep, like my grandfather, not screaming and > yelling like the passengers in his car. > > -----Original Message----- > From: openembedded-devel-boun...@lists.openembedded.org > [mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf Of > Charles Manning > Sent: Thursday, 7 July 2011 12:38 p.m. > To: openembedded-devel@lists.openembedded.org > Subject: Re: [oe] Debugging u-boot > > Bernie > > What toolchain are you building? > > If you build meta-toolchain that should build all the stuff you can put into > /usr/local/angstrom/arm/... which includes gdb. > > That should then work with a JTAG debugger etc. > > -- Charles > > > On Thu, Jul 7, 2011 at 11:25 AM, Bernard Mentink > <bernard_ment...@trimble.com> wrote: >> Hi All, >> >> Can some one please tell me how to debug u-boot on my target. I have >> built u-boot for similar hardware and I want to debug with gdb, but >> cannot even find the cross-compile version of gdb, It does not exist >> in the directory "build/tmp/sysroots/i686-linux/usr/armv6/bin/" where >> the other cross-compile tools live .. >> >> I want to execute "${CROSS_COMPILE}gdb u-boot" >> .. and breakpoint at some very early symbol ..... Some steps to >> achieving this would be much appreciated .. >> >> Many Thanks, >> Bernie >> >> >> >> >> _______________________________________________ >> Openembedded-devel mailing list >> Openembedded-devel@lists.openembedded.org >> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel >> > > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel > > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel > _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel