Next: Trace File Format, Previous: Target Descriptions, Up: Top

## Appendix H Operating System Information

Users of gdb often wish to obtain information about the state of the operating system running on the target—for example the list of processes, or the list of open files. This section describes the mechanism that makes it possible. This mechanism is similar to the target features mechanism (see Target Descriptions), but focuses on a different aspect of target.

Operating system information is retrived from the target via the remote protocol, using ‘`qXfer`’ requests (see qXfer osdata read). The object name in the request should be ‘`osdata`’, and the annex identifies the data to be fetched.