Configuration-Specific Information

Posted by Beetle B. on Mon 03 February 2020

While nearly all GDB commands are available for all native and cross versions of the debugger, there are some exceptions. This chapter describes things that are only available in certain configurations.

There are three major categories of configurations: native configurations, where the host and target are the same, embedded operating system configurations, which are usually the same for several different processor architectures, and bare embedded processors, which are quite different from each other.

Native

info proc can give information about the process. Not always supported.

info proc cmdline can show the original command line of the process.

info proc cwd will show the current working directory of the process.

infor proc exe will show the name of the executable of the process.

info proc files will show the file descriptors open by the process.

info proc status will show things like user ID, group ID, etc.

info proc all will show everything.

Embedded Processors

This has information on debugging embedded processors.

Architectures

This has information on different architectures.

tags : gdb