[v2,4/5] Fix syscalls-info -> syscalls_info in syscalls/gdb-syscalls.dtd

Message ID 20260826212209.925066-5-tdevries@suse.de
State New
Headers
Series xml linting |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 fail Patch failed to apply
linaro-tcwg-bot/tcwg_gdb_build--master-arm fail Patch failed to apply

Commit Message

Tom de Vries Aug. 26, 2026, 9:22 p.m. UTC
  When running xmllint with --valid, we get:
...
gdb/syscalls/ppc64-linux.xml:433: element syscalls_info: validity error : \
  No declaration for element syscalls_info
</syscalls_info>
                ^
...

Fix this by changing syscalls-info to syscalls_info in syscalls/gdb-syscalls.dtd.
---
 gdb/syscalls/gdb-syscalls.dtd | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Patch

diff --git a/gdb/syscalls/gdb-syscalls.dtd b/gdb/syscalls/gdb-syscalls.dtd
index 09dff02910f..35a676fa585 100644
--- a/gdb/syscalls/gdb-syscalls.dtd
+++ b/gdb/syscalls/gdb-syscalls.dtd
@@ -4,9 +4,9 @@ 
      are permitted in any medium without royalty provided the copyright
      notice and this notice are preserved.  -->
 
-<!-- The root element of a syscall info is <syscalls-info>.  -->
+<!-- The root element of a syscall info is <syscalls_info>.  -->
 
-<!ELEMENT syscalls-info		(syscall*)>
+<!ELEMENT syscalls_info		(syscall*)>
 
 <!ELEMENT syscall		EMPTY>
 <!ATTLIST syscall