summaryrefslogtreecommitdiff
path: root/gdb/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/main.c')
-rw-r--r--gdb/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/main.c b/gdb/main.c
index e46f8233d92..a63a385979d 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -450,6 +450,8 @@ captured_main (void *data)
{"args", no_argument, &set_args, 1},
{"l", required_argument, 0, 'l'},
{"return-child-result", no_argument, &return_child_result, 1},
+ {"use-deprecated-index-sections", no_argument,
+ &use_deprecated_index_sections, 1},
{0, no_argument, 0, 0}
};
@@ -1021,6 +1023,10 @@ Options:\n\n\
"), stream);
#endif
fputs_unfiltered (_("\
+ --use-deprecated-index-sections\n\
+ Do not reject deprecated .gdb_index sections.\n\
+"), stream);
+ fputs_unfiltered (_("\
--version Print version information and then exit.\n\
-w Use a window interface.\n\
--write Set writing into executable and core files.\n\