[U-Boot] [U-Boot,v5,5/6] cmd: iotrace: add dump trace command
Tom Rini
trini at konsulko.com
Thu Jun 21 15:20:53 UTC 2018
On Thu, Jun 21, 2018 at 05:11:27PM +0200, Alexander Graf wrote:
> On 06/19/2018 08:41 PM, Tom Rini wrote:
> >On Fri, Jun 08, 2018 at 08:53:26PM +0300, Ramon Fried wrote:
> >
> >>Add dump trace command which dump all trace
> >>buffer content in a much more readable fashion
> >>than md.
> >>
> >>Signed-off-by: Ramon Fried <ramon.fried at gmail.com>
> >>Reviewed-by: Simon Glass <sjg at chromium.org>
> >Applied to u-boot/master, thanks!
>
> This fails to compile for me:
>
> cmd/iotrace.c: In function ‘do_print_trace’:
> cmd/iotrace.c:42:2: error: ‘for’ loop initial declarations are only allowed
> in C99 mode
> for (int i = 0; i < count; i++) {
> ^
> cmd/iotrace.c:42:2: note: use option -std=c99 or -std=gnu99 to compile your
> code
> scripts/Makefile.build:278: recipe for target 'cmd/iotrace.o' failed
Yes. I didn't notice this part in time, and I've posted a patch to
start using -std=gnu11 globally as that makes more sense to me than
reworking this (and a few other ARM-specific areas) that make use of
this construct.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180621/9b575672/attachment.sig>
More information about the U-Boot
mailing list