monitorCommand
Execute a monitor command from the client program. If a connection is opened with GDB, the output will be sent according to the output mode set for vgdb. If no connection is opened, output will go to the log output. Returns 1 if command not recognised, 0 otherwise.
Function parameters
Parameters
- command:[*]u8
Type definitions in this namespace
Types
- MempoolFlags
- Create a memory pool.
Functions in this namespace
Functions
- runningOnValgrind
- Returns the number of Valgrinds this code is running under.
- discardTranslations
- Discard translation of code in the slice qzz.
- countErrors
- Counts the number of errors that have been recorded by a tool.
- destroyMempool
- Destroy a memory pool.
- mempoolAlloc
- Associate a piece of memory with a memory pool.
- mempoolFree
- Disassociate a piece of memory from a memory pool.
- mempoolTrim
- Disassociate any pieces outside a particular range.
- moveMempool
- Resize and/or move a piece associated with a memory pool.
- mempoolChange
- Resize and/or move a piece associated with a memory pool.
- mempoolExists
- Return if a mempool exists.
- stackRegister
- Mark a piece of memory as being a stack.
- stackDeregister
- Unmark the piece of memory associated with a stack id as being a stack.
- stackChange
- Change the start and end address of the stack id.
- mapIpToSrcloc
- Map a code address to a source file name and line number.
- disableErrorReporting
- Disable error reporting for this thread.
- enableErrorReporting
- Re-enable error reporting.
- monitorCommand
- Execute a monitor command from the client program.
Source
Implementation
pub fn monitorCommand(command: [*]u8) bool {
return doClientRequestExpr(0, .GdbMonitorCommand, @intFromPtr(command), 0, 0, 0, 0) != 0;
}