This is the mail archive of the mailing list for the GDB project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] Add usage info to help text for save gdb-index command.


fyi, I checked this in.

2010-10-01  Doug Evans  <>

	* dwarf2read.c (_initialize_dwarf2_read): Add usage info to help text
	for `save gdb-index' command.

Index: dwarf2read.c
RCS file: /cvs/src/src/gdb/dwarf2read.c,v
retrieving revision 1.464
diff -u -p -r1.464 dwarf2read.c
--- dwarf2read.c	1 Oct 2010 20:26:11 -0000	1.464
+++ dwarf2read.c	1 Oct 2010 20:46:35 -0000
@@ -15368,6 +15368,7 @@ write_psymtabs_to_index (struct objfile 
    6. The constant pool.  This is simply a bunch of bytes.  It is
    organized so that alignment is correct: CU vectors are stored
    first, followed by strings.  */
 static void
 save_gdb_index_command (char *arg, int from_tty)
@@ -15470,7 +15471,9 @@ The value is the maximum depth to print.
 			    &setdebuglist, &showdebuglist);
   c = add_cmd ("gdb-index", class_files, save_gdb_index_command,
-	       _("Save a .gdb-index file"),
+	       _("\
+Save a .gdb-index file.\n\
+Usage: save gdb-index DIRECTORY"),
   set_cmd_completer (c, filename_completer);

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]