[Pdbg] [PATCH 00/14] some pdbg improvements

Nicholas Piggin npiggin at gmail.com
Thu Apr 12 19:01:22 AEST 2018


On Thu, 12 Apr 2018 14:06:44 +0930
Joel Stanley <joel at jms.id.au> wrote:

> On 12 April 2018 at 10:32, Joel Stanley <joel at jms.id.au> wrote:
> > Hi Nick,
> >
> > On 9 April 2018 at 17:05, Nicholas Piggin <npiggin at gmail.com> wrote:  
> >> Here's a few things I've been carrying around, should push them
> >> upstream. Mostly they're independent so most can be picked up
> >> out of order.
> >>
> >> I've only been testing this with host scoms so far, so that's a
> >> bit of a gap, but it works reasonably well here. I haven't got a BMC
> >> build environment going yet.  
> >
> > I sent a patch that adds some detailed instructions for cross
> > compiling. If you're on a recent distro you should be able to use the
> > included cross compiler, at least for OpenBMC BMCs.  
> 
> On that note, you patches break building with ARM:
> 
> libpdbg/chip.c:344:19: error: format ‘%lx’ expects argument of type
> ‘long unsigned int’, but argument 2 has type ‘uint64_t {aka long long
> unsigned int}’ [-Werror=format=]
>    printf(" 0x%016lx", value);
>               ~~~~~^
>               %016llx

Thanks, yeah I'll check out your cross compiling stuff.

Thanks,
Nick


More information about the Pdbg mailing list