break-stop-on-threads

This command changes the thread specific effect for a specific breakpoint. You can specify whether a breakpoint applies to one or more threads or all threads.

Show/hideSyntax

break-stop-on-threads number [thread_num]...

Where:

number

Specifies the breakpoint number. This is the number assigned by the debugger when it is set. You can use info breakpoints to display the number and status of all breakpoints and watchpoints.

thread_num

Specifies one or more thread numbers to apply the breakpoint to. You can use $thread to refer to the current thread. If thread_num is not specified then apply the breakpoint to all threads.

Show/hideExample

Example 11. break-stop-on-thread

break-stop-on-thread 1 2               # Apply breakpoint 1 to thread 2
break-stop-on-thread 4 9 11            # Apply breakpoint 4 to threads 9 and 11
break-stop-on-thread 4                 # Apply breakpoint 4 to all threads

Show/hideSee also

Copyright © 2010, 2011 ARM. All rights reserved.ARM DUI 0452D
Non-ConfidentialID011411