1 //===-- CommandObjectThread.h -----------------------------------*- C++ -*-===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 10 #ifndef liblldb_CommandObjectThread_h_ 11 #define liblldb_CommandObjectThread_h_ 12 13 // C Includes 14 // C++ Includes 15 // Other libraries and framework includes 16 // Project includes 17 #include "lldb/Interpreter/CommandObjectMultiword.h" 18 19 namespace lldb_private { 20 21 class CommandObjectMultiwordThread : public CommandObjectMultiword 22 { 23 public: 24 25 CommandObjectMultiwordThread (CommandInterpreter &interpreter); 26 27 virtual 28 ~CommandObjectMultiwordThread (); 29 30 }; 31 32 33 bool 34 DisplayThreadInfo (CommandInterpreter &interpreter, 35 Stream &strm, 36 Thread *thread, 37 bool only_threads_with_stop_reason, 38 bool show_source); 39 40 size_t 41 DisplayThreadsInfo (CommandInterpreter &interpreter, 42 ExecutionContext *exe_ctx, 43 CommandReturnObject &result, 44 bool only_threads_with_stop_reason, 45 bool show_source); 46 47 size_t 48 DisplayFramesForExecutionContext (Thread *thread, 49 CommandInterpreter &interpreter, 50 Stream& strm, 51 uint32_t first_frame, 52 uint32_t num_frames, 53 bool show_frame_info, 54 uint32_t num_frames_with_source, 55 uint32_t source_lines_before, 56 uint32_t source_lines_after); 57 58 bool 59 DisplayFrameForExecutionContext (Thread *thread, 60 StackFrame *frame, 61 CommandInterpreter &interpreter, 62 Stream& strm, 63 bool show_frame_info, 64 bool show_source, 65 uint32_t source_lines_before, 66 uint32_t source_lines_after); 67 68 } // namespace lldb_private 69 70 #endif // liblldb_CommandObjectThread_h_ 71