aboutsummaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2012-04-04 19:09:37 +0200
committerPetr Machata <pmachata@redhat.com>2012-04-19 01:36:35 +0200
commit796267f3370f37bc3b7657b53c6eda16bab3c930 (patch)
tree227d16ce5cc42ae20788096d292f71dce792d7dc /options.c
parent157cc4d6ee93f35e3aa65edcf57f369ae4e4677c (diff)
downloadltrace-796267f3370f37bc3b7657b53c6eda16bab3c930.tar.gz
options.no_plt is useless
- or, as of now, it's used to decide whether or not we should display "unexpected breakpoint" messages
Diffstat (limited to 'options.c')
-rw-r--r--options.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/options.c b/options.c
index 0e8d106..6ad77e4 100644
--- a/options.c
+++ b/options.c
@@ -402,7 +402,6 @@ char **
process_options(int argc, char **argv) {
progname = argv[0];
options.output = stderr;
- options.no_plt = 0;
options.no_signals = 0;
#if defined(HAVE_LIBUNWIND)
options.bt_depth = -1;
@@ -426,14 +425,13 @@ process_options(int argc, char **argv) {
{"library", 1, 0, 'l'},
{"output", 1, 0, 'o'},
{"version", 0, 0, 'V'},
- {"no-plt", 0, 0, 'g'},
{"no-signals", 0, 0, 'b'},
#if defined(HAVE_LIBUNWIND)
{"where", 1, 0, 'w'},
#endif /* defined(HAVE_LIBUNWIND) */
{0, 0, 0, 0}
};
- c = getopt_long(argc, argv, "+cfhiLrStTVgb"
+ c = getopt_long(argc, argv, "+cfhiLrStTVb"
# ifdef USE_DEMANGLE
"C"
# endif
@@ -495,9 +493,6 @@ process_options(int argc, char **argv) {
opt_F = tmp;
break;
}
- case 'g':
- options.no_plt = 1;
- break;
case 'h':
usage();
exit(0);