Re: [PATCH v1 1/3] cpukit: Add signal mapping support

2021-04-26 Thread Gedare Bloom
On Fri, Apr 23, 2021 at 8:28 AM Kinsey Moore wrote: > > On 4/20/2021 01:44, Chris Johns wrote: > > On 20/4/21 4:38 pm, Sebastian Huber wrote: > >> On 20/04/2021 08:30, Chris Johns wrote: > >>> On 20/4/21 3:54 pm, Sebastian Huber wrote: > On 20/04/2021 07:30, Chris Johns wrote: > > >

Re: [PATCH v1 1/3] cpukit: Add signal mapping support

2021-04-23 Thread Kinsey Moore
On 4/20/2021 01:44, Chris Johns wrote: On 20/4/21 4:38 pm, Sebastian Huber wrote: On 20/04/2021 08:30, Chris Johns wrote: On 20/4/21 3:54 pm, Sebastian Huber wrote: On 20/04/2021 07:30, Chris Johns wrote: We need a way for libdebugger or any other piece of software to capture and cascade the

Re: [PATCH v1 1/3] cpukit: Add signal mapping support

2021-04-19 Thread Chris Johns
On 20/4/21 4:38 pm, Sebastian Huber wrote: > > On 20/04/2021 08:30, Chris Johns wrote: >> On 20/4/21 3:54 pm, Sebastian Huber wrote: >>> On 20/04/2021 07:30, Chris Johns wrote: >>> We need a way for libdebugger or any other piece of software to capture and cascade the call. If this can b

Re: [PATCH v1 1/3] cpukit: Add signal mapping support

2021-04-19 Thread Sebastian Huber
On 20/04/2021 08:30, Chris Johns wrote: On 20/4/21 3:54 pm, Sebastian Huber wrote: On 20/04/2021 07:30, Chris Johns wrote: We need a way for libdebugger or any other piece of software to capture and cascade the call. If this can be done on aarch64 then I am happy. The fatal error extensions

Re: [PATCH v1 1/3] cpukit: Add signal mapping support

2021-04-19 Thread Chris Johns
On 20/4/21 3:54 pm, Sebastian Huber wrote: > On 20/04/2021 07:30, Chris Johns wrote: > >> We need a way for libdebugger or any other piece of software to capture and >> cascade the call. If this can be done on aarch64 then I am happy. > > The fatal error extensions execute in a user controllable

Re: [PATCH v1 1/3] cpukit: Add signal mapping support

2021-04-19 Thread Sebastian Huber
On 20/04/2021 07:30, Chris Johns wrote: We need a way for libdebugger or any other piece of software to capture and cascade the call. If this can be done on aarch64 then I am happy. The fatal error extensions execute in a user controllable order. You can for example register a libdebugger han

Re: [PATCH v1 1/3] cpukit: Add signal mapping support

2021-04-19 Thread Chris Johns
On 20/4/21 5:02 am, Kinsey Moore wrote: > On 4/18/2021 20:18, Chris Johns wrote: >> On 19/4/21 9:23 am, Joel Sherrill wrote: >>> >>> On Sun, Apr 18, 2021, 5:13 PM Chris Johns >> > wrote: >>> >>> On 17/4/21 10:00 am, Kinsey Moore wrote: >>> > On 4/16/2021 08:48, Ge

Re: [PATCH v1 1/3] cpukit: Add signal mapping support

2021-04-19 Thread Kinsey Moore
On 4/18/2021 20:18, Chris Johns wrote: On 19/4/21 9:23 am, Joel Sherrill wrote: On Sun, Apr 18, 2021, 5:13 PM Chris Johns mailto:chr...@rtems.org>> wrote: On 17/4/21 10:00 am, Kinsey Moore wrote: > On 4/16/2021 08:48, Gedare Bloom wrote: >> On Fri, Apr 16, 2021 at 1:19 AM Sebast

Re: [PATCH v1 1/3] cpukit: Add signal mapping support

2021-04-18 Thread Chris Johns
On 19/4/21 9:23 am, Joel Sherrill wrote: > > > On Sun, Apr 18, 2021, 5:13 PM Chris Johns > wrote: > > On 17/4/21 10:00 am, Kinsey Moore wrote: > > On 4/16/2021 08:48, Gedare Bloom wrote: > >> On Fri, Apr 16, 2021 at 1:19 AM Sebastian Huber > >>

Re: [PATCH v1 1/3] cpukit: Add signal mapping support

2021-04-18 Thread Joel Sherrill
On Sun, Apr 18, 2021, 5:13 PM Chris Johns wrote: > On 17/4/21 10:00 am, Kinsey Moore wrote: > > On 4/16/2021 08:48, Gedare Bloom wrote: > >> On Fri, Apr 16, 2021 at 1:19 AM Sebastian Huber > >> wrote: > >>> Hello Kinsey, > >>> > >>> why don't you use a fatal error extension for this? You can sav

Re: [PATCH v1 1/3] cpukit: Add signal mapping support

2021-04-18 Thread Chris Johns
On 17/4/21 10:00 am, Kinsey Moore wrote: > On 4/16/2021 08:48, Gedare Bloom wrote: >> On Fri, Apr 16, 2021 at 1:19 AM Sebastian Huber >> wrote: >>> Hello Kinsey, >>> >>> why don't you use a fatal error extension for this? You can save all the >>> processor state to a structure and use it to jump t

Re: [PATCH v1 1/3] cpukit: Add signal mapping support

2021-04-16 Thread Kinsey Moore
On 4/16/2021 08:48, Gedare Bloom wrote: On Fri, Apr 16, 2021 at 1:19 AM Sebastian Huber wrote: Hello Kinsey, why don't you use a fatal error extension for this? You can save all the processor state to a structure and use it to jump to previous or next instruction it if needed in a custom fatal

Re: [PATCH v1 1/3] cpukit: Add signal mapping support

2021-04-16 Thread Gedare Bloom
On Fri, Apr 16, 2021 at 1:19 AM Sebastian Huber wrote: > > Hello Kinsey, > > why don't you use a fatal error extension for this? You can save all the > processor state to a structure and use it to jump to previous or next > instruction it if needed in a custom fatal error handler which deals > wit

Re: [PATCH v1 1/3] cpukit: Add signal mapping support

2021-04-16 Thread Sebastian Huber
Hello Kinsey, why don't you use a fatal error extension for this? You can save all the processor state to a structure and use it to jump to previous or next instruction it if needed in a custom fatal error handler which deals with RTEMS_FATAL_EXCEPTION. I think libdebugger uses this approach.