Skip to content
Commit 53ff349e authored by Tiezhu Yang's avatar Tiezhu Yang
Browse files

gdb: LoongArch: Set the correct XML syscall filename



Now, there exists syscalls/loongarch-linux.xml, let us set the correct
XML syscall filename for LoongArch, otherwise GDB won't be able to find
the correct XML file to open and get the syscalls definitions.

It should install the package expat-devel (a library for XML parsing)
and configure --with-expat (done by default if libexpat is installed
and found at configure time) for compiling gdb in this case.

Without this patch:

(gdb) catch syscall
warning: There is no XML file to open.
warning: GDB will not be able to display syscall names nor to verify if
any provided syscall numbers are valid.
Catchpoint 1 (any syscall)

Signed-off-by: default avatarTiezhu Yang <yangtiezhu@loongson.cn>
Approved-By: default avatarJohn Baldwin <jhb@FreeBSD.org>
parent b369b90c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment