OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [gcj/] [jvmti/] [natNormalBreakpoint.cc] - Blame information for rev 756

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 756 jeremybenn
// natNormalBreakpoint.cc - C++ side of NormalBreakpoint
2
 
3
/* Copyright (C) 2007  Free Software Foundation
4
 
5
   This file is part of libgcj.
6
 
7
This software is copyrighted work licensed under the terms of the
8
Libgcj License.  Please consult the file "LIBGCJ_LICENSE" for
9
details.  */
10
 
11
#include <config.h>
12
#include <gcj/cni.h>
13
#include <java-interp.h>
14
#include <jvmti.h>
15
#include "jvmti-int.h"
16
 
17
#include <gnu/gcj/jvmti/NormalBreakpoint.h>
18
#include <java/lang/Thread.h>
19
 
20
void
21
gnu::gcj::jvmti::NormalBreakpoint::execute ()
22
{
23
  using namespace ::java::lang;
24
 
25
  Thread *thread = Thread::currentThread ();
26
  JNIEnv *jni_env = _Jv_GetCurrentJNIEnv ();
27
 
28
  JvAssert (JVMTI_REQUESTED_EVENT (Breakpoint));
29
  _Jv_JVMTI_PostEvent (JVMTI_EVENT_BREAKPOINT, thread, jni_env,
30
                       method, location);
31
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.