[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/3] gdbstub: add support for switchable endianness
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH 0/3] gdbstub: add support for switchable endianness |
Date: |
Mon, 23 Aug 2021 17:21:07 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
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.
>
> $ qemu-system-aarch64 -gdb tcp::1234,endianness=big ...
I don't understand why you need all that.
Maybe you aren't using gdb-multiarch?
You can install it or start it via QEMU Debian Docker image:
$ docker run -it --rm -v /tmp:/tmp -u $UID --network=host \
registry.gitlab.com/qemu-project/qemu/qemu/debian10 \
gdb-multiarch -q \
--ex 'set architecture aarch64' \
--ex 'set endian big'
The target architecture is assumed to be aarch64
The target is assumed to be big endian
(gdb) target remote 172.17.0.1:1234
(gdb)
- [PATCH 0/3] gdbstub: add support for switchable endianness, Changbin Du, 2021/08/23
- [PATCH 1/3] gdbstub: add basic infrastructure to support switchable endianness, Changbin Du, 2021/08/23
- [PATCH 2/3] arm: gdbstub: add support for switchable endianness, Changbin Du, 2021/08/23
- [PATCH 3/3] riscv: gdbstub: add support for switchable endianness, Changbin Du, 2021/08/23
- Re: [PATCH 0/3] gdbstub: add support for switchable endianness,
Philippe Mathieu-Daudé <=
- Re: [PATCH 0/3] gdbstub: add support for switchable endianness, Peter Maydell, 2021/08/23
- Re: [PATCH 0/3] gdbstub: add support for switchable endianness, Philippe Mathieu-Daudé, 2021/08/23
- Re: [PATCH 0/3] gdbstub: add support for switchable endianness, Changbin Du, 2021/08/23
- Re: [PATCH 0/3] gdbstub: add support for switchable endianness, Peter Maydell, 2021/08/24
- Re: [PATCH 0/3] gdbstub: add support for switchable endianness, Changbin Du, 2021/08/27
- Re: [PATCH 0/3] gdbstub: add support for switchable endianness, Peter Maydell, 2021/08/28
Re: [PATCH 0/3] gdbstub: add support for switchable endianness, Changbin Du, 2021/08/23
Re: [PATCH 0/3] gdbstub: add support for switchable endianness, Peter Maydell, 2021/08/23