[PATCH v5] cpukit/aarch64: Add ESR register decoding

2021-03-23 Thread Alex White
--- .../aarch64/aarch64-exception-frame-print.c | 133 -- 1 file changed, 123 insertions(+), 10 deletions(-) diff --git a/cpukit/score/cpu/aarch64/aarch64-exception-frame-print.c b/cpukit/score/cpu/aarch64/aarch64-exception-frame-print.c index 59b5d06032..a8c492b1da 100644 ---

Re: [PATCH v5] cpukit/aarch64: Add ESR register decoding

2021-03-23 Thread Gedare Bloom
On Tue, Mar 23, 2021 at 10:31 AM Alex White wrote: > > --- > .../aarch64/aarch64-exception-frame-print.c | 133 -- > 1 file changed, 123 insertions(+), 10 deletions(-) > > diff --git a/cpukit/score/cpu/aarch64/aarch64-exception-frame-print.c > b/cpukit/score/cpu/aarch64/aarch64

RE: [PATCH v5] cpukit/aarch64: Add ESR register decoding

2021-03-23 Thread Alex White
On Tue, Mar 23, 2021 at 11:46 AM Gedare Bloom wrote: > > On Tue, Mar 23, 2021 at 10:31 AM Alex White wrote: > > > > --- > >  .../aarch64/aarch64-exception-frame-print.c   | 133 -- > >  1 file changed, 123 insertions(+), 10 deletions(-) > > > > diff --git a/cpukit/score/cpu/aarch64

Re: [PATCH v5] cpukit/aarch64: Add ESR register decoding

2021-03-23 Thread Joel Sherrill
On Tue, Mar 23, 2021, 12:26 PM Alex White wrote: > On Tue, Mar 23, 2021 at 11:46 AM Gedare Bloom wrote: > > > > On Tue, Mar 23, 2021 at 10:31 AM Alex White > wrote: > > > > > > --- > > > .../aarch64/aarch64-exception-frame-print.c | 133 -- > > > 1 file changed, 123 insertion

Re: [PATCH v5] cpukit/aarch64: Add ESR register decoding

2021-03-23 Thread Sebastian Huber
On 23/03/2021 18:42, Joel Sherrill wrote: > > +  mask = 1 << (num_bits - 1); > > + > > +  while ( mask != 0 ) { > > +    _IO_Printf( _CPU_Put_char, &sctx, "%d", (value & mask ? 1 : 0) ); > > +    mask >>= 1; > > +  } The _IO_Vprintf() is a port from the FreeBSD kvprintf(). I removed the suppo