my_env_jni_ = env_jni_;
my_cls_jni_ = cls_jni_;
- dbg_init(&my_dbg_info_merge_pair, &my_dbg_info_merge_sets);
+ dbg_init(&my_dbg_info_merge_pair, &my_dbg_info_merge_sets, NULL);
}
/** Return the dbg object index of the given node. A new dbg object is created, if needed. */
return (0);
}
+
+/** return the name of a debug action. */
+jstring Java_firmjni_Dbginfo_dbgActionToString (JNIEnv *env, jclass clss, jint a) {
+ return (*env)->NewStringUTF(env, dbg_action_2_str(a));
+}