aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-09-12 02:29:04 +0000
committerAndrew Cagney <cagney@redhat.com>1997-09-12 02:29:04 +0000
commit11ac69e0139253d10771787a44adfecb9e4bef70 (patch)
tree5200bad200d091f6d694b7e3371a0badf2995675
parent7a2f7ea758abaa43d223b9559e4b8774b399b967 (diff)
downloadgdb-11ac69e0139253d10771787a44adfecb9e4bef70.zip
gdb-11ac69e0139253d10771787a44adfecb9e4bef70.tar.gz
gdb-11ac69e0139253d10771787a44adfecb9e4bef70.tar.bz2
Short form of sample-size option had wrong value.
-rw-r--r--sim/mips/ChangeLog5
-rw-r--r--sim/mips/interp.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog
index 40d2439..61639b9 100644
--- a/sim/mips/ChangeLog
+++ b/sim/mips/ChangeLog
@@ -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.
diff --git a/sim/mips/interp.c b/sim/mips/interp.c
index 25503ba..879e79e 100644
--- a/sim/mips/interp.c
+++ b/sim/mips/interp.c
@@ -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 }
};