* gdbtk-hooks.c (gdbtk_add_hooks): Set selected_frame_level_changed_hook
authorKeith Seitz <keiths@cygnus>
Wed, 19 Aug 1998 02:25:21 +0000 (02:25 +0000)
committerKeith Seitz <keiths@cygnus>
Wed, 19 Aug 1998 02:25:21 +0000 (02:25 +0000)
commit3d64f1e0503e6d627d5e280976fb7156eb756976
tree243c08594e0916e60eed7734421b53e78204eafe
parenta36035532fee85b822ec77d70cc5523b5ad83829
    * gdbtk-hooks.c (gdbtk_add_hooks): Set selected_frame_level_changed_hook
.
        (gdbtk_selected_frame_changed): New function.

        * gdbtk-cmds.c (Gdbtk_Init): Add command gdb_stack into interpreter.
        Link gdb's global selected_frame_level with interpreter global
        gdb_selected_frame_level.
        (gdb_stack): New function to faciltate speedier backtraces from
        gdbtk.
        (get_frame_name): New helper function for gdb_stack.
gdb/ChangeLog-gdbtk
gdb/gdbtk-cmds.c
gdb/gdbtk-hooks.c