Re: [PATCH 18/18] document the new VxWorks port

Joel Brobecker
2011-02-25T11:44:26Z

> The result looks like a bad UI to me, and requires a separate
> command. But if that's what VxWorks users prefer, fine.

Does it still look bad to you after my explanation?

IMO, I think it's OK. We have several modes:
- single-task debugging: In that case, the task has only 1 thread.
Everything else is irrelevant.
- multi-task debugging: It's close to debugging a program.
We only show the threads running in that program.
- system-mode debugging (we debug the entire system as one giant
program). In that case, we show all the threads.

I think it makes sense. Perhaps, the confusion comes from the
"info wtx threads" command itself, since it is not listing threads,
but rather *tasks* (this is the technical term that WRS uses).
We could change that command to "info wtx tasks"... But if we do,
I'd to request that we also provide an alias to preserve compatibility
with the current users.

--
Joel