[yocto] Debugging gdb built by Yocto

2020-02-19 Thread Patrick Doyle
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 g

Re: [yocto] Debugging gdb built by Yocto

2020-02-19 Thread Khem Raj
On 2/18/20 8:26 AM, 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

Re: [yocto] Debugging gdb built by Yocto

2020-02-19 Thread 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-r

Re: [yocto] Debugging gdb built by Yocto

2020-02-20 Thread Patrick Doyle
On Wed, Feb 19, 2020 at 5:19 PM Richard Purdie wrote: > 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? > Do you perhaps want gdb-cross-mipsel ? > > cross-canadian is designed

Re: [yocto] Debugging gdb built by Yocto

2020-02-20 Thread Khem Raj via Lists.Yoctoproject.Org
On Thu, 2020-02-20 at 08:52 -0500, Patrick Doyle wrote: > On Wed, Feb 19, 2020 at 5:19 PM Richard Purdie > wrote: > > 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? > > Do

Re: [yocto] Debugging gdb built by Yocto

2020-02-24 Thread Patrick Doyle
On Thu, Feb 20, 2020 at 4:18 PM Khem Raj wrote: > On Thu, 2020-02-20 at 08:52 -0500, Patrick Doyle wrote: > > I am trying to understand why I can't get stack traces from cores > > file > > on a mipsel system. At the moment (after strategic additions of > > breakpoints, printf statements, and more