[AArch64] Fix include order for MTE
authorLuis Machado <luis.machado@linaro.org>
Fri, 9 Apr 2021 14:19:22 +0000 (11:19 -0300)
committerLuis Machado <luis.machado@linaro.org>
Fri, 9 Apr 2021 14:36:55 +0000 (11:36 -0300)
commit1ef6a59696042af18098ac295ae589ddd01b9d1e
tree0c1d96a052dd90db5f52e566a52762ebb0670012
parented29efbd172e04b53d1f9ddab64e6e0cf6dceaf2
[AArch64] Fix include order for MTE

Similarly to commit 665af52ec2a52184d39a76d6e724fa4733dbab3c, fix a build
failure seen with an updated glibc, due to the enum/constant mismatch.

The old include file order eventually makes asm/ptrace.h get included before
sys/ptrace.h.

This patch fixes it. Seems fairly obvious and I'll push it shortly.

gdb/ChangeLog:

2021-04-09  Luis Machado  <luis.machado@linaro.org>

* nat/aarch64-mte-linux-ptrace.c: Update include file order.
gdb/ChangeLog
gdb/nat/aarch64-mte-linux-ptrace.c