aboutsummaryrefslogtreecommitdiff
path: root/libctf
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-30 18:39:17 -0400
committerMike Frysinger <vapier@gentoo.org>2021-07-01 20:36:42 -0400
commit33b477e1c7fc12b21934e5f8fa799c163a554b20 (patch)
tree8feee070b0c577caf6d51018bbd7ec113a7f835e /libctf
parent72ab7b79dcb90f100f33cd750288a54a5c8d7536 (diff)
downloadgdb-33b477e1c7fc12b21934e5f8fa799c163a554b20.zip
gdb-33b477e1c7fc12b21934e5f8fa799c163a554b20.tar.gz
gdb-33b477e1c7fc12b21934e5f8fa799c163a554b20.tar.bz2
sim: m32r: namespace Linux syscall table
The use of __NR_ defines in here conflicts a lot with the standard host syscalls, sometimes leading to build errors (when the numbers happen to be the same we get duplicate case handlers), and other times leading to misbehavior (where the m32r syscall # is not what is actually checked). Namespace these using the standard that we already use: change the __NR_ to TARGET_LINUX_SYS_ with a simple `sed`. Also add a few missing includes so the code at least compiles.
Diffstat (limited to 'libctf')
0 files changed, 0 insertions, 0 deletions