Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA] gdb-events.sh: selected-frame-level-changed event
@ 2002-08-22 11:49 Keith Seitz
  2002-08-25 16:10 ` Andrew Cagney
  0 siblings, 1 reply; 5+ messages in thread
From: Keith Seitz @ 2002-08-22 11:49 UTC (permalink / raw)
  To: gdb-patches

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


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

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-22 11:49 [RFA] gdb-events.sh: selected-frame-level-changed event Keith Seitz
2002-08-25 16:10 ` Andrew Cagney
2002-08-26 12:55   ` Keith Seitz
2002-08-26 13:09     ` Andrew Cagney
2002-08-26 13:13       ` Keith Seitz

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