aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-format-string.c
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2025-03-30 16:45:25 +0200
committerTom de Vries <tdevries@suse.de>2025-03-30 16:45:25 +0200
commit6f3dab758fbcb7814ddfe09fb8224a38f45eb35c (patch)
tree30d2bfb9e0079fbdf40862868e9ed8fb5e5796f5 /gdb/testsuite/gdb.python/py-format-string.c
parent79580fac6f582027aa3d51952728e34391c7d6be (diff)
downloadbinutils-6f3dab758fbcb7814ddfe09fb8224a38f45eb35c.zip
binutils-6f3dab758fbcb7814ddfe09fb8224a38f45eb35c.tar.gz
binutils-6f3dab758fbcb7814ddfe09fb8224a38f45eb35c.tar.bz2
[gdb/tdep] Fix mmap syscall mapping
There are a few spots where an mmap system call is mapped onto enum gdb_syscall value gdb_sys_mmap2. Strictly speaking, this is incorrect. Fix this by mapping to enum gdb_syscall value gdb_old_mmap instead. No functional changes: both gdb_old_mmap and gdb_sys_mmap2 are handled the same in record_linux_system_call. Tested by rebuilding on x86_64-linux.
Diffstat (limited to 'gdb/testsuite/gdb.python/py-format-string.c')
0 files changed, 0 insertions, 0 deletions