From 3708f05e583bd0ffd6226fac7ed358df972bb812 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Tue, 27 Mar 2012 20:44:13 +0000 Subject: [PATCH] gdb/doc/ * gdb.texinfo (Auto-loading): Move @menu to the end of @node. Create two new links fir 'objfile-gdb.py file' and 'dotdebug_gdb_scripts section'. --- gdb/doc/ChangeLog | 6 ++++++ gdb/doc/gdb.texinfo | 16 +++++++++------- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index c6faa6c..2a4238b 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,5 +1,11 @@ 2012-03-27 Jan Kratochvil + * gdb.texinfo (Auto-loading): Move @menu to the end of @node. + Create two new links fir 'objfile-gdb.py file' + and 'dotdebug_gdb_scripts section'. + +2012-03-27 Jan Kratochvil + * gdb.texinfo (Auto-loading): Rename node reference '.debug_gdb_scripts section' to 'dotdebug_gdb_scripts section'. Twice. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 9e8413a..aa8bc7c 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -24714,13 +24714,9 @@ writable. When a new object file is read (for example, due to the @code{file} command, or because the inferior has loaded a shared library), @value{GDBN} will look for Python support scripts in several ways: -@file{@var{objfile}-gdb.py} and @code{.debug_gdb_scripts} section. - -@menu -* objfile-gdb.py file:: The @file{@var{objfile}-gdb.py} file -* dotdebug_gdb_scripts section:: The @code{.debug_gdb_scripts} section -* Which flavor to choose?:: -@end menu +@file{@var{objfile}-gdb.py} (@pxref{objfile-gdb.py file}) +and @code{.debug_gdb_scripts} section +(@pxref{dotdebug_gdb_scripts section}). The auto-loading feature is useful for supplying application-specific debugging commands and scripts. @@ -24767,6 +24763,12 @@ When reading an auto-loaded file, @value{GDBN} sets the function (@pxref{Objfiles In Python}). This can be useful for registering objfile-specific pretty-printers. +@menu +* objfile-gdb.py file:: The @file{@var{objfile}-gdb.py} file +* dotdebug_gdb_scripts section:: The @code{.debug_gdb_scripts} section +* Which flavor to choose?:: +@end menu + @node objfile-gdb.py file @subsubsection The @file{@var{objfile}-gdb.py} file @cindex @file{@var{objfile}-gdb.py} -- 2.7.4