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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [gcj/] [jvmti/] [natNormalBreakpoint.cc] - Rev 758

Go to most recent revision | Compare with Previous | Blame | View Log

// natNormalBreakpoint.cc - C++ side of NormalBreakpoint
 
/* Copyright (C) 2007  Free Software Foundation
 
   This file is part of libgcj.
 
This software is copyrighted work licensed under the terms of the
Libgcj License.  Please consult the file "LIBGCJ_LICENSE" for
details.  */
 
#include <config.h>
#include <gcj/cni.h>
#include <java-interp.h>
#include <jvmti.h>
#include "jvmti-int.h"
 
#include <gnu/gcj/jvmti/NormalBreakpoint.h>
#include <java/lang/Thread.h>
 
void
gnu::gcj::jvmti::NormalBreakpoint::execute ()
{
  using namespace ::java::lang;
 
  Thread *thread = Thread::currentThread ();
  JNIEnv *jni_env = _Jv_GetCurrentJNIEnv ();
 
  JvAssert (JVMTI_REQUESTED_EVENT (Breakpoint));
  _Jv_JVMTI_PostEvent (JVMTI_EVENT_BREAKPOINT, thread, jni_env,
		       method, location);
}
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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