Re: [PATCH v3 1/3] rtems-debugger: Fixed 32bit pointers

2021-03-22 Thread Joel Sherrill
On Mon, Mar 22, 2021, 3:54 PM Chris Johns wrote: > On 23/3/21 4:58 am, Joel Sherrill wrote: > > On Mon, Mar 22, 2021 at 12:54 PM Joel Sherrill > > wrote: > > > > I posted to the gdb mailing list and this is the response: > > > > "If the inferior is using 64-bit add

Re: [PATCH v3 1/3] rtems-debugger: Fixed 32bit pointers

2021-03-22 Thread Chris Johns
On 23/3/21 4:58 am, Joel Sherrill wrote: > On Mon, Mar 22, 2021 at 12:54 PM Joel Sherrill > wrote: > > I posted to the gdb mailing list and this is the response: > > "If the inferior is using 64-bit addresses, then the remote protocol will > also use 64-bit add

Re: [PATCH v3 1/3] rtems-debugger: Fixed 32bit pointers

2021-03-22 Thread Joel Sherrill
On Mon, Mar 22, 2021 at 12:54 PM Joel Sherrill wrote: > I posted to the gdb mailing list and this is the response: > > "If the inferior is using 64-bit addresses, then the remote protocol will > also use 64-bit addresses. If we have a 32-bit inferior running on > aarch64 hardware, we'll have 32-b

Re: [PATCH v3 1/3] rtems-debugger: Fixed 32bit pointers

2021-03-22 Thread Joel Sherrill
I posted to the gdb mailing list and this is the response: "If the inferior is using 64-bit addresses, then the remote protocol will also use 64-bit addresses. If we have a 32-bit inferior running on aarch64 hardware, we'll have 32-bit addresses over the remote protocol as well. Even when we're u

Re: [PATCH v3 1/3] rtems-debugger: Fixed 32bit pointers

2021-03-22 Thread Gedare Bloom
On Mon, Mar 22, 2021 at 10:44 AM Gedare Bloom wrote: > > On Sun, Mar 21, 2021 at 6:46 PM Chris Johns wrote: > > > > > > > > On 21/3/21 2:26 am, Joel Sherrill wrote: > > > > > > > > > On Sat, Mar 20, 2021, 1:21 AM Gedare Bloom > > > wrote: > > > > > > Hi Stephen, Joel

Re: [PATCH v3 1/3] rtems-debugger: Fixed 32bit pointers

2021-03-22 Thread Gedare Bloom
On Sun, Mar 21, 2021 at 6:46 PM Chris Johns wrote: > > > > On 21/3/21 2:26 am, Joel Sherrill wrote: > > > > > > On Sat, Mar 20, 2021, 1:21 AM Gedare Bloom > > wrote: > > > > Hi Stephen, Joel: > > > > On Fri, Mar 19, 2021 at 9:35 AM Stephen Clark >

Re: [PATCH v3 1/3] rtems-debugger: Fixed 32bit pointers

2021-03-21 Thread Chris Johns
On 21/3/21 2:26 am, Joel Sherrill wrote: > > > On Sat, Mar 20, 2021, 1:21 AM Gedare Bloom > wrote: > > Hi Stephen, Joel: > > On Fri, Mar 19, 2021 at 9:35 AM Stephen Clark > wrote: > > > > Using 32bit types like u

Re: [PATCH v3 1/3] rtems-debugger: Fixed 32bit pointers

2021-03-20 Thread Joel Sherrill
On Sat, Mar 20, 2021, 1:21 AM Gedare Bloom wrote: > Hi Stephen, Joel: > > On Fri, Mar 19, 2021 at 9:35 AM Stephen Clark > wrote: > > > > Using 32bit types like uint32_t for pointers creates issues on 64 bit > > architectures like AArch64. Replaced occurrences of these with uintptr_t, > > which w

Re: [PATCH v3 1/3] rtems-debugger: Fixed 32bit pointers

2021-03-19 Thread Gedare Bloom
Hi Stephen, Joel: On Fri, Mar 19, 2021 at 9:35 AM Stephen Clark wrote: > > Using 32bit types like uint32_t for pointers creates issues on 64 bit > architectures like AArch64. Replaced occurrences of these with uintptr_t, > which will work for both 32 and 64 bit architectures. > --- > cpukit/libd

[PATCH v3 1/3] rtems-debugger: Fixed 32bit pointers

2021-03-19 Thread Stephen Clark
Using 32bit types like uint32_t for pointers creates issues on 64 bit architectures like AArch64. Replaced occurrences of these with uintptr_t, which will work for both 32 and 64 bit architectures. --- cpukit/libdebugger/rtems-debugger-server.c | 4 ++-- cpukit/libdebugger/rtems-debugger-target.c