Display the @sc{gnu} ``NO WARRANTY'' statement, or a warranty,
if your version of @value{GDBN} comes with one.
+@anchor{show configuration}
@kindex show configuration
@item show configuration
Display detailed information about the way @value{GDBN} was configured
bug (@pxref{GDB Bugs}), it is important to include this information in
your report.
+This commands also displays the version number of the Readline library
+that @value{GDBN} is using. After the version number will appear
+either @samp{(system)} indicating @value{GDBN} is using the shared
+system Readline library, or @samp{(internal)} indicating @value{GDBN}
+is using a statically linked in version of the Readline library.
@end table
@node Running
next line relative to the current line from the history for editing.
Any argument is ignored.
+It is possible to discover which version of Readline @value{GDBN} is
+using with the @kbd{show configuration} command (@pxref{show
+configuration}).
+
@node Command History
@section Command History
@cindex command history
"List.*unambiguous\\..*" \
"maint w/o args"
+gdb_test "show configuration" \
+ "^This GDB was configured as follows:\r\n.*\r\nGNU Readline library version: \[^\r\n\]+"
+
# Test that "main info line-table" w/o a file name shows the symtab for
# $srcfile.
set saw_srcfile 0
(\"Relocatable\" means the directory can be moved with the GDB installation\n\
tree, and GDB will still find it.)\n\
"));
+
+ gdb_printf (stream, "\n");
+ gdb_printf (stream, _("GNU Readline library version: %s\t%s\n"),
+ rl_library_version,
+#ifdef HAVE_READLINE_READLINE_H
+ "(system)"
+#else
+ "(internal)"
+#endif
+ );
}
\f