Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for selected_frame (0.11 sec)

  1. src/runtime/runtime-gdb.py

    	def invoke_per_goid(self, goid, cmd):
    		pc, sp = find_goroutine(goid)
    		if not pc:
    			print("No such goroutine: ", goid)
    			return
    		pc = pc_to_int(pc)
    		save_frame = gdb.selected_frame()
    		gdb.parse_and_eval('$save_sp = $sp')
    		gdb.parse_and_eval('$save_pc = $pc')
    		# In GDB, assignments to sp must be done from the
    		# top-most frame, so select frame 0 first.
    		gdb.execute('select-frame 0')
    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