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: [RFA/Ada] Implement Ada tasking support


> Date: Tue, 23 Sep 2008 08:07:17 -0700
> From: Joel Brobecker <brobecker@adacore.com>
> Cc: gdb-patches@sourceware.org
> 
> > What is the differences, if any, between threads Ada tasks?
> 
> An Ada task carries with it a lot of semantic information thanks
> to the Ada Task Control Block (the ATCB).

So it is a kind of thread on steroids?

> > Would it make sense to make the existing threads commands to refer to
> > Ada tasks, instead of introducing a whole new bunch of commands?
> 
> I don't think so, because I think that Ada tasks and threads are
> quite different, and the information displayed for these tasks
> has some language-specific parts to it (task state, for instance).

We could extend the thread commands to display that additional info if
available.

Can there ever be more or less than exactly one thread per Ada task?

> On the other hand, I see the "thread" support as a layer that
> provides information that is language-neutral, but closer to
> the underlying system. Both group of commands serve, IMO, a slightly
> different purpose.

I'm trying to establish whether they are irreconcilable.  If they can
live together, I'd suggest to merge them.


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