This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Fix guile.texi.
- From: Tejas Belagod <tbelagod at arm dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 11 Feb 2014 19:33:58 +0000
- Subject: Fix guile.texi.
- Authentication-results: sourceware.org; auth=none
Hi,
Attached is a patch that breaks the gdb.pdf build because of unbalanced
parantheses in guile.texi introduced by this commit:
commit ed3ef33944c39d9a3cea72b9a7cef3c20f0e3461
Author: Doug Evans <xdje42@gmail.com>
Date: Sun Feb 9 19:40:01 2014 -0800
Add Guile as an extension language.
* NEWS: Mention Guile scripting.
* Makefile.in (SUBDIR_GUILE_OBS): New variable.
(SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
(SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
(INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
(CLIBS): Add GUILE_LIBS.
....
Here is patch that fixes that. With this patch, I could successfully build
gdb.pdf without any issues.
If this is OK, please could someone apply this for me?
Thanks,
Tejas.
2014-02-11 Tejas Belagod <tejas.belagod@arm.com>
gdb/
* docs/guile.texi: Remove stray parantheses for deffn at lines 889 and
2857.
diff --git a/gdb/doc/guile.texi b/gdb/doc/guile.texi
index efabea8..924f97a 100644
--- a/gdb/doc/guile.texi
+++ b/gdb/doc/guile.texi
@@ -886,7 +886,7 @@ The length must be a Scheme integer and not a @code{<gdb:value>} integer.
@end deffn
@c TODO: line length
-@deffn {Scheme Procedure} value->lazy-string value @r{[}#:encoding encoding@r{]} @r{[}#:length length@r{]})
+@deffn {Scheme Procedure} value->lazy-string value @r{[}#:encoding encoding@r{]} @r{[}#:length length@r{]}
If this @code{<gdb:value>} represents a string, then this method
converts @var{value} to a @code{<gdb:lazy-string} (@pxref{Lazy Strings
In Guile}). Otherwise, this method will throw an exception.
@@ -2854,7 +2854,7 @@ Furthermore, the disassembler can take a Guile port as input,
allowing one to disassemble from any source, and not just target memory.
@c TODO: line length
-@deffn {Scheme Procedure} arch-disassemble arch start-pc @r{[}#:port port@r{]} @r{[}#:offset offset@r{]} @r{[}#:size size@r{]} @r{[}#:count count@r{]})
+@deffn {Scheme Procedure} arch-disassemble arch start-pc @r{[}#:port port@r{]} @r{[}#:offset offset@r{]} @r{[}#:size size@r{]} @r{[}#:count count@r{]}
Return a list of disassembled instructions starting from the memory
address @var{start-pc}.