2014-07-29 Ed Smith-Rowland <3dw4rd@verizon.net>
[official-gcc.git] / libgo / runtime / go-breakpoint.c
blobe403a2a967a2702206595589f889c4fee34ca852
1 /* go-breakpoint.c -- the runtime.Breakpoint function.
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. */
7 #include <sched.h>
9 #include "runtime.h"
11 void Breakpoint (void) __asm__ (GOSYM_PREFIX "runtime.Breakpoint");
13 void
14 Breakpoint (void)
16 __builtin_trap ();