From 11ac69e0139253d10771787a44adfecb9e4bef70 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 12 Sep 1997 02:29:04 +0000 Subject: [PATCH] Short form of sample-size option had wrong value. --- sim/mips/ChangeLog | 5 +++++ sim/mips/interp.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index 40d2439221..61639b9060 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -1,3 +1,8 @@ +Fri Sep 12 12:01:39 1997 Andrew Cagney + + * interp.c (mips_options): Fix samples option short form, should + be `x'. + Thu Sep 11 09:35:29 1997 Andrew Cagney * interp.c (sim_info): Enable info code. Was just returning. diff --git a/sim/mips/interp.c b/sim/mips/interp.c index 25503ba582..879e79eee0 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 } };