All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Richard Purdie" <richard.purdie@linuxfoundation.org>
To: Patrick Doyle <wpdster@gmail.com>,
	Yocto discussion list <yocto@yoctoproject.org>
Subject: Re: [yocto] Debugging gdb built by Yocto
Date: Wed, 19 Feb 2020 22:19:31 +0000	[thread overview]
Message-ID: <2c0fedf92f8a5cf805cc9908b438dab40ffd72ec.camel@linuxfoundation.org> (raw)
In-Reply-To: <CAF_dkJAyS20skTujCh_SCQXq+muJjCmn5=mnUG+A8qWitzNzqQ@mail.gmail.com>

On Tue, 2020-02-18 at 11:26 -0500, Patrick Doyle wrote:
> Does anybody have any tips or tricks for how I might debug the
> (cross-canadian) gdb built by Yocto's SDK?
> 
> I need to add some printf's to the gdb code to help track down why
> something isn't working, but none of my traditional
> get-ready-to-debug-this-code techniques are working.
> 
> How can I run the gdb that I just built?  Note that I am presuming
> that I can
> 
> $ bitbake gdb-cross-canadian-mipsel -ccompile -f

Do you perhaps want gdb-cross-mipsel ?

cross-canadian is designed to be run as part of the SDK.

Cheers,

Richard


  parent reply	other threads:[~2020-02-19 22:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-18 16:26 Debugging gdb built by Yocto Patrick Doyle
2020-02-19 22:05 ` [yocto] " Khem Raj
2020-02-19 22:19 ` Richard Purdie [this message]
2020-02-20 13:52   ` Patrick Doyle
2020-02-20 21:18     ` Khem Raj
2020-02-24 14:56       ` Patrick Doyle

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=2c0fedf92f8a5cf805cc9908b438dab40ffd72ec.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=wpdster@gmail.com \
    --cc=yocto@yoctoproject.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.