On 2023/07/27 21:28, Ming Wang wrote:
> This patch are for Crash-utility tool, it make crash tool support on
> loongarch64 architecture and the common commands(bt, p, rd, mod, log, set,
> dis, and so on).
>
> The upstream GDB code supports the loongarch64 architecture from version 13.1.
> See: https://sourceware.org/gdb/download/ANNOUNCEMENT
> But Crash-utility depends on gdb-10.2, gdb-10.2 do NOT supported loongarch64.
> So we need a patch(gdb-10.2-loongarch.patch) to support it. I don't have a better
> way to deal with this problem at the moment.
I have not seen the patch yet, but personally I don't have a plan to
rebase the embedded gdb for now and a rebase work is so hard, so if a
gdb patch works well for LoongArch, probably I will be able to accept it.
Lianbo, do you have any plan to rebase the embedded gdb?
Sorry for the late reply, Kazu and Ming Wang.
For the time being, I don't have any plans to rebase the latest gdb for the crash-utility.
And having a gdb patch for the LoongArch64 should be good. I will put the patch in my queue.
Thanks.
Lianbo
Usually we don't maintain two crash versions, so if we rebase it now,
RHEL9 crash will need a lot of backport efforts or major version
rebasing. I think maybe it's too early.
Thanks,
Kazu