I found that gettext strings from gdb/cli are not added to gdb.pot.
Fix this by explicitly listing the gdb subdirs in the po/$(PACKAGE).pot rule
in gdb/Makefile.in.
Tested by doing:
...
$ cd build/gdb
$ make po/gdb.pot
...
$ grep -c cli/ po/gdb.pot
345
...
po/$(PACKAGE).pot: force
-test -d po || mkdir po
sh -e $(srcdir)/po/gdbtext $(XGETTEXT) $(PACKAGE) . $(srcdir) \
- $(srcdir)/../gdbsupport $(srcdir)/../gdbserver
+ $(srcdir)/../gdbsupport $(srcdir)/../gdbserver \
+ $(addprefix $(srcdir)/,$(CONFIG_SRC_SUBDIR))
#