This is the mail archive of the
frysk@sources.redhat.com
mailing list for the frysk project.
Re: Multi-Task Procs in the SourceWindow
- From: Mark Wielaard <mark at klomp dot org>
- To: Mike Cvet <mcvet at redhat dot com>
- Cc: frysk at sourceware dot org
- Date: Mon, 16 Oct 2006 13:51:41 +0200
- Subject: Re: Multi-Task Procs in the SourceWindow
- References: <1159978682.2010.10.camel@Warbird.Northern>
Hi Mike,
On Wed, 2006-10-04 at 12:18 -0400, Mike Cvet wrote:
> I've just committed a large patch which allows the SourceWindow to
> handle processes with multiple threads. That is, it properly blocks and
> unblocks them, and if the source code is available, should display the
> source from each thread and highlight the appropriate lines properly.
>
> Thanks to Tom's idea, it uses a TreeView widget to list each thread and
> their respective frames on the call stack.
>
> I'm pretty sure that bugs exist! If you have some free time and want to
> check it out, I've attached an example test program.
Finally played with this. Very cool!
The TreeView for the stacks is nice and compact. But I was wondering how
to present stepping in this view (the InstructionObserver should give
you the basics for the asm-step operation). Do we need a step-one-thread
vs step-all-threads button? Or would that just add to the confusion?
Cheers,
Mark