diff options
author | Petr Machata <pmachata@redhat.com> | 2012-04-04 19:09:37 +0200 |
---|---|---|
committer | Petr Machata <pmachata@redhat.com> | 2012-04-19 01:36:35 +0200 |
commit | 796267f3370f37bc3b7657b53c6eda16bab3c930 (patch) | |
tree | 227d16ce5cc42ae20788096d292f71dce792d7dc /options.c | |
parent | 157cc4d6ee93f35e3aa65edcf57f369ae4e4677c (diff) | |
download | ltrace-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.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -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); |