This is the mail archive of the gdb-patches@sources.redhat.com 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] selected_thread_changed event


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


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