OSDN Git Service

Implement --thread and --frame.
authorVladimir Prus <vladimir@codesourcery.com>
Sat, 12 Jul 2008 16:37:57 +0000 (16:37 +0000)
committerVladimir Prus <vladimir@codesourcery.com>
Sat, 12 Jul 2008 16:37:57 +0000 (16:37 +0000)
commitd57e8f780d6555f90c4c63f5c0bc762813a8a220
tree1225e2671e1f2db5d13f690dac6e599bb298a80e
parentcabea13487f703a265e8deeeac62e74f18955b5d
Implement --thread and --frame.
* gdbthread.h (find_thread_id): Declare.
        * thread.c (find_thread_id): Make non-static.
        * mi/mi-main.c (mi_cmd_execute): Switch to the right
        thread and frame, if necessary.
        * mi/mi-parse.c (mi_parse): Handle --thread and --frame.
        * mi/mi-parse.h (strcut mi_parse): New fields thread and frame.
gdb/ChangeLog
gdb/gdbthread.h
gdb/mi/mi-main.c
gdb/mi/mi-parse.c
gdb/mi/mi-parse.h
gdb/thread.c