This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] selected_thread_changed event
- From: Michael Snyder <msnyder at redhat dot com>
- To: Keith Seitz <keiths at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 05 Sep 2002 11:06:53 -0700
- Subject: Re: [RFA] selected_thread_changed event
- Organization: Red Hat, Inc.
- References: <Pine.LNX.4.44.0209050938090.1407-100000@valrhona.uglyboxes.com>
Keith Seitz wrote:
>
> Hi,
>
> This patch adds the thread equivalent of selected_frame_level_changed
> event. When the selected thread changes, this event should be posted.
>
> Testcase to follow (it's in kseitz_interps-20020528-branch) as soon as my
> other mi-support.exp changes are reviewed. Ditto the notifications.
>
> Keith
Seems like a good idea to me...
>
> ChangeLog
> 2002-09-05 Keith Seitz <keiths@redhat.com>
>
> * gdb-events.sh (selected_thread_changed): New event.
> * gdb-events.c: Regenerated.
> * gdb-events.h: Regenerated.
>
> Patch
> Index: gdb-events.sh
> ===================================================================
> RCS file: /cvs/src/src/gdb/gdb-events.sh,v
> retrieving revision 1.15
> diff -p -r1.15 gdb-events.sh
> *** gdb-events.sh 26 Aug 2002 19:41:56 -0000 1.15
> --- gdb-events.sh 5 Sep 2002 16:34:12 -0000
> *************** f:void:tracepoint_modify:int number:numb
> *** 67,72 ****
> --- 67,73 ----
> f:void:architecture_changed:void
> f:void:target_changed:void
> f:void:selected_frame_level_changed:int level:level
> + f:void:selected_thread_changed:int thread_num:thread_num
> #*:void:annotate_starting_hook:void
> #*:void:annotate_stopped_hook:void
> #*:void:annotate_signalled_hook:void