diff options
author | Tiezhu Yang <yangtiezhu@loongson.cn> | 2024-12-16 15:03:02 +0800 |
---|---|---|
committer | Tiezhu Yang <yangtiezhu@loongson.cn> | 2024-12-17 22:53:17 +0800 |
commit | c740c422eeacaef43475bbe2245470e6828cb9f8 (patch) | |
tree | c58bdd807bc04e799ba49f16fadd4488d25474e4 /gdb/python/python.h | |
parent | 92b97af5ef0301ef983df5b3f52860309f64d9d3 (diff) | |
download | binutils-c740c422eeacaef43475bbe2245470e6828cb9f8.zip binutils-c740c422eeacaef43475bbe2245470e6828cb9f8.tar.gz binutils-c740c422eeacaef43475bbe2245470e6828cb9f8.tar.bz2 |
gdb: syscalls: Handle __NR3264_ prefixed syscall number
In gdb commit a08dc2aa004b ("gdb: syscalls: Add loongarch-linux.xml.in"),
we find:
There exist some __NR3264_ prefixed syscall numbers, replace them
with digital numbers according to /usr/include/asm-generic/unistd.h
and sort them by syscall number manually, maybe we can modify the
script to do it automatically in the future.
It is time to do it now, just handle __NR3264_ prefixed syscall number
automatically in the script update-linux.sh.
By the way, a Linux kernel patch did the similar change [1].
[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d6e1cc6b7220
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Approved-By: Tom de Vries <tdevries@suse.de>
Diffstat (limited to 'gdb/python/python.h')
0 files changed, 0 insertions, 0 deletions