diff options
author | Eli Zaretskii <eliz@gnu.org> | 2013-04-12 08:57:07 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2013-04-12 08:57:07 +0000 |
commit | 6eaaf48b1c3ff871cdcd180c172a72271fe29588 (patch) | |
tree | c1ce5c5514f0ede25a49d6b52eabb57286ca3f73 /gdb/top.h | |
parent | 3bcd3d1135c711b312567ad14b32dee411ac3fd4 (diff) | |
download | gdb-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |