aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1999-12-22 21:45:38 +0000
committerJason Molenda <jmolenda@apple.com>1999-12-22 21:45:38 +0000
commited9a39ebf9f55562c7c582155f6721c3e685ce91 (patch)
treea4d79644b877ba407080f1e1120fdf203a1e50b7 /sim
parentd3a09475522de47cb8f641b3235d58ee10320f64 (diff)
downloadgdb-ed9a39ebf9f55562c7c582155f6721c3e685ce91.zip
gdb-ed9a39ebf9f55562c7c582155f6721c3e685ce91.tar.gz
gdb-ed9a39ebf9f55562c7c582155f6721c3e685ce91.tar.bz2
import gdb-1999-12-21 snapshot
Diffstat (limited to 'sim')
-rw-r--r--sim/common/ChangeLog5
-rw-r--r--sim/common/sim-profile.c2
-rw-r--r--sim/common/sim-profile.h4
3 files changed, 10 insertions, 1 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 01ef1be..428f457 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,8 @@
+1999-12-17 Dave Brolley <brolley@cygnus.com>
+
+ * sim-profile.h: (set_profile_option_mask): Add prototype.
+ * sim-profile.c (set_profile_option_mask): No longer static.
+
Wed Dec 8 21:47:13 1999 Andrew Cagney <cagney@b1.cygnus.com>
* sim-arange.c: Include <string.h>
diff --git a/sim/common/sim-profile.c b/sim/common/sim-profile.c
index 5d075d1..9129a38 100644
--- a/sim/common/sim-profile.c
+++ b/sim/common/sim-profile.c
@@ -108,7 +108,7 @@ static const OPTION profile_options[] = {
/* Set/reset the profile options indicated in MASK. */
-static SIM_RC
+SIM_RC
set_profile_option_mask (SIM_DESC sd, const char *name, int mask, const char *arg)
{
int profile_nr;
diff --git a/sim/common/sim-profile.h b/sim/common/sim-profile.h
index 8f8d95f..4ffe850 100644
--- a/sim/common/sim-profile.h
+++ b/sim/common/sim-profile.h
@@ -65,6 +65,10 @@ enum {
| (1 << PROFILE_MODEL_IDX) \
| (1 << PROFILE_CORE_IDX))
+/* Utility to set profile options. */
+SIM_RC set_profile_option_mask (SIM_DESC sd_, const char *name_, int mask_,
+ const char *arg_);
+
/* Utility to parse a --profile-<foo> option. */
/* ??? On the one hand all calls could be confined to sim-profile.c, but
on the other hand keeping a module's profiling option with the module's