1 /* go-breakpoint.c -- the runtime.Breakpoint function. 2 3 Copyright 2009 The Go Authors. All rights reserved. 4 Use of this source code is governed by a BSD-style 5 license that can be found in the LICENSE file. */ 6 7 #include <sched.h> 8 9 #include "runtime.h" 10 11 void Breakpoint (void) __asm__ (GOSYM_PREFIX "runtime.Breakpoint"); 12 13 void Breakpoint(void)14Breakpoint (void) 15 { 16 __builtin_trap (); 17 } 18