From f6954c0bae36e1590a01f316671ed9c3d28ebd1f Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Mon, 8 Dec 2025 09:30:25 +0100 Subject: [PATCH] [gdb/build] Add gdb subdirs in gdb.pot 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 ... --- gdb/Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gdb/Makefile.in b/gdb/Makefile.in index ed29f1703cd..daed1ec12f9 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -2705,7 +2705,8 @@ $(PACKAGE).pot: po/$(PACKAGE).pot 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)) # -- 2.47.3