From 9cceb67113f53385895874525e13da49ce56fb3f Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Wed, 24 Oct 2007 21:05:36 +0000 Subject: [PATCH 1/1] * gdb.texinfo (Files): Correct formatting. Mention Expat requirement. (Requirements for Building GDB): Expand the list of Expat uses. (Library List Format, Memory Map Format): Mention Expat. (Target Descriptions): Update Expat wording. --- gdb/doc/ChangeLog | 9 +++++++++ gdb/doc/gdb.texinfo | 34 ++++++++++++++++++++++++++++------ 2 files changed, 37 insertions(+), 6 deletions(-) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 321f79ed83..d44a453097 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,12 @@ +2007-10-24 Daniel Jacobowitz + + * gdb.texinfo (Files): Correct formatting. Mention Expat + requirement. + (Requirements for Building GDB): Expand the list of Expat + uses. + (Library List Format, Memory Map Format): Mention Expat. + (Target Descriptions): Update Expat wording. + 2007-10-24 Daniel Jacobowitz * gdbint.texinfo (Register and Memory Data, Target Conditionals): diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 61f7fee32a..7ad47fcab4 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -11795,9 +11795,13 @@ as arguments. @value{GDBN} always converts the file name to an absolute file name and remembers it that way. @cindex shared libraries -@value{GDBN} supports GNU/Linux, MS-Windows, HP-UX, SunOS, SVr4, Irix, +@anchor{Shared Libraries} +@value{GDBN} supports @sc{gnu}/Linux, MS-Windows, HP-UX, SunOS, SVr4, Irix, and IBM RS/6000 AIX shared libraries. +On MS-Windows @value{GDBN} must be linked with the Expat library to support +shared libraries. @xref{Expat}. + @value{GDBN} automatically loads symbol definitions from shared libraries when you use the @code{run} command, or when you examine a core file. (Before you issue the @code{run} command, @value{GDBN} does not understand @@ -22176,8 +22180,18 @@ The @file{configure} script will search for this library in several standard locations; if it is installed in an unusual path, you can use the @option{--with-libexpat-prefix} option to specify its location. -Expat is used for remote protocol memory maps (@pxref{Memory Map Format}) -and for target descriptions (@pxref{Target Descriptions}). +Expat is used for: + +@itemize @bullet +@item +Remote protocol memory maps (@pxref{Memory Map Format}) +@item +Target descriptions (@pxref{Target Descriptions}) +@item +Remote shared library lists (@pxref{Library List Format}) +@item +MS-Windows shared libraries (@pxref{Shared Libraries}) +@end itemize @end table @@ -25698,6 +25712,9 @@ where the library was loaded in memory. The segment bases are start addresses, not relocation offsets; they do not depend on the library's link-time base addresses. +@value{GDBN} must be linked with the Expat library to support XML +library lists. @xref{Expat}. + A simple memory map, with one loaded library relocated by a single offset, looks like this: @@ -25731,7 +25748,12 @@ memory map. The memory map is obtained using the @samp{qXfer:memory-map:read} (@pxref{qXfer memory map read}) packet and is an XML document that -lists memory regions. The top-level structure of the document is shown below: +lists memory regions. + +@value{GDBN} must be linked with the Expat library to support XML +memory maps. @xref{Expat}. + +The top-level structure of the document is shown below: @smallexample @@ -25841,8 +25863,8 @@ actually describe its own features. This lets @value{GDBN} support processor variants it has never seen before --- to the extent that the descriptions are accurate, and that @value{GDBN} understands them. -@value{GDBN} must be compiled with Expat support to support XML target -descriptions. @xref{Expat}. +@value{GDBN} must be linked with the Expat library to support XML +target descriptions. @xref{Expat}. @menu * Retrieving Descriptions:: How descriptions are fetched from a target. -- 2.34.1