* dwarf2read.c (_initialize_dwarf2_read): Add usage info to help text
authorDoug Evans <dje@google.com>
Fri, 1 Oct 2010 20:47:45 +0000 (20:47 +0000)
committerDoug Evans <dje@google.com>
Fri, 1 Oct 2010 20:47:45 +0000 (20:47 +0000)
for `save gdb-index' command.

gdb/ChangeLog
gdb/dwarf2read.c

index 1ef516dcd0e8cb417dbca19369209154b9687997..d11987228f5a4e33e2b6ee078af1cf32ae1eab5c 100644 (file)
@@ -1,3 +1,8 @@
+2010-10-01  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (_initialize_dwarf2_read): Add usage info to help text
+       for `save gdb-index' command.
+
 2010-10-01  Tom Tromey  <tromey@redhat.com>
 
        * symfile.h (allocate_symtab): Update.
index 774f981b5bbba5b7c0afac5a74ad8a17bbc6555a..302f81ffd08f146042c1c5c4017f261b20cee6c6 100644 (file)
@@ -15368,6 +15368,7 @@ write_psymtabs_to_index (struct objfile *objfile, const char *dir)
    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"),
               &save_cmdlist);
   set_cmd_completer (c, filename_completer);
 }
This page took 0.044757 seconds and 4 git commands to generate.