diff options
author | Doug Evans <dje@google.com> | 2010-10-01 20:47:45 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2010-10-01 20:47:45 +0000 |
commit | 11570e71895bb4e1f135b3b641af7862d2bebf82 (patch) | |
tree | 5792b21b8d5191b9b3a3362296145fd4b01a6405 /gdb/dwarf2read.c | |
parent | 72b9f47f1ebefa7618abb0c142811af5b5b823e4 (diff) | |
download | gdb-11570e71895bb4e1f135b3b641af7862d2bebf82.zip gdb-11570e71895bb4e1f135b3b641af7862d2bebf82.tar.gz gdb-11570e71895bb4e1f135b3b641af7862d2bebf82.tar.bz2 |
* dwarf2read.c (_initialize_dwarf2_read): Add usage info to help text
for `save gdb-index' command.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r-- | gdb/dwarf2read.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 774f981..302f81f 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -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); } |