Short form of sample-size option had wrong value.
authorAndrew Cagney <cagney@redhat.com>
Fri, 12 Sep 1997 02:29:04 +0000 (02:29 +0000)
committerAndrew Cagney <cagney@redhat.com>
Fri, 12 Sep 1997 02:29:04 +0000 (02:29 +0000)
sim/mips/ChangeLog
sim/mips/interp.c

index 40d24392214403d7c99d55c9031ee599b2978fd3..61639b906057cdbe8eb3b0e789945ac4e6ad6b5c 100644 (file)
@@ -1,3 +1,8 @@
+Fri Sep 12 12:01:39 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (mips_options): Fix samples option short form, should
+       be `x'.
+
 Thu Sep 11 09:35:29 1997  Andrew Cagney  <cagney@b1.cygnus.com>
 
        * interp.c (sim_info): Enable info code.  Was just returning.
index 25503ba582937043a5e24395df624fda63d2f696..879e79eee0fd4805057523a4b9bd4e14b3c9e824 100644 (file)
@@ -747,7 +747,7 @@ static const OPTION mips_options[] =
       'y', "FREQ", "Profile frequency",
       mips_option_handler },
   { {"samples",  required_argument, NULL,'x'},
-      'y', "SIZE", "Profile sample size",
+      'x', "SIZE", "Profile sample size",
       mips_option_handler },
   { {NULL, no_argument, NULL, 0}, '\0', NULL, NULL, NULL }
 };