home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 July
/
Chip_1998-07_cd.bin
/
zkuste
/
JBuilder
/
JBuild
/
jbuilder
/
jruntime.z
/
DEBUG.H
< prev
next >
Wrap
Text File
|
1997-08-25
|
2KB
|
49 lines
// $Header: z:/admin/JDK113CARL/javasrc/SRC/SHARE/JAVA/INCLUDE/rcs/DEBUG.H 1.1 1997/06/09 23:25:20 JVONSCHMACHT Exp $
/*
* @(#)debug.h 1.11 96/11/23
*
* Copyright (c) 1995, 1996 Sun Microsystems, Inc. All Rights Reserved.
*
* This software is the confidential and proprietary information of Sun
* Microsystems, Inc. ("Confidential Information"). You shall not
* disclose such Confidential Information and shall use it only in
* accordance with the terms of the license agreement you entered into
* with Sun.
*
* SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
* SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
* IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
* PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY DAMAGES
* SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
* THIS SOFTWARE OR ITS DERIVATIVES.
*
* CopyrightVersion 1.1_beta
*
*/
/*
* Debugging hooks 1/22/92
*/
#ifndef _DEBUG_H_
#define _DEBUG_H_
#include <stdio.h>
#include <stdarg.h>
extern void DumpThreads(void);
extern char * threadName(void*);
void panic (const char *, ...);
#ifdef BORLAND_JVM
extern void reportInitDebugEvent();
extern void reportBreakPointDebugEvent(int pc, int* realOpCode);
extern void reportThreadDeltaDebugEvent(int isCreate, /*sys_thread_t*/void *);
extern void reportClassDeltaDebugEvent(int isCreate, /*ClassClass*/ void *);
extern void reportStepDebugEvent(int pc);
extern void reportBreakPointOpCodeChangeEvent(int pc, int newOpCode);
extern int reportSystemOutput(int isError, char* cp, int len);
#endif
#endif /* !_DEBUG_H_ */