From 6eaaf48b1c3ff871cdcd180c172a72271fe29588 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 12 Apr 2013 08:57:07 +0000 Subject: 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) : New static var. : 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. --- gdb/top.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gdb/top.h') 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); -- cgit v1.1