Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA] selected_thread_changed event
@ 2002-09-05  9:38 Keith Seitz
  2002-09-05 11:06 ` Michael Snyder
  0 siblings, 1 reply; 4+ messages in thread
From: Keith Seitz @ 2002-09-05  9:38 UTC (permalink / raw)
  To: gdb-patches

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

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFA] selected_thread_changed event
  2002-09-05  9:38 [RFA] selected_thread_changed event Keith Seitz
@ 2002-09-05 11:06 ` Michael Snyder
  2002-09-30 11:39   ` Elena Zannoni
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Snyder @ 2002-09-05 11:06 UTC (permalink / raw)
  To: Keith Seitz; +Cc: gdb-patches

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFA] selected_thread_changed event
  2002-09-05 11:06 ` Michael Snyder
@ 2002-09-30 11:39   ` Elena Zannoni
  2002-09-30 13:04     ` Keith Seitz
  0 siblings, 1 reply; 4+ messages in thread
From: Elena Zannoni @ 2002-09-30 11:39 UTC (permalink / raw)
  To: Michael Snyder; +Cc: Keith Seitz, gdb-patches

Michael Snyder writes:
 > 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...
 > 

to me as well.

Elena


 > > 
 > > 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFA] selected_thread_changed event
  2002-09-30 11:39   ` Elena Zannoni
@ 2002-09-30 13:04     ` Keith Seitz
  0 siblings, 0 replies; 4+ messages in thread
From: Keith Seitz @ 2002-09-30 13:04 UTC (permalink / raw)
  To: gdb-patches

On Mon, 30 Sep 2002, Elena Zannoni wrote:

> Michael Snyder wrote:
>  > 
>  > Seems like a good idea to me...
>  > 
> 
> to me as well.

Ok, committed.

I'll follow-up with the actual notifications (and the changes to 
mi-pthreads.exp to test for them).

Keith



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-09-30 20:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-05  9:38 [RFA] selected_thread_changed event Keith Seitz
2002-09-05 11:06 ` Michael Snyder
2002-09-30 11:39   ` Elena Zannoni
2002-09-30 13:04     ` Keith Seitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox