This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[RFA] gdb-events.sh: selected-frame-level-changed event
- From: Keith Seitz <keiths at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Thu, 22 Aug 2002 11:42:32 -0700 (PDT)
- Subject: [RFA] gdb-events.sh: selected-frame-level-changed event
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 <keiths@redhat.com>
* 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 ----