This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Checked in: [RFA/Doco] Document new <data-dir>/system-gdbinit area
- From: asmwarrior <asmwarrior at gmail dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: Eli Zaretskii <eliz at gnu dot org>, gdb-patches at sourceware dot org
- Date: Fri, 24 May 2013 09:38:46 +0800
- Subject: Re: Checked in: [RFA/Doco] Document new <data-dir>/system-gdbinit area
- References: <1369128288-3495-1-git-send-email-brobecker at adacore dot com> <83d2skuuai dot fsf at gnu dot org> <20130522062815 dot GZ4017 at adacore dot com> <83obc3t68n dot fsf at gnu dot org> <20130523060831 dot GD4017 at adacore dot com>
On 2013-5-23 14:08, Joel Brobecker wrote:
>>> First attached is a patch which provides the changes made on top
>>> of the first submission, showing the changes I made based on your
>>> feedback. It also includes a NEWS entry.
>>>
>>> And second patch is the actual full patch.
>>>
>>> gdb/doc/ChangeLog:
>>>
>>> * gdb.texinfo (Installed System-wide Configuration Scripts):
>>> Add subsection describing the scripts now available under
>>> the data-dir's system-gdbbinit subdirectory.
>>> * NEWS: Add entry announcing the availability of system-wide
>>> configuration scripts for ElinOS and Wind River Linux.
>>>
>>> OK to commit?
>>
>> Yes, with one gotcha:
>
> Thanks, Eli. Checked in with the small correction you pointed out.
> For the record, attached is the exact patch that got checked in.
>
I see an error when I run the command below (in MSYS)
make install INSTALL_PROGRAM='install -s' -C gdb
make[2]: Entering directory `/f/build_gdb/abuild/gdb'
make[3]: Entering directory `/f/build_gdb/abuild/gdb/doc'
echo "@set GDBVN `sed q ../../../archer/gdb/doc/../version.in`" > ./GDBvn.new
if [ -n "(GDB) " ]; then \
echo "@set VERSION_PACKAGE (GDB) " >> ./GDBvn.new; \
fi
echo "@set BUGURL @uref{http://www.gnu.org/software/gdb/bugs/}" >> ./GDBvn.new
if [ "@uref{http://www.gnu.org/software/gdb/bugs/}" = "@uref{http://www.gnu.org/
software/gdb/bugs/}" ]; then \
echo "@set BUGURL_DEFAULT" >> ./GDBvn.new; \
fi
if test -z "-I ../../../archer/gdb/doc/../../readline/doc"; then \
echo "@set SYSTEM_READLINE" >> ./GDBvn.new; \
fi
if [ -n "" ]; then \
echo "@set SYSTEM_GDBINIT " >> ./GDBvn.new; \
fi
mv GDBvn.new GDBvn.texi
makeinfo --split-size=5000000 -DHAVE_MAKEINFO_CLICK -I ../../../archer/gdb/doc/
../../readline/doc -I ../../../archer/gdb/doc/../mi -I ../../../archer/gdb/doc \
-o gdb.info ../../../archer/gdb/doc/gdb.texinfo
../../../archer/gdb/doc/gdb.texinfo:36367: `Installed System-wide Configuration
Scripts' has no Up field (perhaps incorrect sectioning?).
../../../archer/gdb/doc/gdb.texinfo:36367: warning: unreferenced node `Installed
System-wide Configuration Scripts'.
makeinfo: Removing output file `gdb.info' due to errors; use --force to preserve
.
make[3]: *** [gdb.info] Error 1
make[3]: Leaving directory `/f/build_gdb/abuild/gdb/doc'
make[2]: *** [subdir_do] Error 1
make[2]: Leaving directory `/f/build_gdb/abuild/gdb'
make[1]: *** [install-only] Error 2
make[1]: Leaving directory `/f/build_gdb/abuild/gdb'
make: *** [install] Error 2
make: Leaving directory `/f/build_gdb/abuild/gdb'
Any ideas?
Yuanhui Zhang