From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16964 invoked by alias); 22 Aug 2002 18:39:53 -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 16954 invoked from network); 22 Aug 2002 18:39:52 -0000 Received: from unknown (HELO valrhona.uglyboxes.com) (64.1.192.220) by sources.redhat.com with SMTP; 22 Aug 2002 18:39:52 -0000 Received: from localhost.localdomain (IDENT:1wdMMODxpG1DpJ+MNDvXTrNWxCBqT1zW@localhost.localdomain [127.0.0.1]) by valrhona.uglyboxes.com (8.11.6/8.11.6) with ESMTP id g7MIgXp06552 for ; Thu, 22 Aug 2002 11:42:33 -0700 Date: Thu, 22 Aug 2002 11:49:00 -0000 From: Keith Seitz X-X-Sender: keiths@valrhona.uglyboxes.com To: gdb-patches@sources.redhat.com Subject: [RFA] gdb-events.sh: selected-frame-level-changed event Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2002-08/txt/msg00704.txt.bz2 Hi, MI uses GDB's frame level to track a user's view of the current stack. As you can imagine, this is tightly coupled to the console's stack commands ("up", "down", and "frame"). This event notifies clients when the stack frame level has been changed, allowing all the UIs to remain in sync wrt the stack view. I'll submit the stack.c changes separately, since the exact meaning of this event may be open to interpretation. Keith ChangeLog 2002-08-22 Keith Seitz * gdb-events.sh: Add selected-frame-level-changed 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.14 diff -p -r1.14 gdb-events.sh *** gdb-events.sh 21 Aug 2002 15:34:36 -0000 1.14 --- gdb-events.sh 22 Aug 2002 18:17:36 -0000 *************** f:void:tracepoint_delete:int number:numb *** 66,71 **** --- 66,72 ---- f:void:tracepoint_modify:int number:number f:void:architecture_changed:void f:void:target_changed:void + f:void:selected_frame_level_changed:int level:level #*:void:annotate_starting_hook:void #*:void:annotate_stopped_hook:void #*:void:annotate_signalled_hook:void *************** f:void:target_changed:void *** 88,94 **** #*:void:readline_begin_hook:char *format, ...:format #*:char *:readline_hook:char *prompt:prompt #*:void:readline_end_hook:void - #*:void:context_hook:int num:num #*:int:target_wait_hook:int pid, struct target_waitstatus *status:pid, status #*:void:call_command_hook:struct cmd_list_element *c, char *cmd, int from_tty:c, cmd, from_tty #*:NORETURN void:error_hook:void:: ATTR_NORETURN --- 89,94 ----