]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gdb/build] Re-add *.[ch] in gdb.pot
authorTom de Vries <tdevries@suse.de>
Mon, 8 Dec 2025 08:30:25 +0000 (09:30 +0100)
committerTom de Vries <tdevries@suse.de>
Mon, 8 Dec 2025 08:30:25 +0000 (09:30 +0100)
commitba052e67626a834249e797376bb50e7c77e3defc
tree7de58960ba415a0f27a3ffc0839a869c4d7350b7
parentc6ba94c86b14aee38b8dc7d0075da1607843b545
[gdb/build] Re-add *.[ch] in gdb.pot

In commit 4a40fe05bf0 ("[gdb/build] Handle gdbsupport and gdbserver in
gdb.pot"), in order to handle '*.cc' files I did:
...
-   -name '*.[hc]' -print
+   -name '*.[hc]' -o -name '*.cc' -print
...
but failed to understand that this no longer printed the '*.[hc]' names.

Fix this by adding a '-print' for '*.[hc]'.

Tested by doing:
...
$ cd build/gdb
$ make po/gdb.pot
 ...
$ grep -c symtab.c po/gdb.pot
102
...
gdb/po/gdbtext