This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[obv doc] Fix too wide @smallexample [Re: [patch 1/2] Provide $ddir substitution for --with-auto-load-safe-path]
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 9 May 2012 20:16:40 +0200
- Subject: [obv doc] Fix too wide @smallexample [Re: [patch 1/2] Provide $ddir substitution for --with-auto-load-safe-path]
- References: <20120509154640.GA12692@host2.jankratochvil.net> <8362c51ccr.fsf@gnu.org>
On Wed, 09 May 2012 19:41:08 +0200, Eli Zaretskii wrote:
> > --- a/gdb/doc/gdb.texinfo
> > +++ b/gdb/doc/gdb.texinfo
> > @@ -21007,7 +21007,7 @@ libthread-db: Auto-loading of inferior specific libthread_db is on.
> > local-gdbinit: Auto-loading of .gdbinit script from current directory is on.
> > python-scripts: Auto-loading of Python scripts is on.
> > safe-path: List of directories from which it is safe to auto-load files
> > - is /usr/local.
> > + is $ddir/auto-load.
> > @end smallexample
> >
> > @anchor{info auto-load}
> > @@ -21209,9 +21209,9 @@ get loaded:
> > $ ./gdb -q ./gdb
> > Reading symbols from /home/user/gdb/gdb...done.
> > warning: File "/home/user/gdb/gdb-gdb.gdb" auto-loading has been
> > - declined by your `auto-load safe-path' set to "/usr/local".
> > + declined by your `auto-load safe-path' set to "$ddir/auto-load".
> > warning: File "/home/user/gdb/gdb-gdb.py" auto-loading has been
> > - declined by your `auto-load safe-path' set to "/usr/local".
> > + declined by your `auto-load safe-path' set to "$ddir/auto-load".
> > @end smallexample
>
> I think these lines just got too long for @smallexample. Did you try
> to produce the PDF version, and if so, did you see these lines
> overflow the margin?
I do not see there any problem, do you?
http://people.redhat.com/jkratoch/smallexample.png
But I have seen some other two cases which format more wide than the
surrounding paragraphs, checked in those as obvious.
Thanks,
Jan
http://sourceware.org/ml/gdb-cvs/2012-05/msg00059.html
--- src/gdb/doc/ChangeLog 2012/05/06 15:31:04 1.1309
+++ src/gdb/doc/ChangeLog 2012/05/09 18:15:58 1.1310
@@ -1,3 +1,8 @@
+2012-05-09 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * gdb.texinfo (Auto-loading): Wrap too long lines in @smallexample.
+ Twice.
+
2012-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.texinfo (Auto-loading safe path): Make 'directories'
--- src/gdb/doc/gdb.texinfo 2012/05/06 15:31:04 1.955
+++ src/gdb/doc/gdb.texinfo 2012/05/09 18:15:58 1.956
@@ -21004,7 +21004,8 @@
(gdb) show auto-load
gdb-scripts: Auto-loading of canned sequences of commands scripts is on.
libthread-db: Auto-loading of inferior specific libthread_db is on.
-local-gdbinit: Auto-loading of .gdbinit script from current directory is on.
+local-gdbinit: Auto-loading of .gdbinit script from current directory
+ is on.
python-scripts: Auto-loading of Python scripts is on.
safe-path: List of directories from which it is safe to auto-load files
is /usr/local.
@@ -21022,7 +21023,8 @@
Loaded Script
Yes /home/user/gdb/gdb-gdb.gdb
libthread-db: No auto-loaded libthread-db.
-local-gdbinit: Local .gdbinit file "/home/user/gdb/.gdbinit" has been loaded.
+local-gdbinit: Local .gdbinit file "/home/user/gdb/.gdbinit" has been
+ loaded.
python-scripts:
Loaded Script
Yes /home/user/gdb/gdb-gdb.py