I think the reason those wouldn't be renamed is that you're only
outputing something you could put in a file (in the traditional sense)
if you're tracing. If you're turning on/off some other functionality
like a debug breakpoint you're not tracing, you're debugging. It gets a
little confusing, I think, because we're so used to thinking about using
it for tracing and there aren't really true debug flags at the moment.

Gabe

On 05/07/11 15:15, Joel Hestness wrote:
> Hey guys,
>   I wasn't sure what the intended outcome with tracing v. debugging was
> going to be.  It sounds like the move is to "debug" as a more general term,
> though it will support all of the "trace" functionality.  In that case, my
> confusion arose from the naming of the flags.  Since "trace-file" and
> "trace-start" now go along with the other debug flags (i.e. you wouldn't use
> them unless you're using the debug flags), it probably makes sense to change
> the names to reflect the connection.  For instance, "debug-trace-file" and
> "debug-trace-start" are clearer and still reflect that you'll be collecting
> a trace.
>   Joel
>
>
>> I was thinking og doing it since Nate is not around. I'll do it soon.
>>
>>
>>>> instance, "trace-flags", and "trace-file" are still accepted, but they
>>>> don't
>>>> do anything now.  They should be eliminated from the message.  We're
>> also
>>>> missing the equivalent of "trace-start" and "trace-file".  Do you mind
>>>> cleaning that up?
>> Are you sure that trace-file doesn't work?  I've basically renamed
>> --trace-help to --debug-help, so the former can be removed.  Also I've
>> renamed --trace-flags to --debug-flags, so that one can be removed
>> too.  (I intended to, I just screwed up.)  The purpose of renaming
>> trace flags to debug flags is that the flags themselves can be used
>> for a lot more than tracing (I'm starting to use them to insert
>> debugging breakpoints, they're used for exec trace which is really a
>> different tracing facility, they can be used for whatever) and it
>> seemed odd to have two different classes of flags (though we could do
>> that if we wanted to).
>>
>> The only error that I know of right now is that --trace-help and
>> --trace-flags still exist and silently act when they shouldn't.  I'm
>> compiling right now, but things are slow on my laptop.  I'll test out
>> --trace-file, but I'm not sure why that would have changed at all.
>>
>>  Nate
>> _______________________________________________
>> m5-dev mailing list
>> m5-dev@m5sim.org
>> http://m5sim.org/mailman/listinfo/m5-dev
>>
>
>

_______________________________________________
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to