aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.h
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2013-04-12 08:57:07 +0000
committerEli Zaretskii <eliz@gnu.org>2013-04-12 08:57:07 +0000
commit6eaaf48b1c3ff871cdcd180c172a72271fe29588 (patch)
treec1ce5c5514f0ede25a49d6b52eabb57286ca3f73 /gdb/top.h
parent3bcd3d1135c711b312567ad14b32dee411ac3fd4 (diff)
downloadgdb-6eaaf48b1c3ff871cdcd180c172a72271fe29588.zip
gdb-6eaaf48b1c3ff871cdcd180c172a72271fe29588.tar.gz
gdb-6eaaf48b1c3ff871cdcd180c172a72271fe29588.tar.bz2
Implement a new command to show GDB build-time configuration parameters.
* top.c (print_gdb_configuration): New function, displays the details about GDB configure-time parameters. (print_gdb_version): Mention "show configuration". * cli/cli-cmds.c (show_configuration): New function. (_initialize_cli_cmds): Add the "show configuration" command. * main.c (captured_main) <print_configuration>: New static var. <long_options>: Use it. If --configuration was given, call print_gdb_configuration. * doc/gdb.texinfo (Mode Options): Document '-configuration'. (Help): Document "show configuration". (Bug Reporting): Add requirements to include the configuration details in bug reports.
Diffstat (limited to 'gdb/top.h')
-rw-r--r--gdb/top.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/top.h b/gdb/top.h
index 2131026..44aefb1 100644
--- a/gdb/top.h
+++ b/gdb/top.h
@@ -31,6 +31,7 @@ extern int inhibit_gdbinit;
extern char gdbinit[];
extern void print_gdb_version (struct ui_file *);
+extern void print_gdb_configuration (struct ui_file *);
extern void read_command_file (FILE *);
extern void init_history (void);