Home | History | Annotate | Line # | Download | only in gdb.asm
      1 	comment "subroutine prologue"
      2 	.macro gdbasm_enter
      3 	save	%sp, -112, %sp
      4 	.endm
      5 
      6 	comment "subroutine epilogue"
      7 	.macro gdbasm_leave
      8 	ret
      9 	restore
     10 	.endm
     11 
     12 	.macro gdbasm_call subr
     13 	call	\subr
     14 	nop
     15 	.endm
     16 
     17 	.macro gdbasm_several_nops
     18 	nop
     19 	nop
     20 	nop
     21 	nop
     22 	.endm
     23 
     24 	comment "exit (0)"
     25 	.macro gdbasm_exit0
     26 	comment "Don't know how to exit, but this will certainly halt..."
     27 	ld	[%g0], %i0
     28 	.endm
     29 
     30 	comment "crt0 startup"
     31 	.macro gdbasm_startup
     32 	clr	%fp
     33 	.endm
     34 
     35