aboutsummaryrefslogtreecommitdiff
path: root/gdb/arch/arm-get-next-pcs.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2024-04-17 14:11:45 -0600
committerTom Tromey <tromey@adacore.com>2024-12-18 10:00:44 -0700
commit0dad0d7b084cb1ea771da0be579ef6ea0a7725f6 (patch)
tree04871da39a29b14a92d4c0723a23748beeca74fa /gdb/arch/arm-get-next-pcs.h
parent3a41d62678ef8c8947d4c62997f6f54f0c747b56 (diff)
downloadgdb-0dad0d7b084cb1ea771da0be579ef6ea0a7725f6.zip
gdb-0dad0d7b084cb1ea771da0be579ef6ea0a7725f6.tar.gz
gdb-0dad0d7b084cb1ea771da0be579ef6ea0a7725f6.tar.bz2
Add an include-checking script
This adds a new Python script that checks the header guards of all gdb source files. It enforces a fairly strict formatting and naming scheme. In particular, for a file "x/y-z.h" (relative to the repository root), the include guard will be named "X_Y_Z_H". Only the '#ifndef' form is allowed, not "#if !defined(...)". The trailing comment on the "#endif" is also required. The script also tries to update files that appear to have the required lines if they are in the wrong form or use the wrong name. Reviewed-By: Tom de Vries <tdevries@suse.de>
Diffstat (limited to 'gdb/arch/arm-get-next-pcs.h')
0 files changed, 0 insertions, 0 deletions