[PATCH] libdebugger: Work around assert when using _Thread_Executing.

2017-04-14 Thread Chris Johns
Using _Thread_Executing with RTEMS_DEBUG results in an `assert` if the server accesses invalid memory. Updates #2993. --- cpukit/libdebugger/rtems-debugger-arm.c| 3 ++- cpukit/libdebugger/rtems-debugger-target.c | 9 - 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/c

Re: [PATCH v2 6/6] posix/mmap: add mmap hooks for MAP_SHARED shms

2017-04-14 Thread Gedare Bloom
I forgot to add the mmap function calls in the operations table. There is also a null pointer dereference that I have to track down. On Thu, Apr 13, 2017 at 4:22 PM, Gedare Bloom wrote: > Updates #2859. > --- > cpukit/posix/include/rtems/posix/mmanimpl.h | 2 +- > cpukit/posix/include/rtems/po

Re: [PATCH 27/30] leon, gptimer: fixed probing separate interrupts

2017-04-14 Thread Gedare Bloom
On Thu, Apr 13, 2017 at 11:19 PM, Chris Johns wrote: > On 14/4/17 5:31 am, Daniel Hellstrom wrote: >> From: Martin Aberg >> >> Probing of separate interrupts was done by storing the GPTIMER_CFG_SI bit. >> But >> it was never actually stored since it is bit 8 and the datatype is 8-bit. Now >> sto

Re: [PATCH 27/30] leon, gptimer: fixed probing separate interrupts

2017-04-14 Thread Joel Sherrill
On Apr 14, 2017 3:48 AM, "Gedare Bloom" wrote: On Thu, Apr 13, 2017 at 11:19 PM, Chris Johns wrote: > On 14/4/17 5:31 am, Daniel Hellstrom wrote: >> From: Martin Aberg >> >> Probing of separate interrupts was done by storing the GPTIMER_CFG_SI bit. But >> it was never actually stored since it i

Re: [PATCH 27/30] leon, gptimer: fixed probing separate interrupts

2017-04-14 Thread Chris Johns
On 14/4/17 6:48 pm, Gedare Bloom wrote: > On Thu, Apr 13, 2017 at 11:19 PM, Chris Johns wrote: >> On 14/4/17 5:31 am, Daniel Hellstrom wrote: >>> From: Martin Aberg >>> >>> Probing of separate interrupts was done by storing the GPTIMER_CFG_SI bit. >>> But >>> it was never actually stored since i

Re: [PATCH 27/30] leon, gptimer: fixed probing separate interrupts

2017-04-14 Thread Gedare Bloom
On Fri, Apr 14, 2017 at 6:05 PM, Chris Johns wrote: > On 14/4/17 6:48 pm, Gedare Bloom wrote: >> On Thu, Apr 13, 2017 at 11:19 PM, Chris Johns wrote: >>> On 14/4/17 5:31 am, Daniel Hellstrom wrote: From: Martin Aberg Probing of separate interrupts was done by storing the GPTIMER_C