Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for sigpc (0.02 sec)

  1. src/runtime/signal_386.go

    	print("eflags ", hex(c.eflags()), "\n")
    	print("cs     ", hex(c.cs()), "\n")
    	print("fs     ", hex(c.fs()), "\n")
    	print("gs     ", hex(c.gs()), "\n")
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func (c *sigctxt) sigpc() uintptr { return uintptr(c.eip()) }
    
    func (c *sigctxt) sigsp() uintptr { return uintptr(c.esp()) }
    func (c *sigctxt) siglr() uintptr { return 0 }
    func (c *sigctxt) fault() uintptr { return uintptr(c.sigaddr()) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  2. src/runtime/export_debug_arm64_test.go

    	savedRegs sigcontext
    }
    
    func sigctxtSetContextRegister(ctxt *sigctxt, x uint64) {
    	ctxt.regs().regs[26] = x
    }
    
    func sigctxtAtTrapInstruction(ctxt *sigctxt) bool {
    	return *(*uint32)(unsafe.Pointer(ctxt.sigpc())) == 0xd4200000 // BRK 0
    }
    
    func sigctxtStatus(ctxt *sigctxt) uint64 {
    	return ctxt.r20()
    }
    
    func (h *debugCallHandler) saveSigContext(ctxt *sigctxt) {
    	sp := ctxt.sp()
    	sp -= 2 * goarch.PtrSize
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Apr 23 05:38:56 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  3. src/runtime/export_debug_ppc64le_test.go

    	savedRegs sigcontext
    }
    
    func sigctxtSetContextRegister(ctxt *sigctxt, x uint64) {
    	ctxt.regs().gpr[11] = x
    }
    
    func sigctxtAtTrapInstruction(ctxt *sigctxt) bool {
    	return *(*uint32)(unsafe.Pointer(ctxt.sigpc())) == 0x7fe00008 // Trap
    }
    
    func sigctxtStatus(ctxt *sigctxt) uint64 {
    	return ctxt.r20()
    }
    
    func (h *debugCallHandler) saveSigContext(ctxt *sigctxt) {
    	sp := ctxt.sp()
    	sp -= 4 * goarch.PtrSize
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 15:33:38 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  4. src/runtime/os3_plan9.go

    		// we can reliably access it from the panic routines.
    		memmove(unsafe.Pointer(mp.notesig), unsafe.Pointer(note), uintptr(len(notestr)+1))
    		gp.sig = uint32(sig)
    		gp.sigpc = c.pc()
    
    		pc := c.pc()
    		sp := c.sp()
    
    		// If we don't recognize the PC as code
    		// but we do recognize the top pointer on the stack as code,
    		// then assume this was a call to non-code and treat like
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top