This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]