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

Joel Stanley joel at jms.id.au
Thu Apr 12 14:36:44 AEST 2018


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

Cheers,

Joel


More information about the Pdbg mailing list