Re: [PATCH 0/3] gdbstub: add support for switchable endianness

2021-08-28 Thread Peter Maydell
On Fri, 27 Aug 2021 at 15:49, Changbin Du wrote: > > On Tue, Aug 24, 2021 at 10:11:14AM +0100, Peter Maydell wrote: > > On Tue, 24 Aug 2021 at 00:05, Changbin Du wrote: > > > > > > On Mon, Aug 23, 2021 at 04:30:05PM +0100, Peter Maydell wrote: > > > > changes to be more capable of handling dynami

Re: [PATCH 0/3] gdbstub: add support for switchable endianness

2021-08-27 Thread Changbin Du
On Tue, Aug 24, 2021 at 10:11:14AM +0100, Peter Maydell wrote: > On Tue, 24 Aug 2021 at 00:05, Changbin Du wrote: > > > > On Mon, Aug 23, 2021 at 04:30:05PM +0100, Peter Maydell wrote: > > > changes to be more capable of handling dynamic target changes > > > (this would also help with eg debugging

Re: [PATCH 0/3] gdbstub: add support for switchable endianness

2021-08-24 Thread Peter Maydell
On Tue, 24 Aug 2021 at 00:05, Changbin Du wrote: > > On Mon, Aug 23, 2021 at 04:30:05PM +0100, Peter Maydell wrote: > > changes to be more capable of handling dynamic target changes > > (this would also help with eg debugging across 32<->64 bit switches); > > as I understand it that gdb work would

Re: [PATCH 0/3] gdbstub: add support for switchable endianness

2021-08-23 Thread Changbin Du
On Mon, Aug 23, 2021 at 04:30:05PM +0100, Peter Maydell wrote: > On Mon, 23 Aug 2021 at 16:21, Philippe Mathieu-Daudé > wrote: > > > > On 8/23/21 4:20 PM, Changbin Du wrote: > > > To resolve the issue to debug switchable targets, this serias introduces > > > basic infrastructure for gdbstub and e

Re: [PATCH 0/3] gdbstub: add support for switchable endianness

2021-08-23 Thread Changbin Du
On Mon, Aug 23, 2021 at 05:21:07PM +0200, Philippe Mathieu-Daudé wrote: > On 8/23/21 4:20 PM, Changbin Du wrote: > > To resolve the issue to debug switchable targets, this serias introduces > > basic infrastructure for gdbstub and enable support for ARM and RISC-V > > targets. > > > > For example,

Re: [PATCH 0/3] gdbstub: add support for switchable endianness

2021-08-23 Thread Philippe Mathieu-Daudé
On 8/23/21 5:30 PM, Peter Maydell wrote: > On Mon, 23 Aug 2021 at 16:21, Philippe Mathieu-Daudé > wrote: >> >> On 8/23/21 4:20 PM, Changbin Du wrote: >>> To resolve the issue to debug switchable targets, this serias introduces >>> basic infrastructure for gdbstub and enable support for ARM and RI

Re: [PATCH 0/3] gdbstub: add support for switchable endianness

2021-08-23 Thread Peter Maydell
On Mon, 23 Aug 2021 at 16:21, Philippe Mathieu-Daudé wrote: > > On 8/23/21 4:20 PM, Changbin Du wrote: > > To resolve the issue to debug switchable targets, this serias introduces > > basic infrastructure for gdbstub and enable support for ARM and RISC-V > > targets. > > > > For example, now there

Re: [PATCH 0/3] gdbstub: add support for switchable endianness

2021-08-23 Thread Peter Maydell
On Mon, 23 Aug 2021 at 15:20, Changbin Du wrote: > > To resolve the issue to debug switchable targets, this serias introduces > basic infrastructure for gdbstub and enable support for ARM and RISC-V > targets. As I understand it, fixing this problem requires support from gdb, not merely changes t

Re: [PATCH 0/3] gdbstub: add support for switchable endianness

2021-08-23 Thread Philippe Mathieu-Daudé
On 8/23/21 4:20 PM, Changbin Du wrote: > To resolve the issue to debug switchable targets, this serias introduces > basic infrastructure for gdbstub and enable support for ARM and RISC-V > targets. > > For example, now there is no problem to debug an big-enadian aarch64 target > on x86 host. > >

[PATCH 0/3] gdbstub: add support for switchable endianness

2021-08-23 Thread Changbin Du
To resolve the issue to debug switchable targets, this serias introduces basic infrastructure for gdbstub and enable support for ARM and RISC-V targets. For example, now there is no problem to debug an big-enadian aarch64 target on x86 host. $ qemu-system-aarch64 -gdb tcp::1234,endianness=big .