|
The Pedigree Project 0.1
|
#include <DebuggerCommand.h>
Inheritance diagram for DebuggerCommand:
Collaboration diagram for DebuggerCommand:Public Member Functions | |
| virtual void | autocomplete (const HugeStaticString &input, HugeStaticString &output)=0 |
| virtual bool | execute (const HugeStaticString &input, HugeStaticString &output, InterruptState &state, DebuggerIO *screen)=0 |
| virtual const NormalStaticString | getString ()=0 |
Abstract class defining the interface for a DebuggerCommand. Class Debugger has a set of these DebuggerCommands, and calls the getString and autocomplete functions to augment the command line interface with visual prompts.
Definition at line 37 of file DebuggerCommand.h.
|
pure virtual |
Return an autocomplete string, given an input string. The string put into *output must not exceed len in length.
Implemented in AllocationCommand, Backtracer, BreakpointCommand, CpuInfoCommand, DevicesCommand, DisassembleCommand, DumpCommand, HelpCommand, IoCommand, IrqsCommand, LocksCommand, LogViewer, LookupCommand, MappingCommand, MemoryInspector, ModulesCommand, PanicCommand, QuitCommand, SlamCommand, StepCommand, SyscallTracerCommand, ThreadsCommand, and TraceCommand.
Referenced by Debugger::start().
Here is the caller graph for this function:
|
pure virtual |
Execute the command with the given screen. The command can take over the screen while executing, but must return it to CLI mode (via enableCLI) before returning.
Implemented in SyscallTracerCommand, AllocationCommand, Backtracer, BreakpointCommand, CpuInfoCommand, DevicesCommand, DisassembleCommand, DumpCommand, HelpCommand, IoCommand, IrqsCommand, LocksCommand, LogViewer, LookupCommand, MappingCommand, MemoryInspector, ModulesCommand, QuitCommand, SlamCommand, StepCommand, ThreadsCommand, TraceCommand, and PanicCommand.
Referenced by Debugger::start().
Here is the caller graph for this function:
|
pure virtual |
Returns the string representation of this command.
Implemented in AllocationCommand, Backtracer, BreakpointCommand, CpuInfoCommand, DevicesCommand, DisassembleCommand, DumpCommand, HelpCommand, IoCommand, IrqsCommand, LocksCommand, LogViewer, LookupCommand, MappingCommand, MemoryInspector, ModulesCommand, PanicCommand, QuitCommand, SlamCommand, StepCommand, SyscallTracerCommand, ThreadsCommand, and TraceCommand.
Referenced by DebuggerIO::readCli(), and Debugger::start().
Here is the caller graph for this function: