Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for selected_inferior (0.26 sec)

  1. src/runtime/runtime-gdb.py

    		return pc.cast(vp), sp.cast(vp)
    	# Otherwise, the goroutine is running, so it doesn't have
    	# saved scheduler state. Find G's OS thread.
    	m = ptr['m']
    	if m == 0:
    		return None, None
    	for thr in gdb.selected_inferior().threads():
    		if thr.ptid[1] == m['procid']:
    			break
    	else:
    		return None, None
    	# Get scheduler state from the G's OS thread state.
    	curthr = gdb.selected_thread()
    	try:
    		thr.switch()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 12:59:20 UTC 2023
    - 15.4K bytes
    - Viewed (0)
Back to top