1.3.20 core, thread

Displays information about the current thread or processor.

It displays:

  • The unique id number assigned by the debugger.

  • The thread or processor state (for example stopped or running).

  • The current stack frame, including function names and source line numbers.

Syntax

thread [id]
core [id]

Where:

id

Specifies the unique thread or processor number.

If id is not specified, then the debugger switches control to the current thread or processor before displaying information. You can use info coresinfo processes, or info threads to display the id numbers.

If id is specified, then the debugger switches control to that thread or processor before displaying the information. Registers and call stacks are associated with a particular thread or processor. This means that switching context also switches the registers and call stack to those belonging to the current thread or processor.

Example 1-23 Examples

thread 699                            # Set current thread to number 699.
core 2                                # Set current processor to number 2.
Non-ConfidentialPDF file icon PDF versionARM DUI0452Z
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.