Skip to content

Commit 4868f28

Browse files
author
Guinevere Larsen
committed
Revert "gdb: update corner case when canonicalizing riscv syscall names"
This reverts commit b2aba1c. That commit was pushed in error, as I confused which patch was approved in the list
1 parent a965df0 commit 4868f28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gdb/syscalls/riscv-canonicalize-syscall-gen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def _get_canon_syscalls_lines(
111111
canon_syscalls[syscall_num] = value
112112
# this is a place for corner cases
113113
elif syscall_name == "mmap":
114-
gdb_old_syscall_name = "gdb_sys_old_mmap"
114+
gdb_old_syscall_name = "gdb_old_mmap"
115115
value = (
116116
f" case {syscall_num}: return {gdb_old_syscall_name};\n"
117117
)

0 commit comments

Comments
 (0)