X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=sim%2Fcommon%2Fsim-profile.h;h=4ffe85037661646765f079b7f265a995f9cf444b;hb=ed9a39ebf9f55562c7c582155f6721c3e685ce91;hp=8f8d95f43a182f1f39e3e7a69df3c94b82ab67ed;hpb=d3a09475522de47cb8f641b3235d58ee10320f64;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/common/sim-profile.h b/sim/common/sim-profile.h index 8f8d95f43a..4ffe850376 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- 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