* dwarf2read.c (_initialize_dwarf2_read): Add usage info to help text
for `save gdb-index' command.
This commit is contained in:
parent
72b9f47f1e
commit
11570e7189
|
@ -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>
|
2010-10-01 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
* symfile.h (allocate_symtab): Update.
|
* symfile.h (allocate_symtab): Update.
|
||||||
|
|
|
@ -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
|
6. The constant pool. This is simply a bunch of bytes. It is
|
||||||
organized so that alignment is correct: CU vectors are stored
|
organized so that alignment is correct: CU vectors are stored
|
||||||
first, followed by strings. */
|
first, followed by strings. */
|
||||||
|
|
||||||
static void
|
static void
|
||||||
save_gdb_index_command (char *arg, int from_tty)
|
save_gdb_index_command (char *arg, int from_tty)
|
||||||
{
|
{
|
||||||
|
@ -15470,7 +15471,9 @@ The value is the maximum depth to print."),
|
||||||
&setdebuglist, &showdebuglist);
|
&setdebuglist, &showdebuglist);
|
||||||
|
|
||||||
c = add_cmd ("gdb-index", class_files, save_gdb_index_command,
|
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);
|
&save_cmdlist);
|
||||||
set_cmd_completer (c, filename_completer);
|
set_cmd_completer (c, filename_completer);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue