From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26331 invoked by alias); 30 Sep 2002 18:39:06 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 26322 invoked from network); 30 Sep 2002 18:39:05 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 30 Sep 2002 18:39:05 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id g8UIKVi01252 for ; Mon, 30 Sep 2002 14:20:31 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id g8UId4f02372; Mon, 30 Sep 2002 14:39:04 -0400 Received: from localhost.redhat.com (IDENT:root@tooth.toronto.redhat.com [172.16.14.29]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id g8UIb9f30751; Mon, 30 Sep 2002 14:37:09 -0400 Received: by localhost.redhat.com (Postfix, from userid 469) id 8D9FDFF7D; Mon, 30 Sep 2002 14:32:54 -0400 (EDT) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15768.39126.237199.783028@localhost.redhat.com> Date: Mon, 30 Sep 2002 11:39:00 -0000 To: Michael Snyder Cc: Keith Seitz , gdb-patches@sources.redhat.com Subject: Re: [RFA] selected_thread_changed event In-Reply-To: <3D779D3D.AF3C521B@redhat.com> References: <3D779D3D.AF3C521B@redhat.com> X-SW-Source: 2002-09/txt/msg00769.txt.bz2 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 > > > > * 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