Re: [PATCH] libdebugger: Fix ARMv7-M with -O0

2020-10-20 Thread Sebastian Huber
On 21/10/2020 02:06, Chris Johns wrote: On 21/10/20 2:50 am, Sebastian Huber wrote: On 02/04/2020 09:09, Sebastian Huber wrote: On 02/04/2020 08:46, Chris Johns wrote: On 2020-04-02 16:53, Sebastian Huber wrote: Hallo Chris, On 21/03/2020 07:45, Sebastian Huber wrote: On 20/03/2020 22:23,

Re: [PATCH] libdebugger: Fix ARMv7-M with -O0

2020-10-20 Thread Chris Johns
On 21/10/20 2:50 am, Sebastian Huber wrote: > On 02/04/2020 09:09, Sebastian Huber wrote: > >> On 02/04/2020 08:46, Chris Johns wrote: >> >>> On 2020-04-02 16:53, Sebastian Huber wrote: Hallo Chris, On 21/03/2020 07:45, Sebastian Huber wrote: > On 20/03/2020 22:23, Chris Johns wrote:

Re: [PATCH] libdebugger: Fix ARMv7-M with -O0

2020-10-20 Thread Sebastian Huber
On 20/10/2020 18:00, Joel Sherrill wrote: How about -Og instead? Enable all optimizations which do not negatively impact debugging? I don't know if it works with -Og. The last time I uses -Og it didn't work well. When I want to debug something I don't care about performance. _

Re: [PATCH] libdebugger: Fix ARMv7-M with -O0

2020-10-20 Thread Joel Sherrill
On Tue, Oct 20, 2020 at 10:50 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 02/04/2020 09:09, Sebastian Huber wrote: > > > On 02/04/2020 08:46, Chris Johns wrote: > > > >> On 2020-04-02 16:53, Sebastian Huber wrote: > >>> Hallo Chris, > >>> On 21/03/2020 07:45, Sebastian Hub

Re: [PATCH] libdebugger: Fix ARMv7-M with -O0

2020-10-20 Thread Sebastian Huber
On 02/04/2020 09:09, Sebastian Huber wrote: On 02/04/2020 08:46, Chris Johns wrote: On 2020-04-02 16:53, Sebastian Huber wrote: Hallo Chris, On 21/03/2020 07:45, Sebastian Huber wrote: On 20/03/2020 22:23, Chris Johns wrote: On 20 Mar 2020, at 4:49 pm, Sebastian Huber wrote: On 20/03/202

Re: [PATCH] libdebugger: Fix ARMv7-M with -O0

2020-04-02 Thread Sebastian Huber
On 02/04/2020 08:46, Chris Johns wrote: On 2020-04-02 16:53, Sebastian Huber wrote: Hallo Chris, On 21/03/2020 07:45, Sebastian Huber wrote: On 20/03/2020 22:23, Chris Johns wrote: On 20 Mar 2020, at 4:49 pm, Sebastian Huber wrote: On 20/03/2020 05:15, Chris Johns wrote: On 19/3/20 7:52

Re: [PATCH] libdebugger: Fix ARMv7-M with -O0

2020-04-01 Thread Chris Johns
On 2020-04-02 16:53, Sebastian Huber wrote: Hallo Chris, On 21/03/2020 07:45, Sebastian Huber wrote: On 20/03/2020 22:23, Chris Johns wrote: On 20 Mar 2020, at 4:49 pm, Sebastian Huber wrote: On 20/03/2020 05:15, Chris Johns wrote: On 19/3/20 7:52 pm, Sebastian Huber wrote: The ARMv7-M ar

Re: [PATCH] libdebugger: Fix ARMv7-M with -O0

2020-04-01 Thread Sebastian Huber
Hallo Chris, On 21/03/2020 07:45, Sebastian Huber wrote: On 20/03/2020 22:23, Chris Johns wrote: On 20 Mar 2020, at 4:49 pm, Sebastian Huber wrote: On 20/03/2020 05:15, Chris Johns wrote: On 19/3/20 7:52 pm, Sebastian Huber wrote: The ARMv7-M architecture has no CP-15. The inline ass

Re: [PATCH] libdebugger: Fix ARMv7-M with -O0

2020-03-20 Thread Sebastian Huber
On 20/03/2020 22:23, Chris Johns wrote: On 20 Mar 2020, at 4:49 pm, Sebastian Huber wrote: On 20/03/2020 05:15, Chris Johns wrote: On 19/3/20 7:52 pm, Sebastian Huber wrote: The ARMv7-M architecture has no CP-15. The inline assembly for the CP-15 access leads to assembler errors if comp

Re: [PATCH] libdebugger: Fix ARMv7-M with -O0

2020-03-20 Thread Chris Johns
> On 20 Mar 2020, at 4:49 pm, Sebastian Huber > wrote: >> On 20/03/2020 05:15, Chris Johns wrote: >>> On 19/3/20 7:52 pm, Sebastian Huber wrote: >>> The ARMv7-M architecture has no CP-15. The inline assembly for the >>> CP-15 access leads to assembler errors if compiled with -O0. >> I would lik

Re: [PATCH] libdebugger: Fix ARMv7-M with -O0

2020-03-19 Thread Sebastian Huber
On 20/03/2020 05:15, Chris Johns wrote: On 19/3/20 7:52 pm, Sebastian Huber wrote: The ARMv7-M architecture has no CP-15. The inline assembly for the CP-15 access leads to assembler errors if compiled with -O0. I would like to understand this one in detail to see why there is cp15 in the bui

Re: [PATCH] libdebugger: Fix ARMv7-M with -O0

2020-03-19 Thread Chris Johns
On 19/3/20 7:52 pm, Sebastian Huber wrote: > The ARMv7-M architecture has no CP-15. The inline assembly for the > CP-15 access leads to assembler errors if compiled with -O0. I would like to understand this one in detail to see why there is cp15 in the build. > --- > cpukit/libdebugger/rtems-d

[PATCH] libdebugger: Fix ARMv7-M with -O0

2020-03-19 Thread Sebastian Huber
The ARMv7-M architecture has no CP-15. The inline assembly for the CP-15 access leads to assembler errors if compiled with -O0. --- cpukit/libdebugger/rtems-debugger-arm.c | 24 +--- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/cpukit/libdebugger/rtems-debug