home *** CD-ROM | disk | FTP | other *** search
/ BUG 15 / BUGCD1998_06.ISO / aplic / jbuilder / jruntime.z / DEBUG.H < prev    next >
Text File  |  1997-08-25  |  2KB  |  49 lines

  1. // $Header: z:/admin/JDK113CARL/javasrc/SRC/SHARE/JAVA/INCLUDE/rcs/DEBUG.H 1.1 1997/06/09 23:25:20 JVONSCHMACHT Exp $ 
  2. /*
  3.  * @(#)debug.h    1.11 96/11/23
  4.  * 
  5.  * Copyright (c) 1995, 1996 Sun Microsystems, Inc. All Rights Reserved.
  6.  * 
  7.  * This software is the confidential and proprietary information of Sun
  8.  * Microsystems, Inc. ("Confidential Information").  You shall not
  9.  * disclose such Confidential Information and shall use it only in
  10.  * accordance with the terms of the license agreement you entered into
  11.  * with Sun.
  12.  * 
  13.  * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
  14.  * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  15.  * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
  16.  * PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY DAMAGES
  17.  * SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
  18.  * THIS SOFTWARE OR ITS DERIVATIVES.
  19.  * 
  20.  * CopyrightVersion 1.1_beta
  21.  * 
  22.  */
  23.  
  24. /*
  25.  * Debugging hooks    1/22/92
  26.  */
  27.  
  28. #ifndef _DEBUG_H_
  29. #define _DEBUG_H_
  30.  
  31. #include <stdio.h>
  32. #include <stdarg.h>
  33.  
  34. extern void   DumpThreads(void);
  35. extern char * threadName(void*);
  36.  
  37. void panic (const char *, ...);
  38. #ifdef BORLAND_JVM
  39. extern void reportInitDebugEvent();
  40. extern void reportBreakPointDebugEvent(int pc, int* realOpCode);
  41. extern void reportThreadDeltaDebugEvent(int isCreate, /*sys_thread_t*/void *);
  42. extern void reportClassDeltaDebugEvent(int isCreate, /*ClassClass*/ void *);
  43. extern void reportStepDebugEvent(int pc);
  44. extern void reportBreakPointOpCodeChangeEvent(int pc, int newOpCode);
  45. extern int  reportSystemOutput(int isError, char* cp, int len);
  46. #endif
  47.  
  48. #endif /* !_DEBUG_H_ */
  49.