Re: Debugging gdb built by Yocto

Richard Purdie

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.



Join to automatically receive all group messages.